Difference between revisions of "V4L TV Viewing"

From LinuxTVWiki
Jump to: navigation, search
m (typo)
m (Note V4l2ucp)
Line 1: Line 1:
There is a large number of applications for watching tv; here are a few:
+
==Applications for watching TV==
  
 
* [http://kaffeine.sourceforge.net/ kaffeine]
 
* [http://kaffeine.sourceforge.net/ kaffeine]
Line 6: Line 6:
 
* [http://zapping.sourceforge.net zapping] (TV viewer for the Gnome desktop)
 
* [http://zapping.sourceforge.net zapping] (TV viewer for the Gnome desktop)
 
* [http://www.kdetv.org kdetv]] (TV viewer for the KDE desktop, successor of kwintv) -- [http://websvn.kde.org/trunk/extragear/multimedia/kdetv sourcecode]
 
* [http://www.kdetv.org kdetv]] (TV viewer for the KDE desktop, successor of kwintv) -- [http://websvn.kde.org/trunk/extragear/multimedia/kdetv sourcecode]
* [[v4l2ucp]] (Universal control panel for v4l2)
 
  
Some users report kaffeine can work even when the others don't.
+
===Common configuration and control commands===
  
====Common configuration and control commands====
+
1. [[v4l2ucp]] -- universal control panel for v4l2 devices
  
1. Control the TV card
+
2. Command-line control of the TV card
 
:* v4lctl -c /dev/video1 list
 
:* v4lctl -c /dev/video1 list
 
:* v4lctl setnorm ntsc-m
 
:* v4lctl setnorm ntsc-m
Line 27: Line 26:
 
:* v4lctl -c /dev/video0 color "50%"
 
:* v4lctl -c /dev/video0 color "50%"
  
2. Test the video
+
3. Test the video
  
 
:* xawtv -hwscan
 
:* xawtv -hwscan
 
:* xawtv -remote -noxv -c /dev/video0 -vbidev /dev/vbi0
 
:* xawtv -remote -noxv -c /dev/video0 -vbidev /dev/vbi0
  
3. Test overlay mode (capture card controls display -- easy on CPU)
+
4. Test overlay mode (capture card controls display -- easy on CPU)
  
 
:* xawtv -noxv -capture overlay
 
:* xawtv -noxv -capture overlay
Line 40: Line 39:
 
:* xawtv -xvtv_overlay off -capture overlay
 
:* xawtv -xvtv_overlay off -capture overlay
  
4. Test grabdisplay mode (application controls display -- required for deinterlacing and other effects)
+
5. Test grabdisplay mode (application controls display -- required for deinterlacing and other effects)
  
 
:* xawtv -noxv -capture grabdisplay
 
:* xawtv -noxv -capture grabdisplay
Line 48: Line 47:
 
:* xawtv -xvtv_overlay off -capture grabdisplay
 
:* xawtv -xvtv_overlay off -capture grabdisplay
  
5. Test streamer
+
6. Test streamer
  
 
:* streamer -i "S-Video Input"
 
:* streamer -i "S-Video Input"

Revision as of 07:58, 2 March 2006

Applications for watching TV

Common configuration and control commands

1. v4l2ucp -- universal control panel for v4l2 devices

2. Command-line control of the TV card

  • v4lctl -c /dev/video1 list
  • v4lctl setnorm ntsc-m
  • v4lctl setfreqtab us-cable
  • v4lctl setfreqtab us-bcast
  • v4lctl setchannel 3
  • v4lctl volume mute off
  • v4lctl volume 100
  • v4lctl audio stereo
  • v4lctl -c /dev/video0 setattr 'chroma agc' on (bttv only)
  • v4lctl -c /dev/video0 hue "100%" (or "0%" -- same thing)
  • v4lctl -c /dev/video1 bright "50%"
  • v4lctl -c /dev/video2 contrast "45%"
  • v4lctl -c /dev/video0 color "50%"

3. Test the video

  • xawtv -hwscan
  • xawtv -remote -noxv -c /dev/video0 -vbidev /dev/vbi0

4. Test overlay mode (capture card controls display -- easy on CPU)

  • xawtv -noxv -capture overlay
  • xawtv -v4l1 -capture overlay
  • xawtv -xvtv -capture overlay
  • xawtv -xvtv_overlay on -capture overlay
  • xawtv -xvtv_overlay off -capture overlay

5. Test grabdisplay mode (application controls display -- required for deinterlacing and other effects)

  • xawtv -noxv -capture grabdisplay
  • xawtv -v4l1 -capture grabdisplay
  • xawtv -xvtv -capture grabdisplay
  • xawtv -xvtv_overlay on -capture grabdisplay
  • xawtv -xvtv_overlay off -capture grabdisplay

6. Test streamer

  • streamer -i "S-Video Input"