[gst-devel] how to run a media file using gst-launch

Zaheer Merali zaheermerali at gmail.com
Tue Nov 14 13:26:54 CET 2006


On 11/14/06, sandeep siroya <siroya at gmail.com> wrote:
> Hi,
> I have installed gstreamer-0.10 on a fedora core 5 system.
> I wanted to write a plugin to decrypt an encrypted mpeg file and pass
> it to the other gstreamer elements to decode and play it. I have the
> decryption code.
> I was looking to start with gst-launch. From the man pages of
> gst-launch, the command :
> gst-launch filesrc location=JB_FF9_TheGravityOfLove.mpg ! mpegdemux
> video_%02d!src { queue ! mpeg2dec ! xvideosink } does not work.
> Can someone please explain the meaning of 'video_%02d!src'? I read a
> few manuals in the documentation but did not find any info there.

What type of mpeg file is it?  A transport stream or a program stream?

{ and } are no longer needed in GStreamer 0.10.

in Gstreamer 0.10, xvideosink no longer exists, use xvimagesink.

video_%02d is a template for dynamic pads.  read about dynamic pads in
the GStreamer documentation.

Zaheer




More information about the gstreamer-devel mailing list