Opened 8 years ago
Last modified 7 years ago
#7653 new defect
After upgrading libfdk-aac to 2.0.0, encoding fails
| Reported by: | Kai M. | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | libfdk-aac |
| Cc: | squ+ffmpeg@tent.at | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Summary of the bug:
After upgrading from libfdk-aac 0.1.6 to 2.0.0 (released 2018-11-22), encoding fails with no output written. On exiting, a message like "[libfdk_aac @ 0x55a786462900] 613 frames left in the queue on closing" is given.
How to reproduce:
% ./ffmpeg -i input.mp2 -c:a libfdk_aac output.mp4
ffmpeg version N-92923-ge0686318dd Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20181127
configuration: --enable-libfdk_aac --enable-nonfree
libavutil 56. 25.100 / 56. 25.100
libavcodec 58. 43.100 / 58. 43.100
libavformat 58. 25.100 / 58. 25.100
libavdevice 58. 6.101 / 58. 6.101
libavfilter 7. 46.101 / 7. 46.101
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
[mpegts @ 0x55c1238006c0] PES packet size mismatch
Input #0, mpegts, from 'input.mp2':
Duration: 00:00:19.34, start: 21905.600400, bitrate: 220 kb/s
Program 1
Metadata:
service_name : BBC R2
service_provider: BSkyB
Stream #0:0[0x189d](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (mp2 (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
Output #0, mp4, to 'output.mp4':
Metadata:
encoder : Lavf58.25.100
Stream #0:0(eng): Audio: aac (libfdk_aac) (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 139 kb/s
Metadata:
encoder : Lavc58.43.100 libfdk_aac
[mpegts @ 0x55c1238006c0] PES packet size mismatch
size= 1kB time=00:00:00.00 bitrate=N/A speed= 0x
video:0kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 106.048386%
[libfdk_aac @ 0x55c123807540] 909 frames left in the queue on closing
After downgrading the library to 0.1.6, encoding works as expected.
Change History (3)
comment:1 by , 8 years ago
| Cc: | added |
|---|---|
| Version: | unspecified → git-master |
comment:2 by , 8 years ago
| Component: | undetermined → avcodec |
|---|
comment:3 by , 7 years ago
Note:
See TracTickets
for help on using tickets.



Can you update the test clip, I can't reproduce in local test file