[gst-devel] avi (MJPEG) to mpeg or something else
Wim Taymans
wim at fluendo.com
Fri Feb 2 16:44:35 CET 2007
On Fri, 2007-02-02 at 15:35 +0100, Andreas Volz wrote:
> Hello,
>
> I have this video:
>
> sarah.avi: RIFF (little-endian) data, AVI, 320 x 240, 10.00 fps, video:
> Motion JPEG, audio: uncompressed PCM (mono, 8000 Hz)
>
> For my application I try to convert it with gstreamer into a mpeg,
> divx or theora video. I tried the gst-launch command from [1], but it
> failed with:
>
> > LC_ALL=C gst-launch-0.8 filesrc sarah.avi ! avidemux name=demux
> > demux.audio_00 ! decodebin ! audioconvert ! audioresample !
> > autoaudiosink demux.video_00 ! queue ! decodebin !
> > ffmpegcolorspace ! videoscale ! autovideosink
>
> WARNING: erroneous pipeline: no element "audioresample"
> Trying to run anyway.
> RUNNING pipeline ...
> ERROR: from element /pipeline0/filesrc0: No file name specified for
> reading.
> ERROR: pipeline doesn't want to play.
>
> Then I tried this:
>
> > gst-launch-0.10 filesrc file://sarah.avi ! avidemux name=demux
> > demux.audio_00 ! decodebin ! audioconvert ! audioresample !
> > autoaudiosink demux.video_00 ! queue ! decodebin !
> > ffmpegcolorspace ! videoscale ! autovideosink
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> FEHLER: Von Element /pipeline0/filesrc0: Kein Dateiname zum Lesen
> angegeben.
> Zusätzliche Debugginginformation:
> gstfilesrc.c(967): gst_file_src_start (): /pipeline0/filesrc0
> Setting pipeline to NULL ...
>
> (gst-launch-0.10:2646): GStreamer-WARNING **: loop detected in the
> graph !!
> FREEING pipeline ...
>
> So any ideas the pipeline should look like?
try:
gst-launch-0.10 filesrc location=sarah.avi ! avidemux name=demux
demux.audio_00 ! decodebin ! audioconvert ! audioresample !
autoaudiosink demux.video_00 ! queue ! decodebin !
ffmpegcolorspace ! videoscale ! autovideosink
wim
>
> BTW: Could gstreamer autodetect the video format input?
>
> regards
> Andreas
>
> [1]http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-avidemux.html
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list