[MPlayer-users] Trouble with grab tv via mencoder
yopt
prayer at list.ru
Sun Dec 24 14:33:05 CET 2006
On Sun, 24 Dec 2006 15:06:46 +0200
Hans du Plooy <koffiejunkielistlurker at koffiejunkie.za.net> wrote:
> On Sun, 2006-12-24 at 13:08 +0300, yopt wrote:
> > > mencoder tv:// -tv
> > > driver=v4l2:width=768:height=576:norm=pal:input=1:alsa:adevice=hw.1,0
> > > -oac lavc -ovc lavc -lavcopts
> > > vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3
> > > -of mpeg -mpegopts format=dvd -vf scale=720:657,harddup -srate
> > > 48000 -af lavcresample=48000 -ofps 25 -o test.mpeg
> > >
> > > This gives you a video stream that's ready to be put on a (PAL)
> > > DVD. Note I'm using an external USB TV turner, so you'll have to
> > > make sure your device names are correct for your setup.
> > >
> > > hope this helps
> >
> > this good, but i cannot use alsa:adevice=hw.1,0 options. I have
> > FreeBSD, there is no alsa and v4l.
> > At least thank for reply.
>
> That's why I said you'll have to change the device names for your
> setup. How do you usually select the sound device on FreeBSD? Last
> time I used FreeBSD, as far as I remember, it used OSS.
>
I don't need to select sound devices, all programs use /dev/dsp or
artsd (if program is part of kde). For example: xmms and
mplayer uses /dev/dsp, SIM uses artsd.
In my sysctl:
hw.snd.maxautovchans: 4
so 4 programs can access sound card for playing sound in same time.
Yes, OSS.
More information about the MPlayer-users
mailing list