NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Recording from TV Card

On Thu, Jan 22, 2009 at 11:36:31AM +0100, Menuhin Saitov wrote:
> Hi,
> i want to record a tv stream from TV Card,
> the issue is that i have no sound , i have connected the card with vhs  
> player but i can't record sound, the video is working correctly.
> I am trying with mencoder to accomplish this, how can i record with  
> audiorecord from the line in channel but should be on same time

I'll assume this is bktr(4).

What I've used:

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
  -vf scale=720:480 -srate 48000 \
  -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=7000:\
keyint=18:vstrict=0:acodec=ac3:abitrate=192:aspect=4/3 -ofps 30000/1001 \
  -fps 30000/1001 -o movie.mpg \
  -tv driver=bsdbt848:input=0:norm=ntsc:width=720:height=480:fps=30000/1001:\
audioid=0:audiorate=48000:adevice=/dev/sound tv:// -hr-edl-seek -edl bktr.edl

The important part is probably the audiorate=48000:adevice=/dev/sound part
of the -tv options.

Hope that helps.

        Jonathan Kollasch

Home | Main Index | Thread Index | Old Index