MPEG-TS and EITs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MPEG-TS and EITs

Russel Winder
I am trying to work with the MPEG-TS library using Rust – so no direct C
examples available.

I have a wrapping function:

    pub fn get_eit(&self) -> Option<EIT> {
        unsafe {
            from_glib_none(gst_mpegts_sys::gst_mpegts_section_get_eit(self.to_
glib_none().0))
        }
    }

My problem is that I have sections coming in from the Freeview DVB-T on the
GStreamer bus that report get_name() as "eit" and get_section_type() as
gst_mpegts::SectionType::Eit and yet when applying get_eit() above I get a
None returned.

This would at first sight appear to indicate that
gst_mpegts_sys::gst_mpegts_section_get_eit is not able to parse some EIT
sections that are being transmitted on Freeview DVB-T, and yet I am really
hesitant to be accept that as a hypothesis.

The C documentation for gst_mpegts_section_get_eit saysit returns NULL if an
error happened. So the question is is it possible for the
gst_mpegts_section_get_eit to correctly find an error in an EIT section
transmitted on Freeview?

I guess I am at a loss as to how to proceed to sort this out, hence this
appeal for assistance.

--
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: MPEG-TS and EITs

Russel Winder
Hummm… I guess that, given the null response over the week since posting this,
I am the only person who has any interest in this, and so I am totally on my
own.


On Tue, 2019-11-05 at 08:36 +0000, Russel Winder wrote:

> I am trying to work with the MPEG-TS library using Rust – so no direct C
> examples available.
>
> I have a wrapping function:
>
>     pub fn get_eit(&self) -> Option<EIT> {
>         unsafe {
>             from_glib_none(gst_mpegts_sys::gst_mpegts_section_get_eit(self.t
> o_
> glib_none().0))
>         }
>     }
>
> My problem is that I have sections coming in from the Freeview DVB-T on the
> GStreamer bus that report get_name() as "eit" and get_section_type() as
> gst_mpegts::SectionType::Eit and yet when applying get_eit() above I get a
> None returned.
>
> This would at first sight appear to indicate that
> gst_mpegts_sys::gst_mpegts_section_get_eit is not able to parse some EIT
> sections that are being transmitted on Freeview DVB-T, and yet I am really
> hesitant to be accept that as a hypothesis.
>
> The C documentation for gst_mpegts_section_get_eit saysit returns NULL if an
> error happened. So the question is is it possible for the
> gst_mpegts_section_get_eit to correctly find an error in an EIT section
> transmitted on Freeview?
>
> I guess I am at a loss as to how to proceed to sort this out, hence this
> appeal for assistance.
>
--
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (849 bytes) Download Attachment