[streaming] Tuning help with PVR-500

Warren Young warren at etr-usa.com
Mon Apr 23 23:11:08 CEST 2007


I'm trying to stream MPEG-2 video directly from a Hauppauge PVR-500. 
This is basically just two PVR-150s on a single card, so if you have 
that working, it's probably relevant to this, too.

I can get it to send a video stream out over the network fine, but it's 
always just static of some sort.  I'm guessing that it isn't setting the 
card up correctly.

I know the card works, since I can get a valid MPEG file out with "cat 
/dev/video0 > foo.mpg" after using ivtvctl and ivtv-tune to set the 
channel and input manually.  This is also how I'm guessing that vlc 
isn't tuning the channel correctly: after running vlc, trying the cat 
command again gives me the same sort of static and noise in the MPEG 
file as I get when receiving the stream.

To get it to make valid MPEGs again, all I have to do is reset the video 
standard with "ivtvctl -u10" (selects US NTSC).  This suggests that the 
problem in vlc is the video standard setting, not a channel tuning 
problem.  I did some source code browsing, and saw that when you request 
"norm=ntsc", pvr.c sets the video standard to a value of 3000, being a 
bitwise OR of the US and Japanese NTSC values (1000 and 2000).  When you 
set this with ivtvctl, it uses just 1000.  Maybe this is the cause?

My command line isn't much different than what's in the manual:

> vlc -vv pvr:/dev/video0:norm=ntsc:size=720x480:frequency=343250:bitrate=3000000:maxbitrate=4000000 --cr-average 1000 --sout udp:224.1.1.1 --ttl 12

For what it's worth, I'm using ivtv v0.7.4 on CentOS 5.0, kernel 
2.6.18-8.1.1.el5.

What's going wrong here?

-- 
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the streaming mailing list