LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2013, 11:04 PM   #1
yougant
LQ Newbie
 
Registered: Jun 2013
Posts: 15

Rep: Reputation: Disabled
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??
 
Old 07-01-2013, 11:37 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,068

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
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
 
Old 07-02-2013, 01:57 AM   #3
yougant
LQ Newbie
 
Registered: Jun 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
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
 
Old 07-02-2013, 07:19 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,068

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
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

Last edited by John VV; 07-02-2013 at 07:25 PM.
 
Old 07-03-2013, 12:05 AM   #5
yougant
LQ Newbie
 
Registered: Jun 2013
Posts: 15

Original Poster
Rep: Reputation: Disabled
i have all the required packages installed i wanted to know how to free the resource which is being used
 
Old 07-03-2013, 12:31 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,068

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Device or resource busy oehq Linux - Hardware 1 01-20-2010 08:47 AM
resource busy mehro Linux - Software 2 02-02-2006 01:11 AM
Device or resource busy mikedurant Linux - Newbie 4 03-29-2005 07:52 PM
Device or Resource Busy deepfrybonanza Linux - Wireless Networking 1 02-18-2005 03:27 PM
Device or resource busy teeno Linux - Newbie 3 03-09-2004 10:12 AM


All times are GMT -5. The time now is 06:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration