[Bug 730960] tsdemux: allow changing program in playing

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 17 00:50:27 PST 2014


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

Hugues Fruchet <hugues.fruchet> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hugues.fruchet at st.com

--- Comment #17 from Hugues Fruchet <hugues.fruchet at st.com> 2014-11-17 08:50:23 UTC ---
I have tried this patchset on a local multi TS file containing 4 programs
(unfortunately it's a huge 500MB file that I cannot easily share):
- Contains 4 programs 1/2/3/4
- Programs are sharing some stream pids, for ex: 0x01ec, 0x1e2 (audio), so pad
name unicity is needed to avoid to insert a pad with same name when switching
programs (the point raised by Jan Schmidt)
- Full sections details are given in README.txt in attached tar.gz (tsparser
used to get DVB sections)
In order to play this file and change program, I made improvements to gst-play
by adding keys '+' and '-' to walkthrough programs 1/2/3/4 (patches provided in
tar.gz).
To overcome the problem of pad unicity I made a patch to ensure unicity of pad
name adding the PMT pid to stream PID, cf
0004-tsdemux-name-pad-with-PMT-pid-for-pad-unicity.patch attached.
I also noticed some problems around the fact that several audio tracks are
there or subtitles are there => switch is not happening well in this case
(hang), I couldn't really understand why, I miss some expertise to debug
dynamic switch of pipeline.
Anyway, by ensuring that only one video track pad and one audio track pad are
created, switch occurs.
But there are still some problems time to time when zapping fast (we ask for a
new switch while the previous not completed):
ERROR No valid frames found before end of stream for
file:///Cornell_MPEG2_HD-SD_H264_HD-SD_PAL_QAM_474MHz_v3.trp
ERROR debug information: sources/gstreamer/libs/gst/base/gstbaseparse.c(1155):
gst_base_parse_sink_event_default ():
/GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMpegvParse:mpegvparse2

I would like to know if some progress was made on those patchsets and what are
your advices to move forward on this topic.

-- 
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