Discussion:
[Bug 764103] New: Fail to vaapidecode mpegts streams starting between keyframes
"GStreamer" (GNOME Bugzilla)
2016-03-23 19:19:06 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=764103

Bug ID: 764103
Summary: Fail to vaapidecode mpegts streams starting between
keyframes
Classification: Platform
Product: GStreamer
Version: 1.7.91
OS: Linux
Status: NEW
Severity: critical
Priority: Normal
Component: gstreamer-vaapi
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@l-3com.com
QA Contact: gstreamer-***@lists.freedesktop.org
CC: ***@gmail.com, ***@igalia.com
GNOME version: ---

Hi,

vaapidecode element has been unable to decode previously chunked ts files from
filesrc and udpsrc. It appears the vaapidecode element doesn't deal with the
garbage before a keyframe and bails.

Using the following pipeline I am unable to play a udpsrc mpegts stream and
receive no valid frames before end of stream from the vaapidecode element.

gst-launch-1.0 -v udpsrc uri=(makeoneupmulticast) ! tsparse ! video/x-h264 !
h264parse ! vaapidecode ! vaapisink

However, if I modify the pipeline to use avdec_h264 and x264enc to feed into
the vaapidecode element, then it is able to play the stream.

gst-launch-1.0 -v udpsrc uri=(makeoneupmulticast) ! tsparse ! video/x-h264 !
h264parse ! avdec_h264 ! x264enc ! vaapidecode ! vaapisink


To test the above, produce a test ts file and confirm you can play it with
vaapidecode ! vaapisink. Next, use a multifilesink to chunk it into several
pieces. Play the first chunk using a single filesrc (it should play). But
then try playing one of the middle chunks. This should reproduce the error.
If you chunk on keyframes, then you are less likely to experience the error so
I suggest chunking on buffersize.

(I am unable to add attachments due to company policy)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2016-03-23 19:21:14 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=764103

Tanner <***@l-3com.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@l-3com.com
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2016-03-23 21:31:14 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=764103

Julien Isorce <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2016-05-12 02:04:38 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=764103

Hyunjun Ko <***@igalia.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@igalia.com
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-06-12 10:05:29 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=764103

Víctor Manuel Jáquez Leal <***@igalia.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-11-03 15:47:28 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=764103

GStreamer system administrator <***@gstreamer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |OBSOLETE

--- Comment #1 from GStreamer system administrator <***@gstreamer.net> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/issues/36.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Loading...