[FFmpeg-user] "target" commands don't seem to work any more.
bat guano
batguano999 at hotmail.com
Sat Jun 4 04:29:14 CEST 2011
Hi
I used to be able to convert files to DVD format using commands like this:-
ffmpeg -i foo -target pal-dvd foo.mpg
But when I try that now I get an error like this:-
Invalid encoder type 'ac3
There are errors with all these commands:-
ffmpeg -i foo -target dvd foo.mpg
Invalid encoder type 'ac3'
ffmpeg -i foo -target pal-dvd foo.mpg
Invalid encoder type 'ac3'
ffmpeg -i foo -target vcd foo.mpg
Invalid encoder type 'mp2'
ffmpeg -i foo -target pal-vcd foo.mpg
Invalid encoder type 'mp2'
I know that both my ac3 and mp2 encoders work OK.
So has something changed recently with the 'target' commands?
***********************************
This is the output when using "-target pal-dvd"
@ubuntu:~$ ffmpeg -i foo -target pal-dvd foo.mpg
ffmpeg version git-N-30508-gc1daf07, Copyright (c) 2000-2011 the FFmpeg developers
built on Jun 3 2011 20:17:25 with gcc 4.4.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab --disable-encoder=vorbis --enable-libvo-amrwbenc --enable-libvo-aacenc
libavutil 51. 4. 0 / 51. 4. 0
libavcodec 53. 6. 1 / 53. 6. 1
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 1. 0 / 53. 1. 0
libavfilter 2. 12. 0 / 2. 12. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 25.00 (25/1)
Input #0, asf, from 'foo':
Metadata:
duration : 270
lasttimestamp : 270
datasize : 26326655
metadatacreator : FlixEngineLinux_8.0.16.0 (www.on2.com)
canSeekToEnd : true
videocodecid : 4
width : 640
height : 360
videodatarate : 698
framerate : 24
videosize : 24163299
audiocodecid : 2
audiodatarate : 63
audiosize : 2163356
encoder : Lavf53.2.0
Duration: 00:04:30.41, start: 0.000000, bitrate: 1202 kb/s
Stream #0.0: Video: wmv2, yuv420p, 640x360, 25 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: wmav2, 44100 Hz, 2 channels, s16, 160 kb/s
Invalid encoder type 'ac3'
More information about the ffmpeg-user
mailing list