LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-25-2010, 09:54 AM   #16
rmt1947
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 1

Hi,

Yes, you're right: the problem is that /dev/dsp is not present. Apparently it disappears sometimes in Maverick 10.10:

https://bugs.launchpad.net/ubuntu/+s...ck/+bug/586598

I use Lucid 10.04 and /dev/dsp is not only present, but present by default (I did not need to install any compatibility packages by hand).

If /dev/dsp goes missing, mplayer has nowhere to send the audio stream from the driver and becomes unhappy. I was able to provoke mplayer's "Sorry, this file format is not recognized..." message by running your command line with my /dev/dsp renamed to /dev/wombat.

Possible cures:

(1) If you don't need audio, change your command line slightly:

Code:
mencoder tv:// -tv device=/dev/easycap0:input=1:norm=NTSC_M:width=640:height=480:noaudio -vf pp=md -o Recording -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8000
Notice there is no space in front of "height", by the way.

(2) Find a way to get /dev/dsp back into Maverick.

(3) Downgrade to Lucid.

(4) The driver could be modified to use ALSA for audio rather than OSS. This is not the preferred solution :-)

One mystery though: how can mplayer work (when called by ./test.sh) in the absence of /dev/dsp?

Mike
 
Old 08-25-2010, 10:07 AM   #17
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
thanks for the response,

Quote:
One mystery though: how can mplayer work (when called by ./test.sh) in the absence of /dev/dsp?
and or the ./test.sh does not call upon /dev/dsp to work for the test to display.
the sound does not work on the tests either, but the video will still show up, so that means the test are somehow bypassing the unhappy no dsp present.

i need sound somewhat decent so here i ask the following question |
|
\/

if you don't mind me asking how do i downgrade back to lucid without losing all my files?

Last edited by linuxishard; 08-25-2010 at 10:31 AM.
 
Old 08-25-2010, 10:36 AM   #18
rmt1947
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 1
I'd regard downgrading only as a last resort. (Whenever I've done downgrades in the past, I've usually regretted it, because eventually you are obliged to upgrade again and you then have to face the same old problems you wanted to avoid.) A downgrade involves backing up all personal files, usually by burning DVDs or by moving them across a local network to another machine for temporary storage. This is tedious and error-prone.

I don't have Maverick 10.10 on any machines here, but in Lucid 10.04 the command

aptitude show oss-compat

displays details of a package which provides /dev/dsp. If this package is available on Maverick 10.10 you could try installing it in the hope that /dev/dsp will then appear:

sudo aptitude install oss-compat

If the package is unavailable in Maverick 10.10, or if the package is available but doesn't work, I guess the next step would be to do some googling for "Ubuntu 10.10 /dev/dsp" to find out whether somebody has found a suitable workaround for the "absent /dev/dsp" problem in Maverick.

Mike
 
Old 08-25-2010, 10:48 AM   #19
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
Quote:
drew@drew-laptop:~$ aptitude show oss-compat
Package: oss-compat
State: installed
Automatically installed: no
Version: 0.0.4+nmu3
Priority: extra
Section: universe/sound
Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
Uncompressed Size: 61.4k
Depends: module-init-tools | modutils | hurd
Description: OSS compatibility package
This package ensures that OSS support is provided in some way. On Linux, it
enables the ALSA compatibility modules. On other kernels where OSS is the
default interface, no action is taken.

--->The purpose of this package is for applications that only support OSS to depend
on it, hence preventing common --->"/dev/dsp not found"<--- errors that would confuse unexperienced users.<---
i guess by the following data shown that the command worked but i can't tell at the moment but will see later tonight. as a semi-decent linux user, is there anything i should be prepared to try to fix that will come from this command?

Last edited by linuxishard; 08-25-2010 at 10:49 AM.
 
Old 08-25-2010, 11:08 AM   #20
rmt1947
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 1
If you run the command

sudo aptitude install oss-compat

and it completes without errors, then the command

ls /dev/dsp

should confirm that /dev/dsp has been created, as desired. You can then try to run your mencoder command (eliminating the space in front of "height") and see what happens. With luck you will get a rapidly growing output file ./Recording. Alternatively, try running

./test.sh 5

which should give some audio now as well as video output.

Mike
 
Old 08-25-2010, 11:16 AM   #21
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
Quote:
drew@drew-laptop:~$ sudo aptitude install oss-compat
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 144 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
it appears to be installed.

Quote:
drew@drew-laptop:~$ ls /dev/dsp
ls: cannot access /dev/dsp: No such file or directory
drew@drew-laptop:~$
 
Old 08-25-2010, 12:48 PM   #22
rmt1947
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 1
It hasn't worked, it seems. I did a little googling, but found only more bad news:

https://bugs.launchpad.net/ubuntu/+s...io/+bug/605280

https://bugs.launchpad.net/ubuntu/+bug/619013

https://answers.edge.launchpad.net/u...uestion/121773

There seems to be some history to the "no OSS in Maverick" issue which I'm not familiar with. Maybe somebody else will comment in this forum.

Downgrading to Lucid is still an option, though not to be undertaken lightly. Building a custom kernel to include OSS within Maverick seems to be an alternative, but I personally wouldn't venture that far. A third possibility is to wait for Maverick's kernel freeze scheduled for September 16th and hope that OSS has been restored by then.

Mike
 
Old 08-25-2010, 02:54 PM   #23
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
alright well my friend who is a linux user for 3 or 4 years said the best option would be to downgrade, how do i do that? if there is a way to do it would the best option be to fresh install 10.04 again from usb?

Last edited by linuxishard; 08-26-2010 at 01:09 PM.
 
Old 08-26-2010, 02:21 PM   #24
rmt1947
LQ Newbie
 
Registered: Jun 2010
Posts: 14

Rep: Reputation: 1
A fresh install of Lucid 10.04 from CD or USB stick is the only way I know, but I'm reluctant to give advice on this because I fear you'll be seriously annoyed if any valuable data is lost in the process :-(

The basic rule is: make absolutely sure that any files you want to keep are safely burned onto CD/DVD before going anywhere near the computer with the installation CD/stick.

Maybe somebody else knows a smarter way to downgrade, but personally I always do it the hard way: rock-solid backups and a clean, fresh installation.

Mike
 
Old 08-26-2010, 02:34 PM   #25
linuxishard
Member
 
Registered: Jun 2010
Distribution: Ubuntu 10.10 Netbook Remix
Posts: 81

Original Poster
Rep: Reputation: 16
no fear my man no fear. i have no personal files on this computer, only use it for personal use such as internet, all my files are on a dell. which still has Winduhs on it. :P. i just want to say thanks for all your help and if you ever need anything email me.

brandon8mom@hotmail.com
brandon8mom@gmail.com

youtube channels:
chocolatemlkman
GamersWalk

xbox live gamertag:
chocolatemlkman

thanks again, and i hope too hear from you sometime.

Michael

Last edited by linuxishard; 08-26-2010 at 02:37 PM.
 
Old 09-27-2011, 11:45 PM   #26
ihavequestions
LQ Newbie
 
Registered: Sep 2011
Posts: 15

Rep: Reputation: Disabled
I've yet to see anything for the EasyCap 2.0 USB DC60 that has a USB ID:

Bus 001 Device 012: ID 1b71:3002


I installed the DC60 driver from Sourceforge but it didn't produce a video file in /dev/ like /dev/video1 or /dev/video#

How do I get mine to work? I have Ubuntu 10.10.
 
  


Reply

Tags
sun java6, sun java6 jdk


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
Why won't my Easycap video capture device show up for my Linux driver? Bkowalch Linux - Hardware 8 06-06-2011 08:51 PM
.DWF viewer or CAD viewer redline1022 Linux - Software 3 04-27-2011 04:38 PM
EasyCap usb code: saa7113h kpg06482 namit Linux - Software 3 07-22-2010 08:10 AM
Easycap seecam Linux - Hardware 4 02-25-2010 05:50 AM
realvnc viewer works in browser but not w/ Viewer gtjr92 Linux - Software 6 04-14-2007 02:10 PM


All times are GMT -5. The time now is 12:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration