GNOME Bugzilla – Bug 748450
deinterlace: crash with Prores file
Last modified: 2015-04-25 13:22:45 UTC
Created attachment 302333 [details] a file that crashes gstreamer I have a prores file, ffpmeg says this about it: ffmpeg version 2.6.2 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1) configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'The whale song_ProRes.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2013-06-20 05:25:53 Duration: 00:03:36.05, start: 0.000000, bitrate: 129998 kb/s Stream #0:0(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s (default) Metadata: creation_time : 2013-06-20 05:25:53 handler_name : Apple Alias Data Handler Stream #0:1(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 1920x1080, 128449 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc (default) Metadata: creation_time : 2013-06-20 05:25:53 handler_name : Apple Alias Data Handler encoder : Apple ProRes 422 When I try to play it on a gstreamer based player (subtitleeditor or totem), it makes them crash. I am on gstreame 1.4.3 installed from here: https://launchpad.net/~ddalex/+archive/ubuntu/gstreamer I am on Ubuntu 14.04 I attach the first second of the video (it is copyrighted, I cannot share it whole) produced by: ffmpeg -t 1 -threads 8 -i The\ whale\ song_ProRes.mov -f mov -c:v copy -c:a copy prores_crash.mov Even this one second still crashes gstreamer. (btw: ffmpeg converts it to x264 just fine and mpv plays it without problems too)
Thanks for the bug report and the sample file. I can reproduce the problem with 1.4.4 (as in debian sid), but not with git master or the 1.4 git branch. It appears to have been fixed by this commit, which is in the 1.4.5 release: commit d322432491adb1c056f9cdb09a1a6a442a994f3a Author: Thibault Saunier <tsaunier@gnome.org> Date: Fri Nov 21 11:54:18 2014 +0100 Deinterlace: in query_caps return only supported formats if filter is interlaced In some cases the currently set GstVideoInfo is not interlaced, but upstream caps are interlaced and the info is passed in the filter, we should take that info into account and make sure that we do not consider that case as a "pass through" case. https://bugzilla.gnome.org/show_bug.cgi?id=741407
Thanks for the quick reaction and sorry for the noise!