LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ati tv wonder mencoder recording vhs tape (https://www.linuxquestions.org/questions/linux-general-1/ati-tv-wonder-mencoder-recording-vhs-tape-313853/)

pld 04-16-2005 10:05 AM

ati tv wonder mencoder recording vhs tape
 
Not sure which forum this belonged in, so I figured i would try general, and if it gets more specific one of our wonderful admins can move it for me...

I am using an ati tv-wonder pci card on my abit nf7-s mobo with fc2. i have the video 4 linux 2 drivers installed (i think its a bttx chipset on the vid card).

i CAN watch tv no problem on my system now, but i have to transfer some old hi-8 tapes to a dvd, and wanted to get the video onto my main box for processing to mpeg.

I just upgraded mplayer to the latest release ( 1.0pre6-3.3.3 ). I wanted to use mencoder to capture on the composite input of the tv-wonder card, and to encode it to something i can use later for authoring a DVD.

To test things out I tried running
Code:

mplayer -tv driver=v4l2:device=/dev/video0 tv://5
This got me a heavily distorted television image, and no sound.

So, my first question (and most important) is how to get sound!

Now, the ati tv-wonder has an audio output that i am physically looping into an input on my soundcard currently to listen to tv in programs like tvtime. I have a small script to turn that sound input on/off when watching tv. the script i use to start tvtime is:

Code:

#!/bin/sh
#Unmute AUX (tuner line-in)
amixer sset Line,0 playback on
#Launch tvtime
tvtime -x /dev/mixer:vol
#Mut AUX
amixer sset Line,0 playback off

So i use amixer to set line 0 on when i need sound. would this be all that i need to get sound into mencoder to record something? i think i tried it last night, but with no results (the output from mplayer was no audio).

can anyone shed any light on this by chance? or have any tips on where to go to successfully record a tv show/input on my vid card with mencoder?

tia all!

pld 04-16-2005 10:50 AM

Okay, got things to work, sort of:

my command line to record was:
Code:

[pld@mother tmp]$ mencoder -tv driver=v4l2:device=/dev/video0 tv://8 -o /mnt/big/tmp/test.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=600 -oac mp3lame
this got me a recording with sound, but some strange buzzing noise in it as well. figure i have to just tune things a little bit more from here to get it to work.

only thing is the video is still horribly distorted. any thoughts?

pld 04-19-2005 08:57 PM

bump!

I am still getting a "ghosted" double image when watching tv in mplayer. Its almost as if the image is doubled up and offset vertically by a hundred or so pixels on my screen...

yet it works fine with tvtime...

can anyone shed some light on this?


All times are GMT -5. The time now is 05:44 PM.