MPEG-TS and EITs

Russel Winder russel at winder.org.uk
Tue Nov 12 11:17:15 UTC 2019


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191112/4c2e635e/attachment.sig>


More information about the gstreamer-devel mailing list