[FFmpeg-trac] #10118(avcodec:new): AC3 decoding throws error number -16976906 ... vlc plays well
FFmpeg
trac at avcodec.org
Fri Dec 23 21:00:08 EET 2022
#10118: AC3 decoding throws error number -16976906 ... vlc plays well
-------------------------------------+-------------------------------------
Reporter: mvelanka | Type: defect
Status: new | Priority: normal
Component: avcodec | Version:
Keywords: | unspecified
AAC_AC3_PARSE_ERROR_SYNC | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I intend to transcode an mpeg ts file such that I copy the video as it is
but the audio will be encoded to aac ...so that I can play it in the
browser. Please see the attached TS file.
I use the following ffmpeg command to attempt that
How to reproduce:
{{{
ffmpeg -i ff_vlc.ts -vcodec copy -acodec aac -map 0:v:0 -map 0:a:0
ff_vlc_2.ts
ffmpeg version N-109444-geef763c705 Copyright (c) 2000-2022 the FFmpeg
developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --enable-openssl
libavutil 57. 43.100 / 57. 43.100
libavcodec 59. 55.103 / 59. 55.103
libavformat 59. 34.102 / 59. 34.102
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 53.100 / 8. 53.100
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
[mpegts @ 0x55b4369b2440] Could not find codec parameters for stream 1
(Audio: ac3 ([129][0][0][0] / 0x0081), stereo, fltp): unspecified sample
rate
Consider increasing the value for the 'analyzeduration' (0) and
'probesize' (5000000) options
Input #0, mpegts, from 'ff_vlc.ts':
Duration: 00:10:00.02, start: 1.400000, bitrate: 1839 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, progressive), 856x480 [SAR 320:321 DAR 16:9], 30 fps,
59.94 tbr, 90k tbn
Stream #0:1[0x101](spa): Audio: ac3 ([129][0][0][0] / 0x0081), stereo,
fltp
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
Error while decoding stream #0:1: Error number -16976906 occurred
Last message repeated 17065 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
Last message repeated 2 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
Last message repeated 2 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
Last message repeated 2 times
....
....
....(repetitive output clipped and removed)
....
....
Last message repeated 2 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
Last message repeated 2 times
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Error while decoding stream #0:1: Error number -16976906 occurred
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
Too many packets buffered for output stream 0:0.
Error submitting a packet to the muxer for output stream #0:0.
[abuffer @ 0x56289e5ab100] Value inf for parameter 'time_base' out of
range [0 - 2.14748e+09]
Last message repeated 1 times
[abuffer @ 0x56289e5ab100] Error setting option time_base to value 1/0.
[graph_0_in_0_1 @ 0x5628a3f5e800] Error applying options to the filter.
Error reinitializing filters!
Error while filtering: Numerical result out of range
Finishing stream 0:1 without any data written to it.
[abuffer @ 0x56289b2b89c0] Value inf for parameter 'time_base' out of
range [0 - 2.14748e+09]
Last message repeated 1 times
[abuffer @ 0x56289b2b89c0] Error setting option time_base to value 1/0.
[graph_0_in_0_1 @ 0x56289a63e780] Error applying options to the filter.
Error configuring filter graph
Conversion failed!
}}}
When I play this original ts file in VLC player there is no problem
whatsoever. I can even verify the AC3 codec in VLC properly
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10118>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list