You are not logged in.
Pages: 1
Hello,
My computer has a tuner card (saa7134) with 2 composites. With tvtime, i can get both of sound and video (using the loopback trick for sound), but i do not know how i can make a record of it.
I can't even open /dev/video0 using mplayer (and mencoder), so if anyone can help...
Regards,
RS
Offline
I haven't done it, but I'm guessing perhaps dvgrab with the -noavc option?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
My tuner card is also saa7134, and if by the “loopback trick” you mean the sound output of the tuner card being physically connected to the corresponding slot on the sound card, this matches too. (Which means that tuner card’s sound is on the ‘CD’ channel in ALSA.)
I watch tv with mplayer with this code:
# List of available channels at my site
channels=R6-m1,53-rtl,36-tv2,22-videó
mplayer -vf pp=lb -tv channels=$channels:normid=5:tdevice=/dev/video0 tv:// -ontop
And I record with this:
channels=R6-m1,53-rtl,36-tv2,22-videó
# Set sound card channels
amixer sset Capture 3,3 cap
amixer sset CD 28,28 unmute cap
mencoder -vf pp=lb -tv channels=$channels:normid=5:input=0:width=640:height=480 \
-ovc lavc -lavcopts vbitrate=600:vcodec=mpeg4 \
-oac mp3lame -lameopts cbr:br=64 \
tv:// -o out.avi
You may have to change most options to your needs.
Note that since udev-171 OSS emulation modules are not autoloaded, so you may have to manually modprobe snd-pcm-oss for recording.
I hope it helps.
edit: typo
Last edited by barto (2011-06-09 17:01:13)
“First principle, Clarice. Simplicity” – Dr. Hannibal Lecter
Offline
Here is what i call the sound trick
pactl load-module module-loopback
then unmute in pavucontrol, but i'll try your solution, thx to both of you !
Offline
Ok, then this trick is something I’m not familiar with. I don’t use pulseaudio, just pure alsa.
“First principle, Clarice. Simplicity” – Dr. Hannibal Lecter
Offline
Pages: 1