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 774412 - gdp: parsing GstStream in stream-start event issue
gdp: parsing GstStream in stream-start event issue
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.10.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-14 14:49 UTC by Nicolas Huet
Modified: 2018-11-03 12:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mpegts gdp test file (3.12 MB, application/octet-stream)
2016-11-14 14:49 UTC, Nicolas Huet
  Details
eac3 gdp file (76.79 KB, application/octet-stream)
2016-11-14 14:50 UTC, Nicolas Huet
  Details
fix serialization/deserialization of GstStream (3.20 KB, patch)
2017-03-24 11:38 UTC, Vincent Penquerc'h
none Details | Review

Description Nicolas Huet 2016-11-14 14:49:44 UTC
Created attachment 339808 [details]
mpegts gdp test file

https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=63f6f05d66537877365a1099ac176dc3afbb9f6b introduced variable GstStream. This is added in the stream-start event by tsdemux.

First, running the command:
gst-launch-1.0 -v filesrc location= mpegts.gdp ! gdpdepay ! tsdemux ! identity silent=false ! ac3parse ! gdppay ! filesink location= eac3.gdp

We can see the variable stream (stream=(GstStream)"\(GstStream\)\ stream1"):
E (type: stream-start (10254), GstEventStreamStart, stream-id=(string)fd91ddf0b44530850315c637f356514d:1282/000000e6, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, stream=(GstStream)"\(GstStream\)\ stream1", group-id=(uint)0;) 0x75b02450

Then trying to gdpdepay eac3.gdp:
gst-launch-1.0 -v --gst-debug=*gdp*:5 filesrc location= eac3.gdp  ! gdpdepay ! fakesink silent=false

We have:
Could not parse payload string: GstEventStreamStart, stream-id=(string)fd91ddf0b44530850315c637f356514d:1282/000000e6, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, stream=(GstStream)"\(GstStream\)\ stream1", group-id=(uint)0;

Removing the stream variable makes it working.

It seems that something is missing in gstvalue or gststructure ?
Comment 1 Nicolas Huet 2016-11-14 14:50:30 UTC
Created attachment 339809 [details]
eac3 gdp file
Comment 2 Vincent Penquerc'h 2017-03-24 11:38:52 UTC
Created attachment 348640 [details] [review]
fix serialization/deserialization of GstStream
Comment 3 GStreamer system administrator 2018-11-03 12:38:15 UTC
-- 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/issues/205.