Aver TV + Mplayer + Nahravanie + Zvuk
o=encoded.avi
# The next 4 lines allow mencoder tv:// to start capturing immediately.
oac=pcm=yes
ovc=lavc=yes
lavcopts=vcodec=mjpeg
tv=driver=v4l2:normid=1:input=0:width=768:height=576:chanlist=europe-east:outfmt=yuy2:device=/dev/video0:volume=100:immediatemode=0:channel=R15:adevice=/dev/dsp:audiorate=44100:amode=1
# more complex default encoding option set
lavcopts=vcodec=mpeg4:autoaspect=1
lameopts=aq=2:vbr=4
ovc=lavc=1
oac=lavc=1
passlogfile=pass1stats.log
noautoexpand=1
subfont-autoscale=3
subfont-osd-scale=6
subfont-text-scale=4
subalign=2
subpos=96
spuaa=20
Takze konecne sa mi podarilo prehravat a nahravat
video z mojej TV karty, lenze je tu problem.
Video prehrava bez zvuku.
Ale pomocou tohto premerovania ide aj zvuk.
sox -c 2 -sw -r 38000 -t ossdsp /dev/dsp1 -t ossdsp /dev/dsp
Ked vsak nahravam mencoderom s hore uvedenym konfigurakom,
tak mi nahrava len obraz, ale zvuk nie ?
Prosim Vas, vie mi niekto poradit ako dalej ?
Pre pridávanie komentárov sa musíte prihlásiť.
configurak ma byt takyto:
# Make MEncoder output to a default filename.
o=encoded.avi
# The next 4 lines allow mencoder tv:// to start capturing immediately.
oac=pcm=yes
ovc=lavc=yes
lavcopts=vcodec=mjpeg
tv=driver=v4l2:normid=1:input=0:width=768:height=576:chanlist=europe-east:outfmt=yuy2:device=/dev/video0
:volume=100:immediatemode=0:channel=R15:adevice=/dev/dsp1:audiorate=32000:amode=1
# more complex default encoding option set
lavcopts=vcodec=mpeg4:autoaspect=1
lameopts=aq=2:vbr=4
ovc=lavc=1
oac=lavc=1
passlogfile=pass1stats.log
noautoexpand=1
subfont-autoscale=3
subfont-osd-scale=6
subfont-text-scale=4
subalign=2
subpos=96
spuaa=20