Aver TV + Mplayer + Nahravanie + Zvuk

Sekcia: Aplikácie & Desktop 29.10.2007 | 02:43
Kiwi   Návštevník
# 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/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 ?
    • Re: Aver TV + Mplayer + Nahravanie + Zvuk 29.10.2007 | 02:50
      Kiwi   Návštevník
      Takze uz to nahrava aj zo zvukom, huraaaaaaaaaaaaaaa.
      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
      • Re: Aver TV + Mplayer + Nahravanie + Zvuk 29.10.2007 | 02:51
        Kiwi   Návštevník
        Sorry, so zvukom :)
    • Re: Aver TV + Mplayer + Nahravanie + Zvuk 18.03.2008 | 21:02
      miso   Návštevník
      da sa to niekde stiahnut?