#4562 closed defect (fixed)
FFmpeg crashing with Yadif and ac3
Reported by: | ramitb | Owned by: | |
---|---|---|---|
Priority: | important | Component: | ffmpeg |
Version: | git-master | Keywords: | crash regression SIGSEGV |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
Summary of the bug: This is a regression bug, with the git head it crashes, with an older build it doesn't. Happens with some videos only with ac3 and yadif are used. The crash happens right at the end of this video.
This happens irrespective of the video codec (tried x264 and mpeg2video).
The video sample is uploaded here (it's 100MB and whole file is required because the crash happens at the end)
http://files.mcebuddy2x.com/UPLOAD/Broken.ts
How to reproduce:
Crashing
ffmpegNew.exe -i Broken.ts -vcodec mpeg2video -acodec ac3 -ab 384K -vf yadif=0:-1:1 test1.ts ffmpeg version N-72144-gca688de Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/sandbox/mingw-w64-i686/bin/i686-w 64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvide o --enable-libbluray --enable-iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-lib caca --enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable- librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --e nable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --e nable-bzlib --enable-libxavs --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libs chroedinger --enable-libvpx --enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme --enable-dxva2 --enabl e-libdcadec --enable-avisynth --enable-libmfx --enable-static --disable-shared --extra-cflags= --prefix=/home/mcebuddy/S oftware/sandbox/mingw-w64-i686/i686-w64-mingw32 --extra-libs=-lpsapi --enable-nonfree --enable-libfdk-aac --enable-libfa ac --disable-decoder=aac --enable-nvenc --enable-runtime-cpudetect libavutil 54. 23.101 / 54. 23.101 libavcodec 56. 39.100 / 56. 39.100 libavformat 56. 33.101 / 56. 33.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 16.101 / 5. 16.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, mpegts, from 'Broken.ts': Duration: 00:00:52.00, start: 1.417333, bitrate: 15476 kb/s Program 1 Metadata: service_name : KXASDT (KXAS-DT) service_provider: KXASDT Stream #0:0[0x100](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:1[0x101](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:2[0x102]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], max . 24000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Output #0, mpegts, to 'test1.ts': Metadata: encoder : Lavf56.33.101 Stream #0:0: Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 t bc Metadata: encoder : Lavc56.39.100 mpeg2video Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s Metadata: encoder : Lavc56.39.100 ac3 Stream mapping: Stream #0:2 -> #0:0 (mpeg2video (native) -> mpeg2video (native)) Stream #0:0 -> #0:1 (ac3 (native) -> ac3 (native)) Press [q] to stop, [?] for help [mpeg2video @ 056d20a0] ac-tex damaged at 73 26=00:00:51.03 bitrate=2796.4kbits/s dup=24 drop=0 [mpeg2video @ 056d20a0] Warning MVs not available [mpeg2video @ 056d20a0] concealing 5040 DC, 5040 AC, 5040 MV errors in B frame [mpeg2video @ 03b1c4e0] AVFrame.format is not set [mpeg2video @ 03b1c4e0] AVFrame.width or height is not set
Working:
ffmpeg.exe -i Broken.ts -vcodec mpeg2video -acodec ac3 -ab 384K -vf yadif=0:-1:1 test1.ts ffmpeg version N-70269-gaa7a2fa Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --arch=x86 --target-os=mingw32 --cross-prefix=/home/mcebuddy/Software/sandbox/mingw-w64-i686/bin/i686-w 64-mingw32- --pkg-config=pkg-config --enable-hwaccels --enable-dxva2 --enable-gpl --enable-libx264 --enable-avisynth --e nable-libxvid --enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm --enable-libfreetype --enable-libopus --disable- w32threads --enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs --extra-cflags=- DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx --enable-libilbc --prefix=/home/mcebuddy/Software/sandbox/mingw-w64-i686/i686-w64-mingw32 --enable-stat ic --disable-shared --enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo --enable-libbluray --enable -iconv --enable-libtwolame --extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca --enable-libmodplug --ex tra-libs=-lstdc++ --extra-libs=-lpng --enable-libvidstab --enable-libx265 --enable-decklink --extra-libs=-loleaut32 --ex tra-cflags= --extra-cflags= --enable-nonfree --enable-libfdk-aac --enable-libfaac --enable-runtime-cpudetect libavutil 54. 19.100 / 54. 19.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 23.105 / 56. 23.105 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, mpegts, from 'Broken.ts': Duration: 00:00:52.00, start: 1.417333, bitrate: 15476 kb/s Program 1 Metadata: service_name : KXASDT (KXAS-DT) service_provider: KXASDT Stream #0:0[0x100](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:1[0x101](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:2[0x102]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], max . 24000 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc Output #0, mpegts, to 'test1.ts': Metadata: encoder : Lavf56.23.105 Stream #0:0: Video: mpeg2video, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 t bc Metadata: encoder : Lavc56.26.100 mpeg2video Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s Metadata: encoder : Lavc56.26.100 ac3 Stream mapping: Stream #0:2 -> #0:0 (mpeg2video (native) -> mpeg2video (native)) Stream #0:0 -> #0:1 (ac3 (native) -> ac3 (native)) Press [q] to stop, [?] for help [mpeg2video @ 050dc5a0] ac-tex damaged at 73 26=00:00:50.61 bitrate=2792.3kbits/s dup=24 drop=0 [mpeg2video @ 050dc5a0] Warning MVs not available [mpeg2video @ 050dc5a0] concealing 5040 DC, 5040 AC, 5040 MV errors in B frame frame= 1558 fps= 94 q=31.0 Lsize= 17755kB time=00:00:51.95 bitrate=2799.7kbits/s dup=25 drop=0 video:13664kB audio:2420kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 10.388759%
Change History (3)
comment:1 by , 10 years ago
Keywords: | crash regression SIGSEGV added |
---|---|
Reproduced by developer: | set |
Status: | new → open |
Version: | unspecified → git-master |
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Fixed in b87dd7f82d4df6c6207cab8e40e28e5b3fe81d0f and the previous commit
comment:3 by , 10 years ago
Component: | undetermined → ffmpeg |
---|
Note:
See TracTickets
for help on using tickets.
Please remember not to use
--enable-nonfree
when building FFmpeg: You are not allowed to distribute the resulting binaries!Regression since 98c7729c