[FFmpeg-trac] #7200(avcodec:open): Assertion failure with h264_metadata bsf (was: FFmpeg crash when use cbs to remove AUD)
FFmpeg
trac at avcodec.org
Fri May 11 06:19:19 EEST 2018
#7200: Assertion failure with h264_metadata bsf
------------------------------------+-----------------------------------
Reporter: mypopy | Owner:
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Changes (by jamrial):
* status: new => open
* reproduced: 0 => 1
Comment:
No need to remove AUD NALus, running the file through the h264_metadata
bsf is enough.
{{{
$ ./ffmpeg -i test.ts -c:v copy -bsf:v h264_metadata -f mp4 NUL
ffmpeg version N-91064-g89a04472a7 Copyright (c) 2000-2018 the FFmpeg
developers
built with gcc 7.3.0 (Rev2, Built by MSYS2 project)
configuration: --enable-gpl --enable-nonfree --enable-opencl --enable-
libaom --enable-libopenjpeg --enable-libzimg --enable-libfdk-aac --enable-
libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-
libx264 --enable-libx265 --enable-libwebp --cpu=haswell --extra-
cflags='-D_WIN32_WINNT=0x0602' --cc='ccache gcc' --x86asmexe=yasm
--samples=../samples --prefix=/mingw64
libavutil 56. 18.102 / 56. 18.102
libavcodec 58. 19.101 / 58. 19.101
libavformat 58. 13.102 / 58. 13.102
libavdevice 58. 4.100 / 58. 4.100
libavfilter 7. 22.100 / 7. 22.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
Input #0, mpegts, from 'test.ts':
Duration: 00:00:08.84, start: 1.400000, bitrate: 2136 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: h264 (Baseline) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt470bg/bt470bg/smpte170m, progressive), 1280x720, 23.98 tbr,
90k tbn, 180k tbc
Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100
Hz, mono, fltp, 98 kb/s
File 'NUL' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
Assertion size > 0 failed at K:/ffmpeg/src/libavcodec/cbs_h2645.c:526
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
}}}
Did not check if this is a regression or not.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7200#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list