Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2652 closed defect (invalid)

Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

Reported by: heubergen Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

% /Users/***/Desktop/ffmpeg -i /Users/***/Desktop/Its.Kind.Of.A.Funny.Story.2010.HDRip.AC3.German.XviD-POE/poe-ikoafs.avi -c:v h264 -f mp4 -c:a libvo_aacenc /Users/***/Desktop/Its.Kind.Of.A.Funny.Story.2010.HDRip.AC3.German.XviD-POE/poe-ikoafs.mp4
N-53696-g77ae6a1-tessus
built on May 28 2013 02:40:37 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)

Problem:
All convert aborted with that error message, I try it with five several movies.

Change History (5)

comment:1 by Carl Eugen Hoyos, 11 years ago

Component: FFmpegundetermined
Priority: criticalnormal

Please provide your failing command line together with the complete, uncut console output to make this a valid ticket.

comment:2 by heubergen, 11 years ago

Oh Sorry, here are the complete log:
Last login: Sat Jun 8 11:48:57 on ttys000
You have new mail.
XXX-XXX-MacBook-Pro:~ XXX$ /Users/XXX/Desktop/ffmpeg -i /Users/XXX/Desktop/4.3.2.1.2010.German.DTS.DL.720p.BluRay.x264-LeetHD.mkv -c:v libx264 -f mp4 -c:a libvo_aacenc /Users/XXX/Desktop/4.3.2.1.2010.German.DTS.DL.720p.BluRay.x264-LeetHD.mp4
ffmpeg version N-53696-g77ae6a1-tessus Copyright (c) 2000-2013 the FFmpeg developers

built on May 28 2013 02:40:37 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
configuration: --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-fontconfig --enable-libfreetype --enable-libass --enable-filters --enable-runtime-cpudetect
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 12.100 / 55. 12.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 72.100 / 3. 72.100
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100

Input #0, matroska,webm, from '/Users/XXX/Desktop/4.3.2.1.2010.German.DTS.DL.720p.BluRay.x264-LeetHD.mkv':

Metadata:

creation_time : 2011-09-03 17:15:26

Duration: 01:56:42.04, start: 0.000000, bitrate: 8271 kb/s

Chapter #0.0: start 0.000000, end 439.916000
Metadata:

title : Chapter 01

Chapter #0.1: start 439.916000, end 1083.708000
Metadata:

title : Chapter 02

Chapter #0.2: start 1083.708000, end 1687.666000
Metadata:

title : Chapter 03

Chapter #0.3: start 1687.666000, end 2216.833000
Metadata:

title : Chapter 04

Chapter #0.4: start 2216.833000, end 2798.208000
Metadata:

title : Chapter 05

Chapter #0.5: start 2798.208000, end 3393.291000
Metadata:

title : Chapter 06

Chapter #0.6: start 3393.291000, end 4052.000000
Metadata:

title : Chapter 07

Chapter #0.7: start 4052.000000, end 4746.833000
Metadata:

title : Chapter 08

Chapter #0.8: start 4746.833000, end 5291.083000
Metadata:

title : Chapter 09

Chapter #0.9: start 5291.083000, end 5858.791000
Metadata:

title : Chapter 10

Chapter #0.10: start 5858.791000, end 6554.500000
Metadata:

title : Chapter 11

Chapter #0.11: start 6554.500000, end 7001.541000
Metadata:

title : Chapter 12

Chapter #0.12: start 7001.541000, end 7002.042000
Metadata:

title : Chapter 13

Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x544 [SAR 1:1 DAR 40:17], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)
Stream #0:1(ger): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default)
Stream #0:2(eng): Audio: dts (DTS), 48000 Hz, 5.1(side), fltp, 1536 kb/s
Stream #0:3(ger): Subtitle: dvd_subtitle (default) (forced)
Metadata:

title : FORCED

Stream #0:4(ger): Subtitle: dvd_subtitle

[libx264 @ 0x102018000] using SAR=1/1
[libx264 @ 0x102018000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.1 Cache64
[libx264 @ 0x102018000] profile High, level 3.1
[libx264 @ 0x102018000] 264 - core 130 r481 3a1e20c - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[libvo_aacenc @ 0x102018e00] Unable to set encoding parameters
Output #0, mp4, to '/Users/XXX/Desktop/4.3.2.1.2010.German.DTS.DL.720p.BluRay.x264-LeetHD.mp4':

Chapter #0.0: start 0.000000, end 439.916000
Metadata:

title : Chapter 01

Chapter #0.1: start 439.916000, end 1083.708000
Metadata:

title : Chapter 02

Chapter #0.2: start 1083.708000, end 1687.666000
Metadata:

title : Chapter 03

Chapter #0.3: start 1687.666000, end 2216.833000
Metadata:

title : Chapter 04

Chapter #0.4: start 2216.833000, end 2798.208000
Metadata:

title : Chapter 05

Chapter #0.5: start 2798.208000, end 3393.291000
Metadata:

title : Chapter 06

Chapter #0.6: start 3393.291000, end 4052.000000
Metadata:

title : Chapter 07

Chapter #0.7: start 4052.000000, end 4746.833000
Metadata:

title : Chapter 08

Chapter #0.8: start 4746.833000, end 5291.083000
Metadata:

title : Chapter 09

Chapter #0.9: start 5291.083000, end 5858.791000
Metadata:

title : Chapter 10

Chapter #0.10: start 5858.791000, end 6554.500000
Metadata:

title : Chapter 11

Chapter #0.11: start 6554.500000, end 7001.541000
Metadata:

title : Chapter 12

Chapter #0.12: start 7001.541000, end 7002.042000
Metadata:

title : Chapter 13

Stream #0:0(eng): Video: h264 (libx264), yuv420p, 1280x544 [SAR 1:1 DAR 40:17], q=-1--1, 90k tbn, 24 tbc (default)
Stream #0:1(ger): Audio: aac, 48000 Hz, 5.1(side), s16, 128 kb/s (default)

Stream mapping:

Stream #0:0 -> #0:0 (h264 -> libx264)
Stream #0:1 -> #0:1 (dca -> libvo_aacenc)

Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

in reply to:  2 comment:3 by Carl Eugen Hoyos, 11 years ago

Resolution: invalid
Status: newclosed

Replying to heubergen:

[libvo_aacenc @ 0x102018e00] Unable to set encoding parameters

Use either the native experimental aac encoder (which has higher quality than libvo_aacenc) or libfaac or libfdk_aac to encode 5.1 aac.

Please understand that this is a bug tracker, not a support forum, use the ffmpeg-user mailing list for future questions, see also http://ffmpeg.org/contact.html

comment:4 by heubergen, 11 years ago

Thanks, with the native encoder, that works.

And when I see a error message, I think that are a bug and not a case for the supporter forum!

in reply to:  4 comment:5 by Carl Eugen Hoyos, 11 years ago

Replying to heubergen:

And when I see a error message, I think that are a bug and not a case for the supporter forum!

This is generally not correct (on the contrary).

Note: See TracTickets for help on using tickets.