Penguin

Differences between version 8 and predecessor to the previous major change of FFmpeg.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 8 Last edited on Tuesday, May 26, 2009 9:46:10 pm by LawrenceDoliveiro Revert
Older page: version 7 Last edited on Thursday, June 21, 2007 8:48:15 pm by LawrenceDoliveiro Revert
@@ -9,9 +9,9 @@
 where each ''input-spec'' consists of 
  
 -i ''input-filename'' 
  
-possibly preceded by options that apply to that input file, and each ''output-spec'' consists of 
+possibly preceded by options that apply to that input file (e.g. overriding format, sample rate etc if FFmpeg guesses wrong) , and each ''output-spec'' consists of 
  
 ''output-filename'' 
  
 possibly preceded by options to be applied in generating that output file. 
@@ -23,13 +23,13 @@
 !Tips 
  
 Extract a single video frame into a JPEG file: 
  
-ffmpeg -ss ''hh'':''mm'':''ss'':''cc'' -t 00:00:00: 01 -i ''input-filename'' -f mjpeg ''output-name''.jpeg 
+ffmpeg -ss ''hh'':''mm'':''ss'':''cc'' -t 00:00:00. 01 -i ''input-filename'' -f mjpeg ''output-name''.jpeg 
  
 For example, extract the frame at time 3 minutes and 51.04 seconds into the input video file: 
  
-ffmpeg -ss 00:03:51.04 -t 00:00:00: 01 -i my-doggie.mpg -f mjpeg 
+ffmpeg -ss 00:03:51.04 -t 00:00:00. 01 -i my-doggie.mpg -f mjpeg 
 my-doggie-thumbnail.jpeg 
  
 Generate a specified duration of silence: 
  
@@ -46,13 +46,13 @@
 Generate a static background suitable for a non-animated [DVD-Video|DVDVideo] menu. This takes a single still frame (probably best to stick to [JPEG] format, certainly [PNG] didn't work) and turns it into an [MPEG]-2 output movie with a silent soundtrack. The movie is of one-second duration, which is sufficient because it can be set to loop during the DVD authoring process: 
  
 <pre> 
  ffmpeg -loop_input -t 1.0 -i ''stillframename'' \ 
- -ar 48000 -f s16le -i <(dd if=/dev/zero bs=19200 count=1) \ 
+ -ar 48000 -f s16le -i <(dd if=/dev/zero bs=192000 count=1) \ 
  -target pal-dvd ''outputmoviename'' 
  </pre> 
  
 where <tt>pal-dvd</tt> can be replaced with <tt>ntsc-dvd</tt> if authoring an NTSC disc rather than PAL. 
  
 Links: 
 * [FFmpeg home|http://ffmpeg.mplayerhq.hu/] 
 * [libamr home page|http://www.penguin.cz/~utx/amr] -- needed for audio encoding if you're making 3GPP movies to play on cell phones. Recent versions of FFmpeg no longer expect the AMR source code to be inserted into the FFmpeg source tree.