Showing posts with label codec. Show all posts
Showing posts with label codec. Show all posts

Tuesday, November 22, 2011

The Dark Art of Video Codecs

Encode as mpeg2 audio mpeg1 video-

ffmpeg

INPUT        :-i s.avi 
AUDIO CODEC  :-acodec mp2 
VIDEO CODEC  :-vcodec mpeg1video 
VIDEO BITRATE:-vb 1000k 
OUTPUT       :s.mpg
ffmpeg -i s.avi -acodec mp2 -vcodec mpeg1video -vb 1000k s.mpg

Ben Rousch Video Editing References:

http://clusterbleep.net/blog/2010/06/25/video-editing-on-linux-part-1/ http://brousch.orthicomp.com/files/video-editing-on-linux-part1.pdf

Anything -> MPEG2
    ffmpeg -i  -vcodec mpeg2video -sameq -r  -acodec mp2 outfile.mpg

Anything -> MPEG4
    ffmpeg -i  -vcodec mpeg4 -sameq -r  -acodec libfaac outfile.mp4

Anything -> H264
    ffmpeg -i  -vcodec libx264 -sameq -r  -acodec libfaac outfile.mp4

Related: 
Transmageddon Video Converter Linux Video Format Convertor
Handbrake - DVD Rip to MKV, M4v
Openshot - Video Editor with export