[MPlayer-users] audio static

James Mills prologic at shortcircuit.net.au
Mon Apr 4 18:44:03 CEST 2005


Hi,

WHen capturing from my tv card with mencoder, I get some static in the audio output. I don't normally get this static when using programs like xawtv...

I use the script vcr (See attached file).

I'd like to know if there is a solution to this, thanks.

cheers
James

-- 
--
-"Problems are Solved by Method"
-
-------------- next part --------------
#!/bin/bash

channel=${1}
length=${2}
file=${3}

audio=/dev/sound/dsp
video=/dev/v4l/video0
driver=v4l2
vcodec=mpeg4
vbitrate=4000
acodec=mp3
abitrate=256
framerate=24
frames=$(( $length * $framerate ))

v4lctl setstation $channel
aumix -l 100 -l R

mencoder tv:// -tv \
driver=$driver:device=$video:mjpeg:decimation=1:\
adevice=$audio:amode=1 \
-ovc lavc -lavcopts vcodec=$vcodec:vhq:vbitrate=$vbitrate \
-oac lavc -lavcopts acodec=$acodec:abitrate=$abitrate \
-ofps $framerate -frames $frames \
-o $file

aumix -l 0


More information about the MPlayer-users mailing list