[opensuse] Mplayer & TV Capture
Hi, I have been trying various scripts to see if I can get mplayer to display input to a tv capture card in my computer without success. The tv capture card is a ATI tv wonder pro. I use a video player to play old videos to my computer through the tv card in WinXP, and then use Nero to convert it to Mpeg to write to DVD. I would like to learn how to get this running in Linux, but the best I have been able to achieve is snow on all the channels except the one on which the video is playing. On that channel, I have a black screen with some lines, but no picture. I have tried several scripts, here is the one most recently used with the results described above: mplayer tv:// -tv driver=v4l2:input=0:norm=ntsc:width=640:height=480:device=/dev/video0:\ freq=61.25:adevice=/dev/dsp1:forceaudio:audiorate=32000 Would someone with knowledge of the parameters be able to advise me how to modify the script so that it will work for the purposes that I have outlined? Thanks, Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 20 May 2008 17:37:23 Mark Misulich wrote:
Hi, I have been trying various scripts to see if I can get mplayer to display input to a tv capture card in my computer without success. The tv capture card is a ATI tv wonder pro. I use a video player to play old videos to my computer through the tv card in WinXP, and then use Nero to convert it to Mpeg to write to DVD. I would like to learn how to get this running in Linux, but the best I have been able to achieve is snow on all the channels except the one on which the video is playing. On that channel, I have a black screen with some lines, but no picture.
I have tried several scripts, here is the one most recently used with the results described above:
mplayer tv:// -tv driver=v4l2:input=0:norm=ntsc:width=640:height=480:device=/dev/vide o0:\ freq=61.25:adevice=/dev/dsp1:forceaudio:audiorate=32000
Would someone with knowledge of the parameters be able to advise me how to modify the script so that it will work for the purposes that I have outlined?
Thanks, Mark
change input= with some other number. mplayer should show a list of number->source descriptions -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Nico Sabbi wrote:
change input= with some other number. mplayer should show a list of number->source descriptions
Hi, I looked over the man page on this and found that there were 3 choices available. 0=tv, but I tried the other two and even others up through 10. There was no change, still not displaying the input to the tv card. Mark Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Il Friday 23 May 2008 23:32:39 hai scritto:
Nico Sabbi wrote:
change input= with some other number. mplayer should show a list of number->source descriptions
Hi, I looked over the man page on this and found that there were 3 choices available. 0=tv, but I tried the other two and even others up through 10. There was no change, still not displaying the input to the tv card.
Mark Mark
look at my log: Playing tv://. TV file format detected. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski <olschewski@zpr.uni-koeln.de> comment: first try, more to come ;-) Selected device: LifeView FlyDVB Trio Tuner cap: STEREO LANG1 LANG2 Tuner rxs: MONO Capabilites: video capture video overlay VBI capture device tuner read/write streaming supported norms: 0 = PAL; 1 = PAL-BG; 2 = PAL-I; 3 = PAL-DK; 4 = NTSC; 5 = SECAM; 6 = SECAM-DK; 7 = SECAM-L; 8 = SECAM-Lc; 9 = PAL-M; 10 = PAL-Nc; 11 = PAL-60; ----> inputs: 0 = Television; 1 = S-Video; 2 = Composite1; 3 = Composite2; Current input: 0 Current format: BGR24 how does your log read? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mark Misulich wrote:
Hi, I have been trying various scripts to see if I can get mplayer to display input to a tv capture card in my computer without success. The tv capture card is a ATI tv wonder pro. I use a video player to play old videos to my computer through the tv card in WinXP, and then use Nero to convert it to Mpeg to write to DVD. I would like to learn how to get this running in Linux, but the best I have been able to achieve is snow on all the channels except the one on which the video is playing. On that channel, I have a black screen with some lines, but no picture. I have tried several scripts, here is the one most recently used with the results described above:
mplayer tv:// -tv driver=v4l2:input=0:norm=ntsc:width=640:height=480:device=/dev/video0:\ freq=61.25:adevice=/dev/dsp1:forceaudio:audiorate=32000
Would someone with knowledge of the parameters be able to advise me how to modify the script so that it will work for the purposes that I have outlined?
Thanks, Mark
I had to eliminate the driver=v4l2 because my machine raised hell about it, although with no driver chosen, it still chose v4l2. Other than that I changed the freq to get channel 4 where I have a DirecTV box connected, and the device to video1 because my webcam is video0. What channel is set in the video player, i.e. what channel is 61.25? On mine 67.14 is channel 4 which is usually one of the choices in a video player. BTW, thanks for you question. This is the first time I have ever got the TV to play through Mplayer, and it is far superior to kdetv. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ed Harrison wrote:
Mark Misulich wrote:
Hi, I use scantv in konsole to find out the active channel, which is either channel 3 or 4 depending on what the video player alternates to on respective startup. The script was set for channel four, I believe. There is a way to switch channels with the keyboard, which is what I was doing so I could check through the channels. I am using NTSC-M and US broadcast frequencies. I tried to use the v4l2 and the v4l drivers, neither worked. On rereading your post I will next try leaving the driver out next time and see what happens. Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Mark Misulich wrote:
Ed Harrison wrote:
Mark Misulich wrote:
Hi, I use scantv in konsole to find out the active channel, which is either channel 3 or 4 depending on what the video player alternates to on respective startup. The script was set for channel four, I believe. There is a way to switch channels with the keyboard, which is what I was doing so I could check through the channels. I am using NTSC-M and US broadcast frequencies.
I tried to use the v4l2 and the v4l drivers, neither worked. On rereading your post I will next try leaving the driver out next time and see what happens. Mark
Channel 3 is 61.25 and channel 4 is 67.25. I set frequency to us-broadcast; it seems to work better than us=cable. I like your script because I can tinker with the frequency of the channel to fine tune the picture; 67.15 seems to work best for channel 4 on mine. These TV cards have little cheap tuners and I think mine is just off by that little bit. I sure am enjoying TV through Mplayer. Ed -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Ed Harrison
-
Mark Misulich
-
Nico Sabbi