[gst-devel] what's wrong with my mpeg2-ts pipeline

Zhao, Halley halley.zhao at intel.com
Fri Feb 13 01:27:56 CET 2009


Thanks,
but queue2 still doesn’t work for my pipeline.

While  “queue max-size-buffers=0 max-size-time=0” works fine.


________________________________
From: Sumanth V [mailto:sumanth.v at allaboutif.com]
Sent: 2009年2月12日 20:41
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] what's wrong with my mpeg2-ts pipeline


Use "queue2" in place of  "queue" it should work fine.

I tried with the pipeline which u are using and it worked fine for me with following small changes.
* i used "mpegtsdemux" in place of "flutsdemux"
* "queue2" in place of "queue1"

gst-launch filesrc location=/home/MpegTSFile.ts ! mpegtsdemux name=demuxer demuxer.! queue2 ! ffdec_mpeg2video ! ffmpegcolorspace ! videoscale ! xvimagesink force-aspect-ratio=TRUE demuxer.! queue2 ! a52dec ! audioconvert ! audioresample ! autoaudiosink


On Thu, Feb 12, 2009 at 5:18 PM, Sumanth V <sumanth.v at allaboutif.com<mailto:sumanth.v at allaboutif.com>> wrote:
I tried the following pipeline and it worked fine.

 gst-launch filesrc location=/home/Hellboy_small.ts ! mpegtsdemux name=dec dec. ! queue2 ! mpeg2dec ! ffmpegcolorspace ! xvimagesink force-aspect-ratio=TRUE dec. ! queue2 ! a52dec ! audioconvert ! alsasink

On Thu, Feb 12, 2009 at 4:13 PM, Zaheer Merali <zaheerabbas at merali.org<mailto:zaheerabbas at merali.org>> wrote:
queue sizes are too small so change each queue to this:

queue max-size-buffers=0 max-size-time=0

On Thu, Feb 12, 2009 at 5:35 AM, Zhao, Halley <halley.zhao at intel.com<mailto:halley.zhao at intel.com>> wrote:
> Hi all:
>
> For a mpeg2 TS stream, I can playback it by playbin:
>
> gst-launch -v -v playbin
> uri=file:///home/halley/media/video/mpeg2_ac3_ts.mpg
>
>
>
> but when I assemble the pipeline with specified elements, video freeze after
> show the first frame, an no audio out.
>
> gst-launch -v -v filesrc location=/home/halley/media/video/ mpeg2_ac3_ts.mpg
> ! flutsdemux name=demuxer demuxer.! queue ! ffdec_mpeg2video !
> ffmpegcolorspace ! videoscale ! autovideosink demuxer.! queue ! a52dec !
> audioconvert ! audioresample ! autoaudiosink
>
>
>
> Could you kindly tell me where is wrong for my second pipeline, Great
> thanks.
>
>
>
>
>
> ZHAO, Halley (Aihua)
>
> Email: halley.zhao at intel.com<mailto:halley.zhao at intel.com>
>
> Tel: +86(21)61166476
>
> iNet: 8821-6476
>
> SSG/OTC/UMD 3W033
>
>
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net<mailto:gstreamer-devel at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net<mailto:gstreamer-devel at lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090213/7705fcca/attachment.htm>


More information about the gstreamer-devel mailing list