From: W. Trevor King Date: Thu, 4 Aug 2011 03:31:01 +0000 (-0400) Subject: Adjust ffmpeg signature in video post to track changing preset syntax. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=87132fbefee4bd25dd3bd89746630d5c6af0bf02;p=blog.git Adjust ffmpeg signature in video post to track changing preset syntax. --- diff --git a/posts/video.mdwn b/posts/video.mdwn index a5e5b02..c70a4a9 100644 --- a/posts/video.mdwn +++ b/posts/video.mdwn @@ -18,7 +18,7 @@ Encode your movie with something like (tagging flags removed) ffmpeg2theora --endtime 120 --optimize movie.mov ffmpeg -i movie.mov -t 120 -acodec libfaac -aq 200 -ac 1 -s - 640x480 -vcodec libx264 -vpre slower -vpre ipod640 -b 800k -bt + 640x480 -vcodec libx264 -preset slower -vpre ipod640 -b 800k -bt 800k -aspect 640:480 -threads 0 movie.mp4 For `-vpre`, take a look in `/usr/share/ffmpeg/`, which usually @@ -28,6 +28,11 @@ baseling H.264 [should be][H264]: * H.264 Baseline: `avc1.42E0xx`, where xx is the AVC level * Low-Complexity AAC: mp4a.40.2 +The `slower` preset used to be a `vpre` file, but [became a `-preset` +option][preset-slower] 30 commits before the 0.7.1 release. The +preset options came in [one commit eariler][preset], but this doesn't +seem to have percolated through to the `man` page yet. + You should use ffmpeg2theora v0.26 or greater, as v0.25 has audio/visual syncing issues. @@ -52,3 +57,5 @@ To embed the movie, include something like: [VLC]: http://www.videolan.org/vlc/ [H264]: http://wiki.whatwg.org/wiki/Video_type_parameters [ipod]: http://rob.opendot.cl/index.php/useful-stuff/ipod-video-guide/ +[preset-slower]: http://git.videolan.org/?p=ffmpeg.git;a=commit;h=14360e078326f482d5ae39fe4d2e6038118c95ed +[preset]: http://git.videolan.org/?p=ffmpeg.git;a=commit;h=0140d3f0921e5cbb6ea8706acb0307f7ff57a133