[gst-devel] gst-launch and playing avi files with only audio/video -- help

Kannan Chellappa nckanna at yahoo.com
Mon May 14 16:07:18 CEST 2007


Hello,
   
  I am new to GStreamer and I was trying example launch lines mentioned in the plugins documentation. 
   
  When I run the following launch line with an avi file that only has audio/video, the thing freezes after preroll
   
  gst-launch filesrc test.avi ! avidemux name=demux  demux.audio_00 ! decodebin ! audioconvert ! audioresample ! autoaudiosink   demux.video_00 ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! autovideosink
   
  If the AVI has both audio and vide, the above works fine.
   
  I created the AVI files using the launch line specified in the avimux documentation and removed the audio part (for eg)
   
  gst-launch-0.10 videotestsrc num-buffers=250 \
! 'video/x-raw-yuv,format=(fourcc)I420,width=320,height=240,framerate=(fraction)25/1' \
! queue ! mux. \
avimux name=mux ! filesink location=test.avi
   
  If in the gst-launch when playing if I take out the audio part, the same file works fine.
   
  gst-launch filesrc test.avi ! avidemux name=demux  demux.video_00 ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! autovideosink
   
  Can you let me know what I am missing?
   
  thanks
  kannan

       
---------------------------------
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070514/b96dc5cb/attachment.htm>


More information about the gstreamer-devel mailing list