[gst-devel] gst-launch and AVI file with only good plugins
vinayvinay at gmail.com
Wed Dec 26 22:39:52 CET 2007
Thanks for the reply, Vinay.
I get the following error when I try the command you suggested:
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/d: Internal data stream error.
Additional debug info:
gstavidemux.c(3742): gst_avi_demux_loop (): /pipeline0/d:
streaming stopped, reason not-linked
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...
I already have ffmpeg and the gst-ffmpeg installed (along with the
base, good, bad and ugly plugins).
Doing a "file test.avi" gives:
test.avi: RIFF (little-endian) data, AVI, 720 x 480, ~30 fps, video:,
audio: uncompressed PCM (stereo, 48000 Hz). It's an mpeg2 file. I
tried the to play an mpeg4 file, but got the same error. I'd
appreciate any help/pointers.
On Dec 23, 2007 7:24 PM, Vinay <mailtovins at gmail.com> wrote:
> Hello Vinay,
> MPEG2DEC plugin comes as part of gst-plugins-ugly package. It requires
> an external library mpeg2dec which you need to install to use the
> You can use ffmpeg codecs to play your MPEG4 AVI file. You need to
> install the ffmpeg package to get all the codecs.
> The pipeline will look something like this,
> gst-launch-0.10 filesrc location=test.avi ! avidemux name=d d. ! queue
> ! ffdec_mpeg4 ! sdlvideosink d. ! queue ! mad ! audioconvert !
> Vinay K.
> On Dec 24, 2007 7:53 AM, Vinay Reddy <vinayvinay at gmail.com> wrote:
> > Hi,
> > Is there a way to play an MPEG4 avi file (both video and audio) using
> > gst-launch and only the good plugins?
> > I got till "gst-launch filesrc location="test.avi" ! avidemux
> > name=demuxer !". The examples I found on the internet seemed to use
> > xvideosink or sdlvideosink or mpeg2dec or windec and none of these are
> > present on my system (I installed gstreamer, base plugins and the good
> > plugins).
> > I could get audio to play by using "gst-launch filesrc
> > location="test.avi" ! avidemux name=demuxer ! alsasink" though.
> > I'd appreciate any pointers/help.
> > Thanks,
> > Vinay
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
After silence, that which comes nearest to expressing the
inexpressible is music - Aldous Huxley
More information about the gstreamer-devel