From: Wim T. <wi...@fl...> - 2007-02-02 14:44:56
|
On Fri, 2007-02-02 at 15:35 +0100, Andreas Volz wrote: > Hello, >=20 > I have this video: >=20 > sarah.avi: RIFF (little-endian) data, AVI, 320 x 240, 10.00 fps, video: > Motion JPEG, audio: uncompressed PCM (mono, 8000 Hz) >=20 > 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: >=20 > > LC_ALL=3DC gst-launch-0.8 filesrc sarah.avi ! avidemux name=3Ddemux > > demux.audio_00 ! decodebin ! audioconvert ! audioresample ! > > autoaudiosink demux.video_00 ! queue ! decodebin ! > > ffmpegcolorspace ! videoscale ! autovideosink >=20 > 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. >=20 > Then I tried this: >=20 > > gst-launch-0.10 filesrc file://sarah.avi ! avidemux name=3Ddemux > > 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=C3=A4tzliche Debugginginformation: > gstfilesrc.c(967): gst_file_src_start (): /pipeline0/filesrc0 > Setting pipeline to NULL ... >=20 > (gst-launch-0.10:2646): GStreamer-WARNING **: loop detected in the > graph !! > FREEING pipeline ... >=20 > So any ideas the pipeline should look like? try: gst-launch-0.10 filesrc location=3Dsarah.avi ! avidemux name=3Ddemux demux.audio_00 ! decodebin ! audioconvert ! audioresample ! autoaudiosink demux.video_00 ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! autovideosink wim >=20 > BTW: Could gstreamer autodetect the video format input? >=20 > regards > Andreas >=20 > [1]http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins= -good-plugins/html/gst-plugins-good-plugins-avidemux.html >=20 > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > 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 Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > gstreamer-devel mailing list > gst...@li... > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |