Skip to content

Commit

Permalink
UPDATE README
Browse files Browse the repository at this point in the history
  • Loading branch information
jishnujayakumar committed Oct 21, 2018
1 parent e85a682 commit a4fb4b8
Show file tree
Hide file tree
Showing 224 changed files with 4 additions and 3,953,685 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ A simple tool to extract motion vectors from mpeg videos.

1. `git clone https://github.com/jishnujayakumar/MV-Tractus.git`
2. `cd MV-Tractus`
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`
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/))
4. `sudo cp ffmpeg.conf /etc/ld.so.conf.d/ffmpeg.conf && sudo ldconfig`
5. Use the compile_command.txt to generate the binary file.
6. Create a directory (output) and a sub-directory (output/mv/) within the current directory. (i.e. './output/mv/') only for the first time.
5. `./compile` OR You can use the compile_command.txt to generate the binary file.
6. mkdir -p output/mv/
7. `./extract_mvs <video-file-path>`.
8. And there you go. The output will be saved in './output/mv/'.

Expand Down
1 change: 1 addition & 0 deletions compile
Original file line number Diff line number Diff line change
@@ -0,0 +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
2 changes: 0 additions & 2 deletions output/mv/1.json

This file was deleted.

Loading

0 comments on commit a4fb4b8

Please sign in to comment.