SCTE 35 splice information table

cicero ciceromarcus at yandex.ru
Tue Mar 22 12:26:44 UTC 2016


Hello.

How can i force tsparse element to emit message with scte-35 splice 
information table?

ts-parser.c example from

https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/tests/examples/mpegts/ts-parser.c

does not returns scte message, but it should do it, doesn't it? I 
thought this part of code should react on scte types:

|static const gchar * table_id_name (gint val) { GEnumValue *en; en = 
g_enum_get_value (G_ENUM_CLASS (g_type_class_peek 
(GST_TYPE_MPEGTS_SECTION_TABLE_ID)), val); if (en == NULL) /* Else try 
with DVB enum types */ en = g_enum_get_value (G_ENUM_CLASS 
(g_type_class_peek (GST_TYPE_MPEGTS_SECTION_DVB_TABLE_ID)), val); if (en 
== NULL) /* Else try with ATSC enum types */ en = g_enum_get_value 
(G_ENUM_CLASS (g_type_class_peek 
(GST_TYPE_MPEGTS_SECTION_ATSC_TABLE_ID)), val); if (en == NULL) /* Else 
try with SCTE enum types */ en = g_enum_get_value (G_ENUM_CLASS 
(g_type_class_peek (GST_TYPE_MPEGTS_SECTION_SCTE_TABLE_ID)), val); if 
(en == NULL) return "UNKNOWN/PRIVATE"; return en->value_nick; }|

||
|But it returns only pat's, pmt's and other types, but not scte's.|
||
|Thank you.
|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160322/3d7514f2/attachment.html>


More information about the gstreamer-devel mailing list