[Bug 674606] New: mpgtsdemux / tsdemux robustness issue
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Apr 23 01:40:42 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=674606
GStreamer | gst-plugins-bad | 0.10.23
Summary: mpgtsdemux / tsdemux robustness issue
Classification: Platform
Product: GStreamer
Version: 0.10.23
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-bad
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: fraxinas at opendreambox.org
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=212589)
--> (https://bugzilla.gnome.org/attachment.cgi?id=212589)
GST_DEBUG_NO_COLOR=1 GST_DEBUG=*:3,*mux*:5,*queue*:5 gst-launch ....
i've got a transport stream which i captured the way it fell from the sky
(dvb-s broadcast) and it has discontinuities at the beginning
these cause tsdemux to not start playing whatsoever
0:00:00.736467222 2020 0x769670 DEBUG tsdemux
tsdemux.c:1704:process_pcr: initoff:659316, numpcr:10, isinitial:1
0:00:00.738140111 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419449946638 24:53:29.257282888 at
offset 687704
0:00:00.738727000 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419450237482 24:53:29.268054888 at
offset 705752
0:00:00.739174815 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419450697114 24:53:29.285078296 at
offset 734140
0:00:00.740534630 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419451157700 24:53:29.302137037 at
offset 762904
0:00:00.741192667 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419451614468 24:53:29.319054370 at
offset 791104
0:00:00.741577444 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419452077913 24:53:29.336219000 at
offset 819680
0:00:00.741969815 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419452370667 24:53:29.347061740 at
offset 837916
0:00:00.743276445 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419452826482 24:53:29.363943777 at
offset 864988
0:00:00.743872407 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419453285160 24:53:29.380931851 at
offset 892436
0:00:00.744309519 2020 0x769670 INFO tsdemux
tsdemux.c:1771:process_pcr: Found PCR 2419453473972 24:53:29.387924888 at
offset 903904
0:00:00.744606963 2020 0x769670 DEBUG tsdemux
tsdemux.c:1798:process_pcr: Found 10 PCR
0:00:00.744854074 2020 0x769670 DEBUG tsdemux
tsdemux.c:1810:process_pcr: pcrdiff:0:00:00.130642000 offsetdiff 216200
0:00:00.745182519 2020 0x769670 DEBUG tsdemux
tsdemux.c:1813:process_pcr: Estimated bitrate 1654904
0:00:00.745446556 2020 0x769670 DEBUG tsdemux
tsdemux.c:1815:process_pcr: Average PCR interval 21620
0:00:00.747136963 2020 0x769670 DEBUG tsdemux
tsdemux.c:1635:find_timestamps: Upstream is 197977348 bytes
0:00:00.747662518 2020 0x769670 DEBUG tsdemux
tsdemux.c:1642:find_timestamps: Scanning for last sync point between:197145348
and the end:197977348
0:00:00.799770111 2020 0x769670 DEBUG tsdemux
tsdemux.c:1386:process_section: Section Complete
0:00:00.818867370 2020 0x769670 DEBUG tsdemux
tsdemux.c:1386:process_section: Section Complete
0:00:00.908562185 2020 0x769670 DEBUG tsdemux
tsdemux.c:1657:find_timestamps: Searching PCR
0:00:00.909110371 2020 0x769670 DEBUG tsdemux
tsdemux.c:1704:process_pcr: initoff:197966948, numpcr:10, isinitial:0
0:00:00.909402000 2020 0x769670 DEBUG tsdemux
tsdemux.c:1663:find_timestamps: Problem getting last PCRs
ERROR: from element /GstPipeline:pipeline0/GstTSDemux:d: Internal data stream
error.
and mpegtsdemux (when using my bdremux tool to convert from ts to m2ts) to get
stuck after 1 MB and never get to EOS
this can be also achieved by building a manual remuxing pipeline:
gst-launch filesrc location="20120420 1415 - ZDF HD - Die Küchenschlacht.ts" !
mpegtsdemux name=d d. ! queue2 ! video/x-h264 ! mpegtsmux name=m m2ts-mode=true
! filesink location=bla.m2ts d. ! queue2 ! audio/x-ac3 ! m. -v
the log suggests a queue problem:
0:00:05.588950370 3277 0x76101e18 LOG queue2_dataflow
gstqueue2.c:2350:gst_queue2_chain:<queue20> received buffer 0x55fca0 of size
168, time 24:53:31.272066666, duration 99:99:99.999999999
0:00:05.589122259 3277 0x76101e18 DEBUG queue2_dataflow
gstqueue2.c:1576:gst_queue2_wait_free_space:<queue20> queue is full, waiting
for free space
0:00:05.589241814 3277 0x76101e18 LOG queue2_dataflow
gstqueue2.c:1579:gst_queue2_wait_free_space:<queue20> (queue20:sink) wait for
DEL: 48 of 100 buffers, 632358 of 2097152 bytes, 420000000 of 2000000000 ns, 48
items
remuxing the audio or the video elementary stream seperately will work fine
though
testfile available here:
ftp://test4711:test4711@82.149.226.170/201204201415_-_ZDF_HD_-_Die_Kuechenschlacht.ts
--
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