Hi,
I'm using gstreamer 0.10.20 and AVLD as a dummy v4l device (http://allonlinux.free.fr/Projets/AVLD/ version 0.1.4). I don't know if what I'm trying is really possible but people claim to have used AVLD successfully for this so I'm hoping I've just got something wrong in the pipeline I'm using. modprobe avld palette=9 depth=24 fps=10 width=320 height=240 gst-launch-0.10 dv1394src ! queue ! dvdemux ! ffdec_dvvideo ! videoscale ! ffmpegcolorspace ! video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! filesink location=/dev/video0 buffer-mode=2 # This seems happy enough Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock # mplayer accepts it and plays the video mplayer tv:// -tv "driver=v4l:device=/dev/video0:noaudio:outfmt=uyvy" # When I try to open it with gstreamer (or via gstreamer-properties etc.): gst-launch-0.10 v4lsrc ! xvimagesink # it says: Error running pipeline 'Video for Linux (v4l)': Could not read from resource. [v4lsrc_calls.c(183): gst_v4lsrc_capture_init (): /pipeline1/v4lsrc2: Not enough buffers. We got 1, we want at least 2] Any ideas? Thanks, Cillian ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
hi,
Cillian de RĂ³iste schrieb: > Hi, > > I'm using gstreamer 0.10.20 and AVLD as a dummy v4l device > (http://allonlinux.free.fr/Projets/AVLD/ version 0.1.4). I don't know > if what I'm trying is really possible but people claim to have used > AVLD successfully for this so I'm hoping I've just got something wrong > in the pipeline I'm using. > > modprobe avld palette=9 depth=24 fps=10 width=320 height=240 > > gst-launch-0.10 dv1394src ! queue ! dvdemux ! ffdec_dvvideo ! > videoscale ! ffmpegcolorspace ! > video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! filesink > location=/dev/video0 buffer-mode=2 > > # This seems happy enough > Setting pipeline to PAUSED ... > Pipeline is live and does not need PREROLL ... > Setting pipeline to PLAYING ... > New clock: GstSystemClock > > # mplayer accepts it and plays the video > mplayer tv:// -tv "driver=v4l:device=/dev/video0:noaudio:outfmt=uyvy" > > # When I try to open it with gstreamer (or via gstreamer-properties etc.): > gst-launch-0.10 v4lsrc ! xvimagesink > # it says: > Error running pipeline 'Video for Linux (v4l)': Could not read from > resource. [v4lsrc_calls.c(183): gst_v4lsrc_capture_init (): > /pipeline1/v4lsrc2: > Not enough buffers. We got 1, we want at least 2] > Can this also do v4l2? v4l is deprected. gstreamer v4l2src has a queue-size property which you could set to 1. or make a patch to gstreamers v4lsrc to also have a queue-size property (you can copy the code almost 1:1 from v4l2src) and hope that this fixes the problem :) Stefan > Any ideas? > > Thanks, > Cillian > > ------------------------------------------------------------------------------ > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |