[gst-devel] mpeg transport stream "stuck"

Zaheer Merali zaheermerali at gmail.com
Mon Oct 13 10:41:09 CEST 2008


2008/10/10 Dan Taylor <dtaylor at startrac.com>:
> I'm trying to use GStreamer and its associated plugins to play an MPEG
> Transport Stream (TS) that I captured.  FWIW, I can play the stream, as is,
> with mplayer, but mplayer has limitations that make it unusable as a
> long-term solution.
>
>
>
> The TS has several programs and I want to play one of them.  This is simply
> a development step on the way to using a DVB-T/ATSC front end to source the
> TS.
>
>
>
> I have used
>
> "gst-launch filesrc location=file.ts ! flutsdemux name=d  d.audio_0801 !
> queue ! filesink location=0801.mpa d.video_0800 ! queue ! filesink
> location=0800.mpv"
>
> to extract an audio and video PID to files, so the demuxer seems to be
> working.
>
> I have used
>
> "gst-launch filesrc location=0801.mpa ! decodebin ! audioconvert ! alsasink"
>
> and
>
> "gst-launch filesrc location=0800.mpv ! queue ! mpeg2dec ! ffmpegcolorspace
> ! xvimagesink"
>
> to successfully play the individual files, but when I combine them with
>
> gst-launch -m filesrc location=file.ts ! flutsdemux name=d  d.audio_0801 !
> queue ! decodebin ! audioconvert ! alsasink  d.video_0800 ! queue ! mpeg2dec
> ! xvimagesink

Try with: queue max-size-buffers=0 max-size-time=0 instead of just queue.

>
> a window is opened and the first frame displayed, but neither does the video
> continue, nor is there any audio.  I can kill the X window, and there are
> the messages at the end of the post.
>
> Any ideas where I should begin debugging this?  Is there a clock/sync
> problem, perhaps?
>


Zaheer




More information about the gstreamer-devel mailing list