[mythtv-users] Recording from a video camera

David Fishburn fishburn at ianywhere.com
Sun Dec 3 21:14:55 UTC 2006


MythTV 0.20
Ivtv 0.8.1
Kernel 2.6.18.1

I found a good thread on this:
http://www.gossamer-threads.com/lists/mythtv/users/175172?search_string=vide
o%20camera;#175172
http://www.gossamer-threads.com/lists/mythtv/users/232857?search_string=chan
ge%20capture%20resolution;#232857

Where Mike suggested:
    ivtvctl -u 0x3000
    ivtvctl -p 6
    ivtvctl -f width=720,height=480
    dd if=/dev/video0 of=/tmp/myvideo.mpg

Problem is with ivtv 0.8.1 none of these switches exist anymore.  Or at
least I get usage with them.

Ivtvctl -h
Usage:
  -d, --device <dev> use device <dev> instead of /dev/video0
  -h, --help         display this help message
  -K, --passthrough <mode>
                     set passthrough mode: 1 = on, 0 = off
[IVTV_IOC_PASSTHROUGH]
  -W, --get-vbi-passthrough
                     query the current VBI passthrough mode
[IVTV_IOC_G_VBI_PASSTHROUGH]
  -w, --set-vbi-passthrough=<mode>
                     set the current VBI passthrough mode to <mode>
[IVTV_IOC_S_VBI_PASSTHROUGH]
                     <mode> is a comma separated list of:
                     none: no passthrough
                     cc:   closed caption
                     wss:  widescreen signal
                     vps:  vps
  --get-yuv-mode     display the current yuv mode
  --set-yuv-mode [param],[param]
                     set the current yuv mode
     param:
       mode        =<#> yuv_mode 0=interlaced,1=progressive,2=auto
       threshold   =<#> if src_hight <= threshold treat as progressive
  --reset-ir         reset the infrared receiver [VIDIOC_INT_RESET]
  --version          shows the version number of this utility.
                     It should match the driver version.

Expert options:
  -D, --set-debug <level>
                     set the module ivtv_debug variable
  -E, --end-gop      capture last GOP [IVTV_IOC_S_GOP_END]
  -e, --get-debug    query the module ivtv_debug variable
  -I, --list-gpio
                     show GPIO input/direction/output bits
  -i, --set-gpio [dir=<dir>,]val=<val>
                     set GPIO direction bits to <dir> and set output to
<val>
  -k, --sync         test vsync's capabilities [IVTV_IOC_FRAMESYNC]
  -R, --list-registers chip=<chip>,min=<addr>,max=<addr>
                     dump registers from <min> to <max>
[VIDIOC_INT_G_REGISTER]
                     <chip> is one of: saa711x, saa7127, saa717x, cx2584x,
cx2341x
  -r, --set-register chip=<chip>,reg=<reg>,val=<val>
                     set register [VIDIOC_INT_S_REGISTER]
                     <chip> is one of: saa711x, saa7127, saa717x, cx2584x,
cx2341x
  -v, --audio-route=input=<in>,output=<out>
                     set the audio input/output routing
[VIDIOC_INT_S_AUDIO_ROUTING]


I have a Hauppauge pvr-500 (with Samsung tuners).
I have plugged in the video camera with RCA plugs.

Any suggestions?

TIA,
Dave



More information about the mythtv-users mailing list