[gst-devel] gst-launch and AVI file with only good plugins

Vinay mailtovins at gmail.com
Thu Dec 27 04:28:45 CET 2007


Hello Vinay,

>From the stream properties, it looks like the audio data is in
uncompressed format. But the pipeline that I mentioned uses "mad"
which is an mp3 decoder. Can you modify the audio pipeline path and
try out?

Also, you can try with ffdemux_avi if avidemux does not work.

Regards,
Vinay K.

On Dec 27, 2007 3:09 AM, Vinay Reddy <vinayvinay at gmail.com> wrote:
> 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.
>
> Thanks,
> Vinay
>
>
>
> 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
> > plugin.
> >
> > 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 !
> > alsasink.
> >
> > Regards,
> > 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 mailing list