GNOME Bugzilla – Bug 712214
No video playing full HD stream with deinterlace.
Last modified: 2014-01-05 00:18:07 UTC
When trying to play some streams with deinterlace on, no video is displayed. Player window will open, but it's transparent. I see all windows under this and no video is playing. Disabling deinterlace helps to play stream, but it's not a solution. Example (8 MB file): gst-launch-1.0 playbin uri=http://work.salstar.sk/public/deinterlace_problem.mpg By adding flags=1 or flags=0x417 or other flags which disables deinterlace plays video vithout problems.
I get this in the deinterlace debug output, and then no frames are sent downstream: 0:00:00.522700925 17004 0xb4b14db0 DEBUG deinterlace gstdeinterlace.c:1993:gst_deinterlace_output_frame:<deinterlace> could not allocate buffer The video is 1080p, but that shouldn't matter. gst-launch-1.0 filesrc location=deinterlace_problem.mpg ! decodebin ! deinterlace ! xvimagesink works OK, so this is playbin specific. What else is different in playbin except streamsynchroniser?
This sample file is pretty heavily corrupted - it doesn't play well for me anywhere. Nevertheless, it at least produces *some* frames with deinterlace disabled in current git, and worked somewhat in 1.0.10 even with deinterlace.
My sample file was captured using filesink from an multicast stream. Is it possible, that this caused corruptions? Is it possible, that this stream contains more information from multicast stream? I can recapture a better example, if requested and you tell me, how to do it. I can play these (and other) multicast streams without problems, if deinterlace is disabled in gst-1.2.1, but unable to play this and more HD streams with gst-1.2.1 and enabled deinterlace.
Unable to reproduce after update to gst-1.2.2. Please close this bug as fixed. Thank you for fix.
And also please let me know, if I can remove this example video file.
Thanks for re-testing and confirming it's no longer a problem. This commit in gst-libav seems to make it work for me strangely: commit ff5b343e7f02740a91abb24542ae06e79697f781 Author: Mark Nauwelaerts <mnauw@users.sourceforge.net> Date: Mon Dec 2 20:21:34 2013 +0100 avviddec: only use upstream framerate if really specified Fixes https://bugzilla.gnome.org/show_bug.cgi?id=704161 (with some image corruption at beginning) while this commit makes it work properly (shows first keyframe for a short time and then starts normally): commit 24e593681999ba40d61760a204e36c457424bef3 Author: Mark Nauwelaerts <mnauw@users.sourceforge.net> Date: Sat Dec 7 11:35:09 2013 +0100 avviddec: improve buffer handling and semantics ... so as to focus on providing *a* buffer rather than one (too) tied to a frame, in particular allowing multiple allocations related to a frame. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=697806