| 宇凡's profileBreak the LoopPhotosBlogLists | Help |
|
May 22 使用mencoder/ffmpeg处理Flash Video的几个常用命令将一下代码分别保存为flv_43.bat, flv_169.bat, screentshot.bat即可,当然,你得有最新版的mencoder/ffmpeg及相关视频码包。
一、压缩4:3的视频
mencoder.exe %1 -srate 22050 -oac mp3lame -lameopts br=32 -ovc lavc -lavcopts vcodec=flv:vbitrate=240 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -ffourcc FLV1 -of lavf -vop scale=320:240 -o %2
二、压缩16:9的视频,自动加上下黑框
mencoder.exe %1 -srate 22050 -oac mp3lame -lameopts br=32 -ovc lavc -lavcopts vcodec=flv:vbitrate=240 -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -ffourcc FLV1 -of lavf -vf scale=320:180,expand=320:240 -o %2
三、截图
ffmpeg -i %1 -ss 3 -vframes 1 -r 1 -ac 1 -ab 2 -f image2 %2 TrackbacksThe trackback URL for this entry is: http://ivanshi.spaces.live.com/blog/cns!ADB273797E368818!241.trak Weblogs that reference this entry
|
|
|