03 January, 2009

More Video Editing Ninja Moves with Linux

Generate uncompressed video from raw YUV stream.

$ ffmpeg -vcodec rawvideo -i input.yuv output.avi


Copy clip of video source.

$ mencoder input.avi -o output.avi -ovc copy -ss 1 -endpos 10


Convert to uncompressed raw video stream.

$ mencoder input.avi -ovc raw -of rawvideo -o output.avi


Downsample high quality video to grayscale.

$ mencoder input.avi -o output.avi -fps 30 -ofps 10 -vc scale=640:480 -nosound -ovc lavc -lavcopts vcodec=wmv2:gray


Conversion to Ogg/Theora container/codec:

$ ffmpeg2theora –videoquality 10 ./source.avi -o outVideo.ogg

1 comment:

runescape power leveling said...

i think the archive you wirte is very good, but i think it will be better if you can say more..hehe,love your blog,,,