DVB Tables

Edward Hervey bilboed at bilboed.com
Fri May 26 07:54:35 UTC 2017


Hi,

On Fri, 2017-05-26 at 07:31 +0100, Russel Winder wrote:
> On Fri, 2017-05-26 at 08:01 +0200, Edward Hervey wrote:
> > 
> 
> […]
> >   I did my best to make it a 1:1 mapping with the field naming in
> > the
> > specs. Which part don't you think is similar ?
> > 
> 
> It may well be then that I am just misunderstanding – actually I hope
> so, as it will easier to fix that. :-)
> 
> The standard presents an EIT section as follows (Table 7 of the
> standard):
> 
>     event_information_section(){
>       table_id
>       section_syntax_indicator
>       reserved_future_use
>       reserved
>       section_length
>       service_id
>       reserved
>       version_number
>       current_next_indicator
>       section_number
>       last_section_number
>       transport_stream_id
>       original_network_id
>       segment_last_section_number
>       last_table_id
>       for(i=0;i<N;i++){
>         event_id
>         start_time
>         duration
>         running_status
>         free_CA_mode
>         descriptors_loop_length
>         for(i=0;i<N;i++){
>           descriptor()
>         }
>       }
>       CRC_32
>     }
> 
> The GstMpegtsEIT structure is though:
> 
>     struct GstMpegtsEIT {
>       guint16        transport_stream_id;
>       guint16        original_network_id;
>       guint8         segment_last_section_number;
>       guint8         last_table_id;
> 
>       gboolean       actual_stream;
>       gboolean       present_following;
> 
>       GPtrArray     *events;
>     };
> 
> which doesn't seem to map to any bits of the standard's Table 7

  All the standard bits are in the GstMpegtsSection : https://gstreamer
.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-libs/html/gst-
plugins-bad-libs-Base-MPEG-TS-sections.html#GstMpegtsSection-struct

  Just get them directly :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170526/9a1a1eea/attachment-0001.sig>


More information about the gstreamer-devel mailing list