GNOME Bugzilla – Bug 347806
[v4l2src] try_capture(): Error getting buffer information: device or ressource is busy
Last modified: 2007-03-02 09:53:58 UTC
Please describe the problem: I have installed flumotion nd I can't set it up because it shows an error that it can't access /dev/video0 and hw:1 (sound devices but this happens with all); so I tryed to run it as root, but now it still is unable to record it says that the device is busy.... How can it be busy? Tvtime can show videos fine; same for arecord for the soundcard. Steps to reproduce: 1. install flumotion and run the setup wizard 2. notice that it is broken (device or resource busy) Actual results: it refuses to select a video soure (TV,composite, svideo) Expected results: it should be able to grab frames from the v4l2 device and record audio from my soundcard. Does this happen every time? yes Other information: The TVcard is a saa7134 based one (MSI TV@anywhere A/D)
errormessage translated from german: ----------------------------- Internal GStreamer error. Debug information: Could not read from ressource gst-resource-error-quark: 9 v4lsrc_calls.c(460): gst_v4lsrc_try_capture (): /pipeline5/source: Error getting buffer information: The device or ressource is busy ----------------------------
should this not be in flumotion's trac https://core.fluendo.com/flumotion/trac ?
for me this looks like an gstreamer error.
could you please download lastest GStreamer version (from CVS) including gst-plugins-bad and try: gst-launch-0.10 -v v4l2src ! xvimagesink ... if you get errors please try gst-launch-0.10 -v --gst-debug=*v4l2*:5 v4l2src ! xvimagesink . Edgard
v4l2src has been cleaned-up/fixed in lots of respects and moved to gst-plugins-good in CVS. Could you please try the version in gst-plugins-good CVS and create a full debug log with GST_DEBUG=*v4l2*:5 gst-launch-0.10 v4l2src ! ffmpegcolorspace ! xvimagesink 2>dbg.log either using gst-launch as Edgard suggested or using flumotion, doesn't matter.
ok I don't have time now, will provide this info this weekend
Ping? :) (Really shouldn't take more than a few minutes to create a debug log.)
I only get this line in the log: New clock: GstSystemClock and a black X window flumotion still says that the device is busy
sorry for beeing stupid I tyred again and it seems that gst-launch can play a video without any problems from my tv card. can gst-launch also play sound? if yes please tel me how that means that I can atleast watch videos with sound. flumution still complains that the device is busy
good. yes, you can play sound. there are two approach I have seen: 1- (internal card) and it has an audio output jack ... you can connect your head-phone to it (or connect it to the in-line/mic-line input of your sound card and then use alsasrc ! alsasink) 2- (usb cards) it creates an alsa device in your system, do alsasrc device=your-v4l2-device ! alsasink btw: you must have the newest version of v4l2src plugin so that you can MUTE/UNMUTE BR, Edgard
> I tyred again and it seems that gst-launch can play a video without any > problems from my tv card. Right, so at least the basics on the GStreamer side seem to work then. > can gst-launch also play sound? It can, but gst-launch is really just a tool for developers to quickly test some things. > flumution still complains that the device is busy Sounds like you should file a bug against flumotion then, they will have a better idea how to track this down in the context of flumotion: https://core.fluendo.com/flumotion/trac
ok one more question: how can I fill a bug against flumotion? there is no button "new bug" or something like that
found it
closing, reopen if this is still relevant for gstreamer.