Forum Archive Home -> Linux -> Setup Hauppauge WinTV PVR-350
Setup Hauppauge WinTV PVR-350 | ||||||
| DaveQB posted 2009 Oct 04 04:11 | ||||||
| Hi all,
I had said card in my mythtv box working flawlessly. Now I have a digital card in mythtv I am trying to use the PVR-350 on my desktop. I just want to capture S-VIDEO in, which seems to equal the /dev/video1 device. I do not have this.
Running:
Results in a file I can play but full of snow. So I have concluded that's the TV/coax input which I don't want. All the other devices don't cat anything but an empty file. So is it that I am missing /dev/video1 my problem? Is it a kernel module problem or a modprobe loading issue? Thanks | ||||||
| disturbed1 posted 2009 Oct 04 10:18 | ||||||
| You can use the v4l2-ctl tools to change the input selection.
http://www.ivtvdriver.org/index.php/V4l2-ctl /dev/video0 is the multiplexed stream (audio+video), /dev/video16 /dev/video24 /dev/video32 /dev/video48 are each different things, VBI, raw YUV input, raw PCM input, sometimes other things, depending on the card's capabilities. [edit] if you read the code block you posted, it explains what the video24/32... are for on your card ;) [/edit] 1st tuner = /dev/video0 2nd tuner = /dev/video1 3rd tuner = /dev/video2 ---- 12th tuner = /dev/video11 With the PVR 150/250/350 the tuner, S-Video (1,2) and Composite (1,2) inputs are all accessed through one multiplexed stream. Since these cards can not receive more than one signal at a time, it only creates a single /dev/video# device. With the PVR 500 (dual tuners) that can receive 2 streams at one time you have /dev/video0 and /dev/video1. With the hybrid tuners (HVR1600) you get a /dev/video0 (analog inputs) and /dev/dvb/adapter0/frontend0, the next digital card would be /dev/dvb/adapter1/frontend0. If the digital tuner had 2 digital inputs (or a single multiplexed tuner) they would be /dev/dvb/adapter0/frontend0 and frontend1. Each of those devices would in turn, also have their own /dev/video* for VBI, YUV, and PCM. | ||||||
| DaveQB posted 2009 Oct 04 22:43 | ||||||
Thanks disturbed. I did see what each device was for, but none are providing Svideo. So Svideo will be coming through /dev/video0? Cool. So I just need a way to flick it over to Svideo rather than coax. I looked at v4l2-ctl but couldn't see a way to change the input. I'll check it out again. | ||||||
| disturbed1 posted 2009 Oct 04 23:01 | ||||||
That's correct, just need to toggle the input. Depending on the version of v4l2-ctl you have - running v4l2-ctl -h will give a list of options look for something like list inputs
On my HVR1600 Composite 1 and S-Video 1 are on the rear of the card, while Composite 2 and S-Video 2 are internal headers. If I wanted to capture using S-Video 1 (the S-Video jack on the rear) I would pass v4l2-ctl --set-input 1 | ||||||
| DaveQB posted 2009 Oct 05 04:27 | ||||||
| Oh thank you so much disturbed :0
It was right under my nose the whole time; I did find v4l2-ctl but never found these options. Thanks alot. PS So it defaults back to input 0 after reboot? Must be a way to set it on reboot. Maybe an rc file of some sort. Thanks again! | ||||||
| disturbed1 posted 2009 Oct 05 12:59 | ||||||
It would depend on your distro's startup routine. With Slackware I would just edit my /etc/rc.d/rc.local file. Or create a script (or one for each input) and execute it at will.
Other distros use cryptic rc.{0-6} folders with K##.script and S##.script, with symlinks here and there. The K##.script is for killing/stopping the script and S##.script is for starting the script. The ## is the order in which they are executed S02.script is ran before S22.script. The rc.{0-6} are the run levels in which the scripts are executed. | ||||||
| DaveQB posted 2009 Oct 05 16:44 | ||||||
| Thanks disturbed1 I have an idea on the the sys-v and bsd style boot methods, I think I didn't word my question well. :oops:
I was thinking more along the lines of: ~/.ivtvrc Type of setup. But my searching shows nothing of the sort. On well I'll have to use rc.local or put it in my capture script. Here's another one, I was looking at all the other options with v4l2-ctl and then /dev/video0 stopped producing anything. So rmmod and modprobe the ivtv module which normally works and now when I try to change inputs /dev/video0 produces nothing. I read the PVR-350 gets hots, so gave it last night to cool and tried again this morning but same result. Ever experienced this? I haven't rebooted so that is still to try. This is frustrating. :( Thanks. :) | ||||||
| DaveQB posted 2009 Oct 18 17:41 | ||||||
| All working now.
One must have a video signal sent on the S-Video channel in order for it to capture anything. Unlike the tuner where its always grabbing a signal, S-Video only grabs signal when you are playing a tape in the VHS hooked up to it, for example. It does capture after the tape stops for a bit, but then captures nothing, so that confused me. So the script I run, currently, so setup ivtv before I capture is:
Don't mind the commented part, that's that form my testing. Thanks disturbed1 for your help! | ||||||
| disturbed1 posted 2009 Oct 18 21:43 | ||||||
Glad you got everything working. Thanks for posting that script. I don't capture from anything but the tuners on my HVR1600 and PVR150's. About the heat thing with the PVR350 - I know my PVR500 would get pretty toasty. I ended up ditching it for 2 PVR150 clones instead. With MythTV, sometimes the PVR500 would initialize and start a recording, then error out in the middle, drop packets, audio issues ......... I did conclude it was heat, if I stuck a huge loud fan blowing directly on the card, it ran for 24hours without issue. I opted for separate cards with smaller and quieter fans. No issues for the last few months. I've been planning on archiving some old VHS tapes to DVD for a while now. Picked up a few concert tapes that are not on DVD for $1.99 at the local used CD/DVD shop. You're script will come in handy :) | ||||||
| DaveQB posted 2009 Oct 18 22:56 | ||||||
| No worries disturbed1
I am glad I could repay your tremendous help a little bit. Once I get this S-video cable, picture quality issue resolved [got a thread over in capturing forum] then I am back to converting VHS tapes which I have been doing for years but with analog cards. Thanks once again! |
Login/Register to our forum to be able to post here.
