After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 712214 - No video playing full HD stream with deinterlace.
No video playing full HD stream with deinterlace.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
1.2.1
Other Linux
: Normal normal
: 1.2.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-13 12:58 UTC by Jan ONDREJ (SAL)
Modified: 2014-01-05 00:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan ONDREJ (SAL) 2013-11-13 12:58:42 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.
Comment 1 Jan Schmidt 2013-11-18 13:57:47 UTC
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?
Comment 2 Jan Schmidt 2013-11-29 03:17:44 UTC
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.
Comment 3 Jan ONDREJ (SAL) 2013-11-29 05:52:46 UTC
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.
Comment 4 Jan ONDREJ (SAL) 2014-01-04 19:53:40 UTC
Unable to reproduce after update to gst-1.2.2. Please close this bug as fixed.
Thank you for fix.
Comment 5 Jan ONDREJ (SAL) 2014-01-04 19:54:16 UTC
And also please let me know, if I can remove this example video file.
Comment 6 Tim-Philipp Müller 2014-01-05 00:18:07 UTC
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