[MPlayer-users] Mencoder problem with /dev/dsp
Prakash Sompura
pssompura at gmail.com
Sat Jul 2 05:29:42 CEST 2011
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!
===
Please help.
On 30 June 2011 23:12, Andy Furniss <andyqos at ukfsn.org> wrote:
> Prakash Sompura wrote:
>
>> I have Philips Semiconductors SAA7130 Video Broadcast Decoder (rev 01)
>> Multimedia controller. I am using Fedora13 kernel
>> 2.6.34.8-68.fc13.i686.PAE.
>>
>> I am trying to record TV by command:
>> mencoder tv:// -tv driver=v4l2:input=0:norm=pal:**width=640:height=480:
>> device=/dev/video0:forceaudio:**audiorate=32000 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
>>
>> And I am getting following output with /dev/dsp busy error.
>>
>
> I've no idea how this will work if F13 has pulseaudio as I've never used
> it.
>
> You could try using alsa eg.
>
> ...:alsa:adevice=hw.3
>
> Change the number at the end to match the saa sound device as shown by
> cat /proc/asound/cards
>
> You may also need to run as root alsamixer and unmute the device (but this
> may not show if pulseaudio is installed).
>
> also try audiorate=48000
>
>
More information about the MPlayer-users
mailing list