[MPlayer-users] Mencoder problem with /dev/dsp

Ron Johnson ron.l.johnson at cox.net
Sat Jul 2 14:05:12 CEST 2011



Are you running Firefox or some other sound-playing app at the same time?

Have you grepped lsof for dsp?

On 07/01/2011 10:29 PM, Prakash Sompura wrote:
> Thanks. I corrected my command to the following. But the error message has
> been changed to little, probably which also shows that /dev/dsp is  busy. I
> have pasted both below. I believe I have done some mistake in configuration
> of /dev/dsp device but I am not able to figure it out.
>
> mencoder tv:// -tv
> alsa:adevice=hw.0:driver=v4l2:input=0:norm=pal:width=640:height=480:device=/dev/video0:forceaudio:audiorate=48000
> buffersize=64 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:keyint=30 -oac
> mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -endpos 10 -o `date
> +%y%m%d_%H%M`-m.avi
>
> MEncoder SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team
> success: format: 9  data: 0x0 - 0x0
> TV file format detected.
> Selected driver: v4l2
>   name: Video 4 Linux 2 input
>   author: Martin Olschewski<olschewski at zpr.uni-koeln.de>
>   comment: first try, more to come ;-)
> Selected device: LifeView/Typhoon FlyVIDEO2000
>   Tuner cap: STEREO LANG1 LANG2
>   Tuner rxs: MONO
>   Capabilites:  video capture  video overlay  VBI capture device  tuner
> read/write  streaming
>   supported norms: 0 = NTSC; 1 = NTSC-M; 2 = NTSC-M-JP; 3 = NTSC-M-KR; 4 =
> PAL; 5 = PAL-BG; 6 = PAL-H; 7 = PAL-I; 8 = PAL-DK; 9 = PAL-M; 10 = PAL-N; 11
> = PAL-Nc; 12 = PAL-60; 13 = SECAM; 14 = SECAM-B; 15 = SECAM-G; 16 = SECAM-H;
> 17 = SECAM-DK; 18 = SECAM-L; 19 = SECAM-Lc;
>   inputs: 0 = Television; 1 = Composite1; 2 = Composite2; 3 = S-Video;
>   Current input: 0
>   Current format: BGR24
> v4l2: current audio mode is : MONO
> Error opening audio: Device or resource busy
> Error opening audio: Device or resource busy
> Error opening audio: Device or resource busy
> v4l2: 0 frames successfully processed, 0 frames dropped.
> ============ Sorry, this file format is not recognized/supported
> =============
> === If this file is an AVI, ASF or MPEG stream, please contact the author!
> ===
>

-- 
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


More information about the MPlayer-users mailing list