Skip to content

Commit a4fb4b8

Browse files
UPDATE README
1 parent e85a682 commit a4fb4b8

File tree

224 files changed

+4
-3953685
lines changed

Some content is hidden

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

224 files changed

+4
-3953685
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ A simple tool to extract motion vectors from mpeg videos.
1818

1919
1. `git clone https://github.com/jishnujayakumar/MV-Tractus.git`
2020
2. `cd MV-Tractus`
21-
3. Install FFmpeg using the link [here](http://embedonix.com/articles/linux/installing-ffmpeg-from-source-on-ubuntu-14-0-4/) OR `./install_ffmpeg.sh`
21+
3. `./install_ffmpeg.sh` (You can also install FFmpeg using the link [here](http://embedonix.com/articles/linux/installing-ffmpeg-from-source-on-ubuntu-14-0-4/))
2222
4. `sudo cp ffmpeg.conf /etc/ld.so.conf.d/ffmpeg.conf && sudo ldconfig`
23-
5. Use the compile_command.txt to generate the binary file.
24-
6. Create a directory (output) and a sub-directory (output/mv/) within the current directory. (i.e. './output/mv/') only for the first time.
23+
5. `./compile` OR You can use the compile_command.txt to generate the binary file.
24+
6. mkdir -p output/mv/
2525
7. `./extract_mvs <video-file-path>`.
2626
8. And there you go. The output will be saved in './output/mv/'.
2727

compile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gcc -o extract_mvs extract_mvs.c -lavcodec -lavformat -lavutil -lavdevice -lswresample -lswscale -L/opt/dev-tools-sources/ffmpeg/build/lib -I/opt/dev-tools-sources/ffmpeg/build/include -l json -w

output/mv/1.json

-2
This file was deleted.

0 commit comments

Comments
 (0)