Difference between revisions of "Video Processing Tools"
From NMSL
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== FFprobe SVN r92 == | == FFprobe SVN r92 == | ||
+ | |||
+ | *Check out the code | ||
+ | <code><pre> | ||
+ | svn co https://ffprobe.svn.sourceforge.net/svnroot/ffprobe/trunk/ | ||
+ | </pre></code> | ||
+ | * build and install FFprobe | ||
+ | <code><pre> | ||
+ | make | ||
+ | sudo make install | ||
+ | </pre></code> | ||
+ | *use FFprobe to get information about the streams. The command below will show the frame type and its order in the stream | ||
<code><pre> | <code><pre> | ||
ffprobe -show_frames -pretty /home/rch3/Videos/BG_11369.mpg | grep 'pict_type\|coded_picture_number' | ffprobe -show_frames -pretty /home/rch3/Videos/BG_11369.mpg | grep 'pict_type\|coded_picture_number' |
Latest revision as of 18:25, 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
- 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