[MPlayer-users] NOVIRUS mencoder records stereo, but input is mono

Zorg kmaterka at wp.pl
Fri Oct 17 20:59:32 CEST 2003


Hello!

I have strange bug in mencoder: I grab video/audio from my tuner in mono
sound (you can see below), but mp3lame records stereo (mplayer -dentify
tv.avi says that, see below). I suppose, that mencoder is wrong
initializing mp3 coder, even if I type options to lame to force mono
sound (mode:3).

I have:
MPlayer 1.0pre2-2.95.4
kenel: 2.4.18-bf2.4
Debian Woody
libc6 2.2.5
x 4.1
gcc 2.95.4
GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux
GNU assembler 2.12.90.0.1 20020307 Debian/GNU Linux

PixelView PlayTv Pro
celeron 466
soundblaster 128PCI, tuner pluged to audio IN

//-------------------------------------------------------------------

//-------------------------------------------------------------------

zorg at localhost:~$ mencoder tv://32 -tv
driver=v4l:input=0:norm=PAL:chanlist=europe-west:width=384:height=288:amode=0:adevice=/dev/dsp -oac mp3lame -lameopts cbr:br=64:mode=3 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800 -o tv.avi
MEncoder 1.0pre2-2.95.4 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron A Mendocino/Pentium II Dixon 468.3 MHz (Family: 6,
Stepping: 5)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Skompilowane dla x86 CPU z rozszerzeniami: MMX

Reading /home/zorg/.mplayer/codecs.conf: Can't open
'/home/zorg/.mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Używam domyślnego (wkompilowanego) codecs.conf
Plik nieznaleziony: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/zorg/.mplayer/mencoder: Nie ma takiego pliku
ani katalogu
success: format: 9  data: 0x0 - 0x0
Wykryto TV! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
Selected device: BT878(PV-BT878P+)
 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:pal)
  1: Composite1: audio camera  (tuner:0, norm:pal)
  2: S-Video: audio camera  (tuner:0, norm:pal)
audio block size too low, setting to 8192!
Using input 'Television'
Selected channel: 32 (freq: 559,250)
[V] filefmt:9  fourcc:0x32315659  size:384x288  fps:25,00  ftime:=0,0400
==========================================================================
Otwieram dekoder audio: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 88200->88200 (705,6 kbit)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==========================================================================
Otwieram filtr video: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
==========================================================================
Otwieram dekoder video: [raw] RAW Uncompressed Video
VDec: Żądanie konfiguracji vo - 384 x 288 (preferowana przestrzeń
kolorów: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Proporcje filmu nie są zdefiniowane - nie skaluję.
videocodec: libavcodec (384x288 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
MP3 audio selected
Building audio filter chain for 44100Hz/1ch/16bit ->
44100Hz/1ch/16bit...
Zapisuje nagłówek AVI...
Forcing audio preload to 0, max pts correction to 0
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos:   5,5s    137f ( 0%)  23fps Trem:   0min   0mb  A-V:0,000 [926:63]]

//-------------------------------------------------------------------

//-------------------------------------------------------------------

zorg at localhost:~$ mplayer -identify tv.avi
MPlayer 1.0pre2-2.95.4 (C) 2000-2003 MPlayer Team

CPU: Intel Celeron A Mendocino/Pentium II Dixon 468.3 MHz (Family: 6,
Stepping: 5)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Skompilowane dla x86 CPU z rozszerzeniami: MMX

Reading config file /usr/local/etc/mplayer/mplayer.conf: Nie ma takiego
pliku ani katalogu
Reading config file /home/zorg/.mplayer/config
Reading /home/zorg/.mplayer/codecs.conf: Can't open
'/home/zorg/.mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Używam domyślnego (wkompilowanego) codecs.conf
font: can't open file: /home/zorg/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (210
chars)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Brak dostępu
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/zorg/.mplayer/input.conf: Nie ma
takiego pliku ani katalogu
Can't open input config file /usr/local/etc/mplayer/input.conf: Nie ma
takiego pliku ani katalogu
Falling back on default (hardcoded) input config
Włączam obsługę LIRC...

Odtwarzam tv.avi
Wykryto format AVI.
VIDEO:  [DIVX]  384x288  24bpp  25,000 fps  924,6 kbps (112,9 kbyte/s)
Informacja o klipie:
 Software: MEncoder 1.0pre2-2.95.4
==========================================================================
Otwieram dekoder audio: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 8000->176400 (64,0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
ID_FILENAME=tv.avi
ID_VIDEO_FORMAT=DIVX
ID_VIDEO_BITRATE=924560
ID_VIDEO_WIDTH=384
ID_VIDEO_HEIGHT=288
ID_VIDEO_FPS=25,000
ID_VIDEO_ASPECT=0,0000
ID_AUDIO_CODEC=mp3
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=64000
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_LENGTH=5
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local
display)
==========================================================================
Otwieram dekoder video: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
Początek odtwarzania...
VDec: Żądanie konfiguracji vo - 384 x 288 (preferowana przestrzeń
kolorów: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Proporcje filmu to 1,33:1 - skaluję do prawidłowych propocji.
VO: [xv] 384x288 => 384x288 Planar YV12
A:   0,3 V:   0,2 A-V:  0,013 ct:  0,015    7/  7   0%  0%  0,0% 0 0 0%

//-------------------------------------------------------------------

//-------------------------------------------------------------------



-- 
With kindest regards:
CrimeDog - crimedog at wp.pl

MPlayer... and nothing else matters




More information about the MPlayer-users mailing list