Tag-Archive for » ffmpeg «

Samedi, septembre 27th, 2008 | Author: admin

Few usefull video snippets.

Grabbing from DV cam, autosplitting scenes :

dvgrab -- autosplit -timestamp –format=dv2 video

Deinterlacing :

ffmpeg -i in-dv.avi -deinterlace -vcodec huffyuv -pix_fmt yuv422p -target pal-dvd out.avi

Flv encoding :

ffmpeg -i input.avi -ar 22050 -ab 64 -aspect 4:3 -b 768k -pass 1 -f flv -s 640x480 -acodec mp3 output.flv
then again with -pass 2.

Another solution :
mencoder out.avi -o out.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 22050 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames

Category: sysadmin, video  | Tags: , , ,  | Leave a Comment