[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:35188] xawtv 使用時にセグメンテーションフォールトなど



こんにちは。渡辺@woody(kernel-2.4.19)です。

[問題1]

xawtv を使用していると時々、プログラムを新規に起動しようとす
るときに「セグメンテーション違反です」と表示されて su とかの
全部のプログラムを動かすことができなくなることがあります。
(su できないので、# reboot も # shutdown -h now も不可)

どうすれば良いでしょうか?

============================== 区切り ==============================
$ cat /etc/X11/XF86-Config-4
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
	#FontPath	"unix/:7100"			# local font server
	FontPath	"unix/:7110"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"pex5"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"xie"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"jp106"
	Option		"XkbLayout"	"jp"
	Option		"XkbOptions"	" "
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"tdfx"
	BusID		"PCI:01:00:00"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	30-70
	VertRefresh	50-160
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1920x1440" "1856x1392" "1792x1344" "1600x1200" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Generic Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

### END DEBCONF SECTION
============================== 区切り ==============================
$ cat ~/.xawtv
[defaults]
norm = ntsc-jp
capture = overlay
source = S-Video
audio = auto

[global]
freqtab=japan-bcast
fullscreen = 640 x 480
mixer = Line LiveDrive

[NHK]
channel = 1
key=1

[NHK-EDU]
channel = 3
key=2

[NIPPON]
channel = 4
key=3

[TBS]
channel = 6
key=4

[FUJI]
channel = 8
key=5

[ASAHI]
channel = 10
key=6

[Tokyo]
channel = 12
key=7

[MXTV]
channel = 14
key = 8

[U-AIR]
channel = 16
key = 9

[VIDEO]
source = Composite1
key = 0

[SVHS]
channel = 11
source = S-Video
key = -

[launch]
XMixer = Ctrl+A, xmixer
============================== 区切り ==============================
$ cat /etc/modutils/bttv
options tuner type=2 debug=0
options bttv bttv_gpio=1 audiomux=2,0,0,0
============================== 区切り ==============================

[問題2]

Sound Blaster Live! 5.1 DigitalAudio で、Alsa ドライバを使用
していて、デジタル Input 経由で入ってきた音を(Line Out からケ
ーブルをコンポに繋いで)聞くことはできているのですが、それを
(bttv と組合せて映像とともに)avi ファイルとして保存する(録画
と録音をする)ことができません。

コンパイルしてホームディレクトリにインストールした vcr を使っ
ています。bttv ドライバはカーネル付属のものです。

/dev/dsp でなく /dev/sequencer か何かを扱えるプログラムじゃな
いとダメとかいう問題ですか?

============================== 区切り ==============================
$ fuser -v /dev/dsp

                     USER        PID ACCESS COMMAND
/dev/dsp             jojo        606 f....  esd
============================== 区切り ==============================
$ kill 606
============================== 区切り ==============================
$ fuser -v /dev/dsp
============================== 区切り ==============================
$ v4lctl setchannel 11
============================== 区切り ==============================
$ vcr -t 5s testing.avi

-------------------------------------------------------------
VCR 1.09, (C) 2001 Bram Avontuur (bram@xxxxxxxxxxxxxxxx)
-------------------------------------------------------------
<init> : Avifile RELEASE-0.7.16-021101-22:32-2.95.4
<init> : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse
<init> : 664.98 MHz Pentium III (Coppermine) processor detected
<codec keeper> : /home/jojo//lib/avifile0.7/ac3pass.so:  A/V 1/0
<codec keeper> : /home/jojo//lib/avifile0.7/divx4.so:  A/V 0/3
<codec keeper> : /home/jojo//lib/avifile0.7/ffmpeg.so:  A/V 2/10
<codec keeper> : /home/jojo//lib/avifile0.7/mp3lame_audioenc.so:  A/V 1/0
<codec keeper> : /home/jojo//lib/avifile0.7/mad_audiodec.so:  A/V 1/0
<codec keeper> : /home/jojo//lib/avifile0.7/vorbis_audio.so:  A/V 1/0
<codec keeper> : /home/jojo//lib/avifile0.7/win32.so:  A/V 10/49
<LDT keeper> : Installed fs segment: 0x40016000
<codec keeper> : /home/jojo//lib/avifile0.7/mpeg_audiodec.so:  A/V 1/0
<codec keeper> : /home/jojo//lib/avifile0.7/audiodec.so:  A/V 5/0
<codec keeper> : /home/jojo//lib/avifile0.7/mjpeg.so:  A/V 0/1
v4l1: VIDIOC_S_AUDIO in ::setAudioMode
 Filename: testing.avi
    Video: codec: Divx ;-) low-motion, quality: 95
                  Default attributes will be used.
           time : 5 s, fps: 25, keyframes: 15
           size : 384x288 (WxH)
    Audio: codec: MP3 @ 160 kbps
      Out: 44 kHz, 16 bits (mono)

Starting to record...type q+enter to quit.
Audiocodec: 85, bitrate: 20000
window: 0 384 0 288 
Starting video capture thread.
Opening dsp....
Dsp opened!
1024
Dsp configuration set.
Starting writer thread.
Creating AVI file..
<AVI writer> : AviWriteFile::AviWriteFile()
Adding video stream.
<Win32 plugin> : Using Win32 dll library: divxc32.dll
<Win32 video encoder> : W32 Quality 0  KeyFrames: 9999   BitRate: 910000
<Win32 video encoder> : No 'BitRate' value present
Done.
Adding mp3 stream...
<Lame MP3 encoder> : Setting bit rate to 20000 (160kbps)
Set capture parameters.
done
<Win32 video encoder> : W32 Quality 0  KeyFrames: 9999   BitRate: 910000
<Win32 video encoder> : No 'BitRate' value present
Entering loop
<Win32 plugin> : Total Unfree 0 bytes cnt 0 [(nil),0]
<Win32 plugin> : Total Unfree 0 bytes cnt 0 [(nil),0]
Capture thread exiting
Write thread exiting
Captured 126 frames.
        Frames dropped in capture: 4 (3.0%)
        Frames dropped in encoder: 0 (0.0%)
Exiting..
Waiting for write thread
Waiting for audio thread
Waiting for video thread
All threads exited
v4l1: VIDIOCSYNC in ::~v4l1if
============================== 区切り ==============================
$ mplayer testing.avi 
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /home/jojo//share/locale


MPlayer 0.90pre9-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Reading /home/jojo/.mplayer/codecs.conf: can't open '/home/jojo/.mplayer/codecs.conf': そのようなファイルやディレクトリはありません
Reading /home/jojo//etc/mplayer/codecs.conf: 38 audio & 110 video codecs
font: can't open file: /home/jojo/.mplayer/font/font.desc
font: can't open file: /home/jojo//share/mplayer/font/font.desc
Failed to open /dev/rtc: 許可がありません (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/jojo/.mplayer/input.conf : そのようなファイルやディレクトリはありません
Can't open input config file /home/jojo//etc/mplayer/input.conf : そのようなファイルやディレクトリはありません
Falling back on default (hardcoded) input config

Playing testing.avi
Detected AVI file format!
VIDEO:  [DIV3]  384x288  24bpp  25.00 fps  1352.7 kbps (165.1 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 20000->176400 (160.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Start playing...
VDec: vo config request - 384 x 288 (preferred csp: Planar YV12) 0 0 0%
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 384x288 => 384x288 Planar YV12 
A:   4.7 V:   4.7 A-V: -0.003 ct: -0.040  117/117   8%  4%  1.6% 0 0 0%
Broken frame at 0x185CC                                                  
A:   5.0 V:   5.0 A-V:  0.024 ct: -0.023  124/124   8%  4%  1.8% 0 0 0%

Exiting... (End of file)
============================== 区切り ==============================
$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 31 [100%] [on] 
  Front Right: Playback 31 [100%] [on] 
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31 
  Mono: Playback 31 [100%] [on] 
Simple mixer control 'Headphone LFE',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on] 
Simple mixer control 'Headphone',1
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right 
  Limits: Playback 0 - 100 
  Front Left: Playback 0 [0%] [on] 
  Front Right: Playback 0 [0%] [on] 
Simple mixer control 'Headphone Center',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on] 
Simple mixer control 'Tone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right 
  Mono: 
  Front Left: Playback [off] 
  Front Right: Playback [off] 
Simple mixer control 'Bass',0
  Capabilities: volume pswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: 0 - 40
  Front Left: 20 [50%] Playback [on] 
  Front Right: 20 [50%] Playback [on] 
Simple mixer control 'Treble',0
  Capabilities: volume pswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: 0 - 40
  Front Left: 20 [50%] Playback [on] 
  Front Right: 20 [50%] Playback [on] 
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 31 [100%] [on] 
  Front Right: Playback 31 [100%] [on] 
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 0 [0%] [on] 
  Front Right: Playback 0 [0%] [on] 
Simple mixer control 'Surround Digital',0
  Capabilities: pvolume cvolume cswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 100 [100%] Capture 100 [100%] [on] 
  Front Right: Playback 100 [100%] Capture 100 [100%] [on] 
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch
  Playback channels: Mono
  Limits: Playback 0 - 100 
  Mono: Playback 0 [0%] [on] 
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch
  Playback channels: Mono
  Limits: Playback 0 - 100 
  Mono: Playback 0 [0%] [on] 
Simple mixer control 'Wave',0
  Capabilities: pvolume cvolume cswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 0 [0%] Capture 0 [0%] [off] 
  Front Right: Playback 0 [0%] Capture 0 [0%] [off] 
Simple mixer control 'Wave Center',0
  Capabilities: pvolume pvolume-joined pswitch
  Playback channels: Mono
  Limits: Playback 0 - 100 
  Mono: Playback 0 [0%] [on] 
Simple mixer control 'Wave LFE',0
  Capabilities: pvolume pvolume-joined pswitch
  Playback channels: Mono
  Limits: Playback 0 - 100 
  Mono: Playback 0 [0%] [on] 
Simple mixer control 'Wave Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right 
  Limits: Playback 0 - 100 
  Front Left: Playback 0 [0%] [on] 
  Front Right: Playback 0 [0%] [on] 
Simple mixer control 'Music',0
  Capabilities: pvolume cvolume cswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 0 [0%] Capture 0 [0%] [off] 
  Front Right: Playback 0 [0%] Capture 0 [0%] [off] 
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 31 [100%] [off] Capture [on] 
  Front Right: Playback 31 [100%] [off] Capture [on] 
Simple mixer control 'Line LiveDrive',0
  Capabilities: pvolume cvolume cswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 100 [100%] Capture 100 [100%] [on] 
  Front Right: Playback 100 [100%] Capture 100 [100%] [on] 
Simple mixer control 'Line LiveDrive',1
  Capabilities: pvolume cswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 100 
  Front Left: Playback 100 [100%] Capture [on] 
  Front Right: Playback 100 [100%] Capture [on] 
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 31 [100%] [on] Capture [off] 
  Front Right: Playback 31 [100%] [on] Capture [off] 
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 15 
  Mono: Playback 0 [0%] [off] 
  Front Left: Capture [off] 
  Front Right: Capture [off] 
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on] 
Simple mixer control 'Video',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 0 [0%] [off] Capture [off] 
  Front Right: Playback 0 [0%] [off] Capture [off] 
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 15 
  Mono: Playback 0 [0%] [off] 
  Front Left: Capture [off] 
  Front Right: Capture [off] 
Simple mixer control 'IEC958 Coaxial',0
  Capabilities: pvolume cvolume cswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 0 [0%] Capture 0 [0%] [off] 
  Front Right: Playback 0 [0%] Capture 0 [0%] [off] 
Simple mixer control 'IEC958 Optical',0
  Capabilities: pvolume cvolume cswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 100 [100%] Capture 100 [100%] [on] 
  Front Right: Playback 100 [100%] Capture 100 [100%] [on] 
Simple mixer control 'IEC958 Optical Raw',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right 
  Front Left: Playback [on] 
  Front Right: Playback [on] 
Simple mixer control 'IEC958 TTL',0
  Capabilities: pvolume cvolume cswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 0 [0%] Capture 0 [0%] [off] 
  Front Right: Playback 0 [0%] Capture 0 [0%] [off] 
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15 
  Mono: Playback 0 [0%] [off] 
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 31 
  Front Left: Playback 0 [0%] [off] Capture [off] 
  Front Right: Playback 0 [0%] [off] Capture [off] 
Simple mixer control 'Capture',0
  Capabilities: volume pswitch pswitch-joined
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: 0 - 15
  Front Left: 15 [100%] Playback [on] 
  Front Right: 15 [100%] Playback [on] 
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right 
  Front Left: Capture [off] 
  Front Right: Capture [off] 
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right 
  Front Left: Capture [off] 
  Front Right: Capture [off] 
Simple mixer control 'AC97',0
  Capabilities: pvolume cvolume pswitch
  Playback channels: Front Left - Front Right 
  Capture channels: Front Left - Front Right 
  Limits: Playback 0 - 100 Capture 0 - 100
  Front Left: Playback 100 [100%] [on] Capture 100 [100%] 
  Front Right: Playback 100 [100%] [on] Capture 100 [100%] 
Simple mixer control 'External Amplifier Power Down',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on] 
Simple mixer control 'SB Live Analog/Digital Output Jack',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on] 
============================== 区切り ==============================
$ cat ~/.vcrrc
[defaults]
quality = 95 
keyframes = 15
codec= Divx ;-) low-motion
norm = ntsc
capture = overlay
source = S-Video
audio = auto
audiofrequency = 44
audiobitrate = 160

[global]
freqtab=japan-bcast
mixer = line

[NHK]
channel = 1
key=1

[NHK-EDU]
channel = 3
key=2

[NIPPON]
channel = 4
key=3

[TBS]
channel = 6
key=4

[FUJI]
channel = 8
key=5

[ASAHI]
channel = 10
key=6

[Tokyo]
channel = 12
key=7

[MXTV]
channel = 14
key = 8

[U-AIR]
channel = 16
key = 9

[VIDEO]
source = Composite1
key = 0

[SVHS]
channel = 11
source = S-Video
key = -

============================== 区切り ==============================
$ dmesg
========================== *ちょきちょき* ==========================
Linux video capture interface: v1.00
i2c-core.o: i2c core module
i2c-algo-bit.o: i2c bit algorithm module
bttv: driver version 0.7.91 loaded
bttv: using 2 buffers with 2080k (4160k total) for capture
bttv: Host bridge is VIA Technologies, Inc. VT8605 [ProSavage PM133]
bttv: Host bridge is VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
bttv: Bt8xx card found (0).
PCI: Found IRQ 5 for device 00:0f.0
PCI: Sharing IRQ 5 with 00:0f.1
bttv0: Bt878 (rev 17) at 00:0f.0, irq: 5, latency: 32, memory: 0xe1000000
bttv0: using: BT878( *** UNKNOWN/GENERIC **) [card=0,autodetected]
bttv0: gpio config override: mask=0xffffffff, mux=0x2,0x0,0x0,0x0,0xffffffff
bttv0: gpio: en=00000000, out=00000000 in=00ffffc0 [init #1]
bttv0: gpio: en=00000000, out=00000000 in=00ffffc0 [init #2]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
i2c-core.o: adapter bt848 #0 registered as adapter 0.
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
i2c-core.o: driver i2c TV tuner driver registered.
tuner: probing bt848 #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc0
bttv0: i2c attach [client=Philips NTSC,ok]
i2c-core.o: client [Philips NTSC] registered to adapter [bt848 #0](pos. 0).
bttv0: gpio: en=00ffffff, out=00ffffc0 in=00000000 [audio: off]
bttv0: registered device video0
bttv0: registered device vbi0
PCI: Found IRQ 10 for device 00:0e.0
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
eth0: no IPv6 routers present
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00000002 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00000002 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000002 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00000002 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: extern]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00000000 in=00000000 [audio: tuner]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [muxsel]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
bttv0: gpio: en=00ffffff, out=00ffff40 in=00000000 [audio: off]
============================== 区切り ==============================