Clip: http://www.dvdloc8.com/clip.php?movieid=13599&clipid=4
258Kbps, 6 channel AAC audio
I'm getting an error when running:
ffmpeg.exe -v verbose -i "c:\IAmLegend.mp4" -vn -ac 6 -ar 48000 -ab 192k -y "c:\test.aac"
[libvo_aacenc @ 03B66900] Unable to set encoding parameters
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
The command works with -ac 2. Why is it forcing me to down mix to two channels? I'm running ffmpeg N-34549-g13b7781
+ Reply to Thread
Results 1 to 6 of 6
-
-
But you can compile ffmpeg with different AAC encoders... how does it know to choose libvo_aacenc over libfaac for example ?
PS. I don't bother using either, because the quality is very poor compared to qaac or even nero -
Apparently, -acodec copy works. Any idea what's going on?
Here's the result without specifying the codec:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\IAmLegend.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2008-12-01 05:16:01
Duration: 00:02:03.24, start: 0.000000, bitrate: 8236 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x816 [SAR 1:1 DAR 40:17], 7979 kb/s, 23.98 fps, 23.98 tbr, 2500k tbn, 47.95 tbc
Metadata:
creation_time : 2008-12-01 04:50:08
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 258 kb/s
Metadata:
creation_time : 2008-12-01 05:16:04
handler_name : GPAC ISO Audio Handler
[libvo_aacenc @ 033E6900] Unable to set encoding parameters
Output #0, adts, to 'c:\test.aac':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2008-12-01 05:16:01
Stream #0:0(und): Audio: aac, 48000 Hz, 6 channels, s16, 96 kb/s
Metadata:
creation_time : 2008-12-01 05:16:04
handler_name : GPAC ISO Audio Handler
Stream mapping:
Stream #0:1 -> #0:0 (aac -> libvo_aacenc)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Here is the result with -acodec copy (this encodes successfully):
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'c:\IAmLegend.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2008-12-01 05:16:01
Duration: 00:02:03.24, start: 0.000000, bitrate: 8236 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x816 [SAR 1:1 DAR 40:17], 7979 kb/s, 23.98 fps, 23.98 tbr, 2500k tbn, 47.95 tbc
Metadata:
creation_time : 2008-12-01 04:50:08
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 258 kb/s
Metadata:
creation_time : 2008-12-01 05:16:04
handler_name : GPAC ISO Audio Handler
Output #0, adts, to 'c:\test.aac':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isom
creation_time : 2008-12-01 05:16:01
encoder : Lavf53.19.0
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, 258 kb/s
Metadata:
creation_time : 2008-12-01 05:16:04
handler_name : GPAC ISO Audio Handler
Stream mapping:
Stream #0:1 -> #0:0 (copy) -
Apparently, -acodec copy works. Any idea what's going on?
maybe libvo_aacenc doesn't support 5.1 ?
Similar Threads
-
MeGUI Encoding Error - Pretty sure it's from the Nero AAC
By therealDr.Nick in forum DVD RippingReplies: 9Last Post: 3rd Aug 2011, 18:58 -
meGUI Nero AAC encoding error
By ArtOfLosingMFZB in forum DVD RippingReplies: 4Last Post: 16th Aug 2010, 12:46 -
Audio out of sync problem with FFMPEG encoding MP4 (h.264,AAC)
By jenak1980 in forum Video ConversionReplies: 7Last Post: 5th May 2010, 01:03 -
Cannot Convert 6 Channel AAC to 2 Channel AAC - Help?
By Rez. in forum AudioReplies: 2Last Post: 3rd Dec 2009, 19:47 -
Properly encoding multi-channel AC-3 to multi-channel AAC
By PuzZLeR in forum AudioReplies: 1Last Post: 15th Nov 2007, 13:07