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

Sumanth V sumanth.v at allaboutif.com
Thu Feb 12 13:41:08 CET 2009


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> 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>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>
>> 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
>> >
>> > 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
>> > 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
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090212/6990fbff/attachment.htm>


More information about the gstreamer-devel mailing list