Demuxing mpegts into individual program streams

rishi rishikessh at gmail.com
Mon May 5 21:15:05 PDT 2014


Hi All,

I'm trying to demux a multi program mpeg TS to get individual program
streams. I tried tsdemux but it gives out audio(PID=0x5d) and
video(PID=0xa3) data seperately but not in TS format. Pipeline used which
works:
gst-launch-1.0  filesrc location=Input.ts ! tsdemux name=d  program-number=2
d.video_00a3 ! queue !  fakesink d.audio_005d  ! queue ! fakesink


I then tried to mux this AV data using mpegtsmux but the pipeline hangs:
gst-launch-1.0  filesrc location=*Input.ts* ! tsdemux name=d 
program-number=2 d.video_00a3 ! queue ! mpegtsmux name=mux ! filesink
location=*Out.ts* d.audio_005d  ! queue ! mux.

Is this the proper way to demux a program stream from a multi-program TS ?
If yes then why does the mpegtsmux pipeline hangs ?

Need your help on this seemly small problem :)



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Demuxing-mpegts-into-individual-program-streams-tp4666757.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list