Differences between revisions 7 and 8
Revision 7 as of 2012-08-19 11:38:19
Size: 692
Editor: CarlNobile
Comment:
Revision 8 as of 2012-08-19 11:38:46
Size: 696
Editor: CarlNobile
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
tcprobe -i filename.avi $ tcprobe -i filename.avi
Line 26: Line 26:
ffmpeg -i InputFile.avi -ab <audio bitrate> -b <video bitrate> -vcodec mpeg4 OutputFile.mp4 $ ffmpeg -i InputFile.avi -ab <audio bitrate> -b <video bitrate> -vcodec mpeg4 OutputFile.mp4

Video Format Conversion

Find video information

$ mplayer -vo null -ao null -identify -frames 0 filename.avi

$ ffmpeg -i filename.avi

$ tcprobe -i filename.avi

Convert file types

This is real simple and only needs one line.

$ ffmpeg -i filename.ext -ab <audio bitrate> -b <video bitrate> -s <change to what you want ex.320x240> filename.ext

The two .ext extensions should obviously be different. Also, the new size -s could be whatever you want.

To keep the size the same but just convert.

$ ffmpeg -i InputFile.avi -ab <audio bitrate> -b <video bitrate> -vcodec mpeg4 OutputFile.mp4

VideoFormatConversion (last edited 2013-09-27 21:49:08 by CarlNobile)