[streaming] Re: Tuning help with PVR-500

Warren Young warren at etr-usa.com
Wed Apr 25 08:14:54 CEST 2007


Gujs lists wrote:
>> 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
> 
> 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

Thanks for the tip.  Actually you can just say norm=0x1000 here and get 
the same result.  I do see a difference in the verbose vlc logging, but 
the resulting stream still behaves the same as before.

I did some more playing and found that after starting and then stopping 
the VLC streaming process, if I say "v4l2-ctl -S" (get video standard 
setting) I get:

	Video standard = 0x2d000001000
         	NTSC-M

Saying "cat /dev/video0 > somefile.mpg" at this point will result in the 
same staticky MPEG file as I get when watching the stream.  If I then 
say "v4l2-ctl -s10" (set video standard to NTSC-M) and cat the video out 
to a file, the MPEG is good.  If I request the current video standard 
again, I get this instead:

	Video standard = 0x00001000
         	NTSC-M

It seems that VLC is adding this "2d0", which is why tuning isn't 
working right.  Is this simply a vlc bug?

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