Skip to content

Commit c8a46d3

Browse files
Add nest opr (#55)
* feat(flow-rs): add opr * improvement(flow-plugin): use ffmpeg rev * fix(workflows): update build env Co-authored-by: MegEngine <[email protected]>
1 parent be14073 commit c8a46d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+1413
-1488
lines changed

.github/workflows/macos-x86-cpu.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ jobs:
2424
with:
2525
python-version: '3.8'
2626
architecture: 'x64'
27-
- run: cd $HOME && git clone https://github.com/tpoisonooo/rust-ffmpeg && cd rust-ffmpeg && git checkout dylib && cargo build
28-
- run: cat ${HOME}/megflow_ffmpeg_dynamic_link.sh
29-
- run: ls -alh `cat ${HOME}/megflow_ffmpeg_dynamic_link.sh | head -n 1`/lib/
27+
- run: cd $HOME && git clone https://github.com/tpoisonooo/rust-ffmpeg && cd rust-ffmpeg && cargo build --release
28+
- run: cat /tmp/megflow_ffmpeg_dynamic_link.sh
29+
- run: ls -alh `cat /tmp/megflow_ffmpeg_dynamic_link.sh | head -n 1`/lib/
3030
- run: echo 'export FFMPEG_DIR=`cat ${HOME}/megflow_ffmpeg_dynamic_link.sh | head -n 1`' >> $HOME/myenv
3131
- run: echo 'export CARGO_FEATURE_PREBUILD="PREBUILD"' >> $HOME/myenv
32+
- run: echo 'export CARGO_FEATURE_DYNAMIC="DYNAMIC"' >> $HOME/myenv
3233
- run: echo 'export LD_LIBRARY_PATH=${FFMPEG_DIR}/lib:${LD_LIBRARY_PATH}' >> $HOME/myenv
3334
- run: echo 'export PKG_CONFIG_PATH=${FFMPEG_DIR}/lib/pkgconfig:${PKG_CONFIG_PATH}' >> $HOME/myenv
3435
- run: chmod +x $HOME/myenv

.github/workflows/ubuntu-x86-cpu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ jobs:
2121
- run: sudo apt install -y libssl-dev
2222
- run: sudo apt update && sudo apt-get install -y pkg-config --fix-missing
2323
- run: sudo apt install -y libv4l-dev liblzma-dev
24-
- run: cd $HOME && git clone https://github.com/tpoisonooo/rust-ffmpeg && cd rust-ffmpeg && git checkout dylib && cargo build
25-
- run: echo 'export FFMPEG_DIR=`cat ${HOME}/megflow_ffmpeg_dynamic_link.sh | head -n 1`' >> $HOME/myenv
24+
- run: cd $HOME && git clone https://github.com/tpoisonooo/rust-ffmpeg && cd rust-ffmpeg && cargo build --release
25+
- run: echo 'export FFMPEG_DIR=`cat /tmp/megflow_ffmpeg_dynamic_link.sh | head -n 1`' >> $HOME/myenv
2626
- run: echo 'export CARGO_FEATURE_PREBUILD="PREBUILD"' >> $HOME/myenv
27+
- run: echo 'export CARGO_FEATURE_DYNAMIC="DYNAMIC"' >> $HOME/myenv
2728
- run: echo 'export LD_LIBRARY_PATH=${FFMPEG_DIR}/lib:${LD_LIBRARY_PATH}' >> $HOME/myenv
2829
- run: echo 'export PKG_CONFIG_PATH=${FFMPEG_DIR}/lib/pkgconfig:${PKG_CONFIG_PATH}' >> $HOME/myenv
2930
- run: chmod +x $HOME/myenv

ACKNOWLEDGEMENTS

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
MegFlow application refers:
2+
* [MegEngine](https://github.com/megengine/megengine)
3+
* [Models](https://github.com/megengine/models)
4+
* [onnx](https://github.com/onnx/onnx)
5+
* [YOLOX](https://github.com/Megvii-BaseDetection/YOLOX)
6+
* [AlignedReID](https://github.com/huanghoujing/AlignedReID-Re-Production-Pytorch)
7+
* [MEMD](https://github.com/megvii-research/MEMD)
8+
9+
MegFlow visualization refers:
10+
* [flv.js](http://bilibili.github.io/flv.js/demo/)
11+
12+
MegFlow Python:
13+
* [OpenCV](https://github.com/opencv/opencv)
14+
* [numpy](https://github.com/numpy/numpy)
15+
* [loguru](https://pypi.org/project/loguru/)
16+
* [scipy](https://github.com/scipy/scipy)
17+
* [redis](https://github.com/redis/redis)
18+
19+
MegFlow Rust refers:
20+
* [anyhow](https://github.com/dtolnay/anyhow)
21+
* [async-std](https://github.com/async-rs/async-std)
22+
* [async-channel](https://github.com/smol-rs/async-channel)
23+
* [clap](https://github.com/clap-rs/clap)
24+
* [concurrent-queue](https://github.com/stjepang/concurrent-queue)
25+
* [ctrlc](https://github.com/Detegr/rust-ctrlc.git)
26+
* [ctor](https://github.com/mmastrac/rust-ctor)
27+
* [dyn-clone](https://github.com/dtolnay/dyn-clone)
28+
* [event-listener](https://github.com/stjepang/event-listener)
29+
* [ffmpeg-next](https://github.com/zmwangx/rust-ffmpeg)
30+
* [hyper](https://github.com/bluss/hyper)
31+
* [headers](https://github.com/bluss/headers)
32+
* [image](https://github.com/image-rs/image)
33+
* [indexmap](https://github.com/bluss/indexmap)
34+
* [lazy-static](https://github.com/rust-lang-nursery/lazy-static.rs)
35+
* [mime](https://github.com/hyperium/mime)
36+
* [numpy](https://github.com/rust-numpy/rust-numpy)
37+
* [oneshot](https://github.com/faern/oneshot)
38+
* [proc-macro2](https://github.com/dtolnay/proc-macro2)
39+
* [pretty-env-logger](https://github.com/seanmonstar/pretty-env-logger)
40+
* [pyo3](https://github.com/pyo3/pyo3)
41+
* [quote](https://github.com/dtolnay/quote)
42+
* [rand](https://github.com/rust-random/rand)
43+
* [rweb](https://github.com/kdy1/rweb)
44+
* [serde](https://github.com/serde-rs/serde)
45+
* [serde_json](https://github.com/serde-rs/json)
46+
* [stackful](https://github.com/nbdd0121/stackful)
47+
* [syn](https://github.com/dtolnay/syn)
48+
* [toml](https://github.com/alexcrichton/toml-rs)
49+
* [urlencoding](https://github.com/kornelski/urlencoding)
50+
* [warp](https://github.com/seanmonstar/warp)

0 commit comments

Comments
 (0)