Difference between revisions of "Video Processing Tools"

From NMSL
Line 7: Line 7:
 
== I-Frame Extractor ==
 
== I-Frame Extractor ==
  
*You will need these Libraries:
+
*You will need these FFmpeg static libraries:
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libavformat.a libavformat.a]
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libavformat.a libavformat.a]
 
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libavdevice.a libavdevice.a]
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libavdevice.a libavdevice.a]
 
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libavcodec.a libavcodec.a]
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libavcodec.a libavcodec.a]
 
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libswscale.a libswscale.a]
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libswscale.a libswscale.a]
 
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libavutil.a libavutil.a]
 
**[https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/ffmpeg_static_libraries/libavutil.a libavutil.a]
  
 
+
* Here is the source code: [https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/Source%20Code/I-FrameExtractor.c I-FrameExtractor.c]
* [https://cs-nsl-svn.cs.surrey.sfu.ca/cssvn/nsl-members/harvey/thesis/VideoCopyDetection/Source%20Code/SignatureBuilder.c I-frame Extractor]
 
  
 
*Compile:  
 
*Compile:  
 
<code><pre>
 
<code><pre>
gcc -o extractor I-FrameExtractor.c  /usr/local/lib/libavformat.a /usr/local/lib/libavdevice.a /usr/local/lib/libavcodec.a /usr/local/lib/libswscale.a /usr/local/lib/libavutil.a -lm -lpthread -lfaac -lz -lmp3lame -lopencore-amrnb -lopencore-amrwb -lvorbis -lvpx -lx264 -ltheoradec -ltheoraenc -lvorbisenc -lxvidcore -lbz2 -lasound -ljack -lgdk-x11-2.0 -w
+
gcc -o extractor I-FrameExtractor.c  path_to_library_folder/libavformat.a path_to_library_folder/libavdevice.a path_to_library_folder/libavcodec.a path_to_library_folder/libswscale.a path_to_library_folder/libavutil.a -lm -lpthread -lfaac -lz -lmp3lame -lopencore-amrnb -lopencore-amrwb -lvorbis -lvpx -lx264 -ltheoradec -ltheoraenc -lvorbisenc -lxvidcore -lbz2 -lasound -ljack -lgdk-x11-2.0 -w
 
</pre></code>
 
</pre></code>

Revision as of 18:02, 8 March 2011

FFmpeg

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video. It includes libavcodec - the leading audio/video codec library

FFprobe SVN r92

I-Frame Extractor

  • Compile:
gcc -o extractor I-FrameExtractor.c   path_to_library_folder/libavformat.a path_to_library_folder/libavdevice.a path_to_library_folder/libavcodec.a path_to_library_folder/libswscale.a path_to_library_folder/libavutil.a -lm -lpthread -lfaac -lz -lmp3lame -lopencore-amrnb -lopencore-amrwb -lvorbis -lvpx -lx264 -ltheoradec -ltheoraenc -lvorbisenc -lxvidcore -lbz2 -lasound -ljack -lgdk-x11-2.0 -w