The pipeline freezes, but is in PLAYING state.

Kapil Agrawal kapil.agl at gmail.com
Tue Nov 15 06:14:47 PST 2011


Ashwini,

You should make use of queue more logically. Following pipeline should work.

*gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp !
mpegtsparse ! mpegtsdemux name=demux es-pids="65:52:65" ! video/mpeg !
decodebin ! queue ! ffmpegcolorspace ! xvimagesink  demux. ! queue !
decodebin ! queue ! audioconvert ! volume ! alsasink*

Best
Kapil

On Tue, Nov 15, 2011 at 7:10 PM, Ashwini Sharma <ak.ashwini at gmail.com>wrote:

>
> Hi All,
>
> I have a very awkward problem.
>
> I have a transport stream, which when I play only the video, it works fine.
> When I play the Audio separately works fine. But when I play the stream
> Audio/Video together, I see few frames (5~10) and after wards it freezes.
>
> When I check the pipeline state, it shows as PLAYING state.
>
> Can some one please help.
> The pipelines I used are as follows.
>
> For VIDEO only:
>
> *gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp !
> mpegtsparse ! mpegtsdemux name=demux es-pids="65:68:65" ! video/mpeg !
> queue ! decodebin ! ffmpegcolorspace ! xvimagesink*
> *
> *
> For AUDIO only:
>
> *gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp !
> mpegtsparse ! mpegtsdemux name=demux es-pids="65:68:65" !  queue !
> decodebin ! audioconvert ! queue ! volume ! alsasink*
> *
> *
> The complete pipe is:
>
> *gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp !
> mpegtsparse ! mpegtsdemux name=demux es-pids="65:52:65" ! video/mpeg !
> queue ! decodebin ! ffmpegcolorspace ! xvimagesink  demux. ! queue !
> decodebin ! audioconvert ! queue ! volume ! alsasink*
> *
> *
> *In this case when I used fakesink in place of alsasink, the number of
> frames displayed is increased to 20~25.*
> *
> *
> Please give me some hint, where I am missing something.
>
> regards,
> Ashwini
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
http://www.linkedin.com/in/kapilagrawal
www.mediamagictechnologies.com
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms-
linux, windows, TI, android)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111115/910b30dc/attachment.html>


More information about the gstreamer-devel mailing list