After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 347806 - [v4l2src] try_capture(): Error getting buffer information: device or ressource is busy
[v4l2src] try_capture(): Error getting buffer information: device or ressourc...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal major
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-17 16:54 UTC by drago01
Modified: 2007-03-02 09:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description drago01 2006-07-17 16:54:06 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)
Comment 1 drago01 2006-07-17 17:13:39 UTC
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
----------------------------
Comment 2 Zaheer Abbas Merali 2006-07-25 19:04:16 UTC
should this not be in flumotion's trac https://core.fluendo.com/flumotion/trac ?
Comment 3 drago01 2006-07-26 06:02:05 UTC
for me this looks like an gstreamer error.
Comment 4 Edgard Lima 2006-09-14 21:14:11 UTC
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
Comment 5 Tim-Philipp Müller 2006-10-17 17:00:41 UTC
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.

Comment 6 drago01 2006-10-17 17:50:31 UTC
ok I don't have time now, will provide this info this weekend
Comment 7 Tim-Philipp Müller 2006-10-26 18:26:58 UTC
Ping? :) 

(Really shouldn't take more than a few minutes to create a debug log.)

Comment 8 drago01 2006-10-26 18:38:55 UTC
I only get this line in the log:
New clock: GstSystemClock
and a black X window
flumotion still says that the device is busy
Comment 9 drago01 2006-10-27 13:49:09 UTC
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
Comment 10 Edgard Lima 2006-10-30 12:44:25 UTC
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
Comment 11 Tim-Philipp Müller 2006-10-30 12:59:01 UTC
> 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

Comment 12 drago01 2006-10-30 13:28:54 UTC
ok 
one more question:
how can I fill a bug against flumotion?
there is no button "new bug" or something like that
Comment 13 drago01 2006-10-30 13:32:43 UTC
found  it
Comment 14 Wim Taymans 2007-03-02 09:53:58 UTC
closing, reopen if this is still relevant for gstreamer.