[gstreamer-bugs] [Bug 635917] New: [mpegtsparse] don't parse and post all the EIT events.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Nov 27 04:11:19 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=635917
  GStreamer | gst-plugins-bad | git

           Summary: [mpegtsparse] don't parse and post all the EIT events.
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: gabrielstrimtu at yahoo.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Created an attachment (id=175355)
 View: https://bugzilla.gnome.org/attachment.cgi?id=175355
 Review: https://bugzilla.gnome.org/review?bug=635917&attachment=175355

Patch file for mpegtsparse.c, based on the current git sources.

In the "mpegts_parse_is_psi" function, when the new transport stream packet is
comming, the value of the table_id is read in a wrong way :

if (packet->payload_unit_start_indicator) {
      table_id = *(packet->data); 
      ...
}

At this point the table_id value can be the value of the pointer field, not the
table_id value. For this reason some of the sections of the EIT tables will not
be parsed.
The test case for parsing the EIT tables was done by using the dvbsnoop
utility, in DVB-S transmission, for the present & following events, actual
transport stream ( Table_ID = 0X4e ).


szap -n 970 >> /dev/null&  # tune on the channels
dvbsnoop  0x12 -crc -nph -pd 3 -f 0x4e -m 0xff | grep --line-buffered Event_ID
| tee eit-dump

(wait a while until the same events will be received again)

sort -u eit-dump | wc


versus:


gst-launch -m dvbsrc pids=0x12 polarity="v" frequency=12551000 
symbol-rate=22000 diseqc-source=0 inversion=2 ! mpegtsparse | grep  
"actual-transport-stream=(boolean)true, present-following=(boolean)true" | tee
eit-dump1

(wait a while until the same events will be received again)

grep  -w -o "event-[0-9]*" eit-dump1 | sort -u | wc -w

The booth test case should report the same number of EIT events.

I had attached the patch file based on the gst-plugins-bad git.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list