Penguin

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

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

Newer page: version 10 Last edited on Saturday, June 6, 2009 12:51:39 am by JohnBillings Revert
Older page: version 9 Last edited on Wednesday, May 27, 2009 12:32:21 am by LawrenceDoliveiro Revert
@@ -20,8 +20,22 @@
  
 The ''mapping-options'' allow the specification of which streams from whicn input file(s) are mapped onto which streams in the output file(s). These are only necessary if FFmpeg can't figure out the right thing to do. 
  
 !Tips 
+  
+Extract an audio file from an MP4 video file:  
+  
+ffmpeg -i Videofile.mp4 -vn -acodec mp3 audiofile.mp3  
+  
+Result on Ubuntu 9.04:  
+  
+Unknown encoder 'mp3'  
+  
+Fail!  
+  
+You could follow the advice [https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/296922|in this bug report], but why bother. Just do this:  
+  
+ffmpeg -i Videofile.mp4 -vn -acodec vorbis audiofile.ogg  
  
 Extract a single video frame into a JPEG file: 
  
 <pre>