[streaming] Re: Tuning help with PVR-500

Gujs lists gujs.lists at gmail.com
Tue Apr 24 10:20:24 CEST 2007


On Mon, 2007-04-23 at 15:11 -0600, Warren Young wrote:
> 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?
> 


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

Notice the norm=0x0000000000001000, that is for ntsc-m

You can get these numbers with command:
v4l2-ctl -d /dev/video0 --list-standards

Gregor Fuis

-- 
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