[MPlayer-users] Mencoder problem with /dev/dsp
Andy Furniss
andyqos at ukfsn.org
Thu Jun 30 19:42:57 CEST 2011
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