Video and audio play problem

lessonZhang 176237766 at qq.com
Thu Sep 8 07:01:37 UTC 2016


lessonZhang wrote
> Hi,
> I want to play a ts file with specified program-number(then i can choose
> different program), and play video/audio at same time, then i use
> following cmd:
> 
> gst-launch-1.0 filesrc location=/home/vadmin/test.ts ! tsdemux
> program-number=40002 name=d ! queue ! decodebin ! videoconvert !
> videoscale ! autovideosink d.video_07d1 ! queue ! decodebin ! audioconvert
> ! audioresample ! autoaudiosink d.audio_07d2
> 
> the work flow will be
<http://gstreamer-devel.966125.n4.nabble.com/file/n4679476/flow.png> 
> 
> but it just out one video frame and stop there, also no audio output.
> i also tried playbin, but playbin cannot play with specified
> program,thanks for any help.

The following cmd works
gst-launch-1.0 filesrc location=/home/vadmin/test.ts ! tsdemux
program-number=40003 name=d ! queue ! decodebin ! videoconvert ! xvimagesink
d. ! queue ! decodebin ! audioconvert ! autoaudiosink



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Video-and-audio-play-problem-tp4679476p4679482.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list