[FFmpeg-trac] #5973(ffmpeg:open): Regression: aac_adtstoasc bitstream filter leads to malformed AAC stream
FFmpeg
trac at avcodec.org
Tue Nov 22 02:55:48 EET 2016
#5973: Regression: aac_adtstoasc bitstream filter leads to malformed AAC stream
------------------------------------+----------------------------------
Reporter: zmwangx | Owner:
Type: defect | Status: open
Priority: important | Component: ffmpeg
Version: git-master | Resolution:
Keywords: regression | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 1 |
------------------------------------+----------------------------------
Changes (by jamrial):
* analyzed: 0 => 1
Comment:
This file doesn't even have adts encapsulated aac audio. Why are you
trying to use the adtstoasc bsf? Just do "ffmpeg -y -i
aac_adtstoasc_bsf_breaks_aac_stream.m4a -c copy filtered.m4a" and it will
work.
In any case, looks like the old bsf API did some extradata copy that
casually recovered the output extradata to its state before the
av_bsf_init() call, something that was evidently convenient with this bsf
for streams that were not ADTS encapsulated to begin with.
Since this bsf seems to have been written with the intention of passing
the packet as is in case no adts header is found, i guess this can be
considered a regression.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5973#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list