On Fri, 2010-03-05 at 02:05 -0700, Doc wrote:
> Howdy, I'm trying to play video games through my PVR-150 and I'm
> finding the lag due to the encoder (while only about 0.9s) to be
> unbearable.
> 
> I've been trying to figure out how to get this card in to "Live
> Preview" mode in Linux. Hauppauge includes some instructions on their
> site for how to do this in Windows.. But of course, that doesn't help
> me a much.


> Please help me figure out how to watch the video content hitting my
> PVR-150 in as close to real time as possible!!

Set the card to the proper input.  The following example is the
composite 1 on most cards, being set to NTSC, and audio at 48 ksps:

$ v4l2-ctl -d /dev/video0 -i 2
$ v4l2-ctl -d /dev/video0 -s ntsc
$ v4l2-ctl -d /dev/video0 -c audio_sampling_frequency=1

Start playing the uncompressed PCM audio from the card.  This example
uses aplay to play the 48 ksps captured audio to the default ALSA
playback device, and puts aplay in the background:

$ aplay -f dat < /dev/video24 &


Start playing the raw video frames being captured by the card with
mplayer:

$ mplayer /dev/video32 -demuxer rawvideo -rawvideo w=720:h=480:format=hm12:ntsc


That gets you the basic setup you want.  I'm not aware of any live TV
application under linux, other than mplayer, that has native support for
drivers providing the read() method and the odd HM12 YUV video format.

Regards,
Andy


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to