Записываю тв:
steelrat@SS:~$ sudo nice -n -15 mencoder -o output-`date +%H%M%d`.avi -oac pcm -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2100:vme=5:vqscale=3:vb_strategy=1:keyint=300 tv:// -tv driver=v4l:width=384:height=288:freq=623.12:norm=SECAM:brightness=10:contrast=-2 0:hue=-70:saturation=-60:audiorate=22050:alsa:forcechan=1:adevice=hw.0,0:buffers ize=32:fps=22
MEncoder 1.0pre3-2.95.4 (C) 2000-2003 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 451.3 MHz (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Скомпилировано для x86 CPU со следующими расширениями: MMX MMX2 SSE
Reading /home/steelrat/.mplayer/codecs.conf: 60 audio & 156 video codecs
Файл не найден: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/steelrat/.mplayer/mencoder: No such file or directory
font: can't open file: /home/steelrat/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (495 chars)
success: format: 9 data: 0x0 - 0x0
Найден TV! ;-)
Selected driver: v4l
name: Video 4 Linux input
author: Alex Beregszaszi
comment: under development
Selected device: BT878(AVerMedia TVCapture 98)
Capabilites: capture tuner overlay clipping frameram scales
Device type: 235
Supported sizes: 48x32 => 924x576
Inputs: 3
0: Television: tuner audio tv camera (tuner:1, norm:secam)
1: Composite1: audio camera (tuner:0, norm:secam)
2: S-Video: audio camera (tuner:0, norm:secam)
Using input 'Television'
[V] filefmt:9 fourcc:0x32315659 size:384x288 fps:22,00 ftime:=0,0455
==========================================================================
Открываю декодер аудио: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 44100->44100 (352,8 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Открываю видео фильтр: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Открываю декодер видео: [raw] RAW Uncompressed Video
VDec: vo config запросил - 384 x 288 (предпочитаемый csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect не определён - премасштабирование не применяется.
videocodec: libavcodec (384x288 fourcc=58564944 [DIVX])
Using constant qscale = 3,000000 (VBR)
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
CBR PCM audio selected
Building audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
Пишу заголовок AVI...
Forcing audio preload to 0, max pts correction to 0
qos: 65,1s 1512f ( 0%) 21fps Trem: 0min 0mb A-V:0,000 [10942:705]]
video buffer full - dropping frame
Pos: 69,9s 1629f ( 0%) 21fps Trem: 0min 0mb A-V:0,000 [10980:705]5]
Пишу индекс AVI...
Подправляю заголовок AVI...
Поток видео: 10980,939 kbit/s (1372617 bps) размер: 95958433 байт(а/ов) 69,909 сек. 1629 кадр(а/ов)
Поток аудио: 705,600 kbit/s (88200 bps) размер: 6174000 байт(а/ов) 70,000 сек.
MJP: returning!
steelrat@SS:~$
Воспроизвожу полученный файл - звука нет.
steelrat@SS:~$ m output-235111.avi
MPlayer 1.0pre3-2.95.4 (C) 2000-2003 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 451.4 MHz (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Скомпилировано для x86 CPU со следующими расширениями: MMX MMX2 SSE
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/steelrat/.mplayer/config
Reading /home/steelrat/.mplayer/codecs.conf: 60 audio & 156 video codecs
font: can't open file: /home/steelrat/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (495 chars)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
Can't open input config file /home/steelrat/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Проигрывание output-235111.avi.
Обнаружен AVI формат файла!
VIDEO: [DIVX] 384x288 24bpp 22,000 fps 10980,9 kbps (1340,4 kbyte/s)
Информация о клипе:
Software: MEncoder 1.0pre3-2.95.4
dvdsublang...output 235111 ru en
dvdsublang...output 235111 ru en
dvdsublang...output 235111 ru en
dvdsublang...output 235111 ru en
dvdsublang...output 235111 ru en
==========================================================================
Открываю декодер аудио: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 88200->88200 (705,6 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0" => local display)
xscreensaver_disable: xscreensaver wid=10485766.
==========================================================================
Открываю декодер видео: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 22050 hz, little endian signed int
AF_pre: 22050Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 22050 Hz, 2 channels, Signed 16-bit (Little-Endian)
alsa-init: 1 soundcard found, using: hw:0,0
alsa9: 22050 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa9] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
Начало воcпроизведения...
VDec: vo config запросил - 384 x 288 (предпочитаемый csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect - 1,33:1 - премасштабирую для коррекции соотношения сторон фильма.
VO: [xv] 384x288 => 384x288 Planar YV12
xscreensaver_disable: xscreensaver wid=10485766.
alsa-uninit: pcm closed 0,006 ct: 0,040 21/ 21 33% 4% 3,6% 0 0 0%%
Выходим... (Выход)
steelrat@SS:~$
Что подскажите? mute отключён.