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 720377 - Play MPEG2 video clip causing gstreamer stuck for 5 mins using mpegvideoparse
Play MPEG2 video clip causing gstreamer stuck for 5 mins using mpegvideoparse
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.0.10
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-13 08:19 UTC by Lim Siew Hoon
Modified: 2014-04-07 08:26 UTC
See Also:
GNOME target: ---
GNOME version: 3.5/3.6



Description Lim Siew Hoon 2013-12-13 08:19:59 UTC
Playing this particular mpeg2 video clip attached at here, the gstreamer player stuck in the last 3rd frame of end of video for around 5 mins to 8 mins there only exit. Don't see this issue using mplayer Fedora18 or play this video clip on windows media player windows 7.

I try using both command pipeline in software & hardware decode also see same issue:
1.)gst-launch-1.0 -v filesrc location=auto.m2v ! mpegvideoparse ! vaapidecode ! vaapsink
2.)gst-launch-1.0 -v filesrc location=auto.m2v ! mpegvideoparse ! mpeg2dec ! xvimagesink

Just pure run this command pipeline:
gst-launch-1.0 -v filesrc location=auto.m2v ! mpegvideoparse ! fakesink

Put in my own debug message & count in gst_mpegv_parse_handle_frame function.
This consistent start happend at that function count number: 8564
GstMpegVideoPacket packet retrieve from gst_mpeg_video_parse
-> packet.size = 0 until the end
-> packet.offset = a bit weird....

gstbuffer.c:635:gst_buffer_new_allocate:[00m new buffer 0xb613b8c0 of size 196608 from allocator (nil)

And you can see the new buffer size keep increasing....until drain out then only exit the gstreamer.

Not able to find other demuxer to replace mpegvideoparse to checkout whether is really demuxer problem or the video clip issue. 

Run this in Fedora 18 system.
Comment 1 Sebastian Dröge (slomo) 2013-12-14 10:05:57 UTC
Can you provide the video file, either as an attachment or uploaded to dropbox or another place?
Comment 2 Lim Siew Hoon 2013-12-16 02:25:57 UTC
The video clip is around 2.54GB. Can't upload at here. Let me find where can i upload the video clip provide the url link.
Comment 3 Sebastian Dröge (slomo) 2014-04-07 08:26:37 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!