LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to release a busy resource (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-release-a-busy-resource-4175468093/)

yougant 07-01-2013 11:04 PM

How to release a busy resource
 
Hi,

I am using fedora when i run a command to watch live video in mplayer i get the error :

v4l2: ioctl set format failed: Device or resource busy
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.

any idea how to release the resource/device??

John VV 07-01-2013 11:37 PM

This is the terminal only Mplayer ?
or the fedora default Gnome-mplayer gui

is gstreamer being used ?
If so are the "good, bad, and ugly" plugins installed ?

or did you install the very old 2006 all codec package or the newer 2011 all codec

for Fedora 18 see the mjmwired page
http://www.mjmwired.net/resources/mj...l#mediaplayers

then go from there

yougant 07-02-2013 01:57 AM

yes i have the gstreamer running and i have the good, bad, ugly plugins installed.

actually i am trying to run stb tester an application for testing set top box

John VV 07-02-2013 07:19 PM

from their web page
http://stb-tester.com/getting-started.html
Quote:

GStreamer primer

stb-tester is built on top of GStreamer, a library of media-handling components. So first of all install the gstreamer and gstreamer-plugins-base packages.1 stb-tester requires GStreamer 0.10 — the newer 1.0 is not backwards compatible.
the very NEW version of "GStreamer" in the current fedora 18 / 19 is going to be way too new
see the referance"#2" for fedora18
Quote:

[2] On Fedora 18, for example, GStreamer 0.10 packages are called "gstreamer", "gstreamer-plugins-base", etc., while GStreamer 1.0 packages are "gstreamer1", "gstreamer1-plugins-base", etc.
fedora will install the new version by default as a dependency for any multimedia rpm needing it

there IS a fedora 18 repo on the suse openbuild service
http://download.opensuse.org/reposit...ter/Fedora_18/
it is advised to use that and install "stb-tester" using yum

yougant 07-03-2013 12:05 AM

i have all the required packages installed i wanted to know how to free the resource which is being used

John VV 07-03-2013 12:31 AM

Quote:

v4l2: ioctl set format failed: Device or resource busy
v4l2: ioctl set mute failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
what is the full command you are passing to "video for linux 2 " ?
it is telling you that a "Invalid argument" is being past


All times are GMT -5. The time now is 08:35 PM.