Video Processing Tools
From NMSL
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
- Check out the code
svn co https://ffprobe.svn.sourceforge.net/svnroot/ffprobe/trunk/
- build and install FFprobe
make
sudo make install
- use FFprobe to get information about the streams. The command below will show the frame type and its order in the stream
ffprobe -show_frames -pretty /home/rch3/Videos/BG_11369.mpg | grep 'pict_type\|coded_picture_number'
I-Frame Extractor
- You will need these FFmpeg static libraries:
- Here is the source code: I-FrameExtractor.c
- 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