[streaming] Re: Tuning help with PVR-500

Anthony Benjammin DeNardo III ad3 at colostate.edu
Tue Apr 24 19:20:06 CEST 2007


the card has multiple inputs, thus you have to "tune" the card to the 
correct input.  this used to be done via the ivtv-ctl command, which has 
been replaced by a v4l command.

from wikipedia: *In the newer releases of ivtv 
<http://ivtvdriver.org/index.php/Ivtvctl_new> (>=ivtv-0.8) most these 
options have been moved to v4l2-ctl 
<http://ivtvdriver.org/index.php/V4l2-ctl>. The syntax should be almost 
the same.

ad3
*
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?
>

-- 
=========================================================
| Anthony Ben'jammin' DeNardo III                       |
| Network Multimedia Architect                          |
| Academic Computing & Networking Services              |
| Colorado State University                             |
| 970-297-3710                                          |
| ad3 at ColoState.EDU                                     |
========================================================= 

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