How to play ts stream with specified pid

lessonZhang 176237766 at qq.com
Wed Aug 31 10:01:05 UTC 2016


Hi Arjen,

Thanks for your reply!

After modification, i use gst-launch-1.0 to play the file, and it played
well,
#gst-launch-1.0 -v filesrc location=test.ts ! decodebin ! videoconvert !
videoscale ! ximagesink sync=false 

then add program-number , 
#gst-launch-1.0 -v filesrc location=test.ts ! tsdemux program-number=1 !
decodebin ! videoconvert ! videoscale ! ximagesink sync=false 

but it failed,

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstTSDemux:tsdemux0: Internal
data stream error.
Additional debug info:
mpegtsbase.c(1307): mpegts_base_loop ():
/GstPipeline:pipeline0/GstTSDemux:tsdemux0:
No program activated before EOS
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...







--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-play-ts-stream-with-specified-pid-tp4679308p4679313.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list