ffmpeg Settings for HTML5 codecsAdmin 2012年6月25日 REM mp4 (H.264 / ACC) ffmpeg.exe -i %1 -b 1500k -vcodec libx264 -vpre slow -vpre baseline -g 30 -s 640 x360 %1.mp4 REM webm (VP8 / Vorbis) ffmpeg.exe -i %1 -b 1500k -vcodec libvpx -acodec libvorbis -ab 160000 -f webm -g 30 -s 640 x360 %1.webm REM ogv (Theora / Vorbis) ffmpeg.exe -i %1 -b 1500k -vcodec libtheora -acodec libvorbis -ab 160000 -g 30 -s 640 x360 %1.ogv REM jpeg (screenshot at 10 seconds) ffmpeg.exe -i %1 -ss 00:10 -vframes 1 -r 1 -s 640 x360 -f image2 %1.jpg
|
|