[MPlayer-users] mencoder problems with vivo

Nate Eldredge neldredge at hmc.edu
Sat Apr 13 07:20:02 CEST 2002


Using mencoder from cvs just updated, on a Linux box.

I have a vivo file which mplayer plays without trouble.  I would like
to re-encode it to a different format (say divx4).  If I do something
simple like

mencoder -o foo.avi foo.viv

I get an avi file with no video, only a flash of green at the start,
and the sound is twice too fast.

I have an mencoder binary from around March 30.  With it, the same
command line gives a file that has correct video, but still the
too-fast audio.

This vivo file seems to have a sound track which is 16000 Hz, 16 bit,
mono.  As the output file has a stereo audio track, this seems a
likely suspect as to where the screwup happens.  I tried "-lameopts
mode=3" but there is no change.

Here is the output of "mencoder -v -o foo.avi file.viv".



MEncoder CVS-020412-21:23-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Reading /home/nate/.mplayer/codecs.conf: 30 audio & 81 video codecs
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 10)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
File not found: 'frameno.avi'
File size is 14823864 bytes
Not an URL!
Not an URL!
Checking for YUV4MPEG2
success: format: 0  data: 0x0 - 0xE231B8
DEMUXER: freeing demuxer at 0x826e5b0  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x826e5b0  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x826e5b0  
Checking for MOV
DEMUXER: freeing demuxer at 0x826e5b0  
Checking for VIVO
Detected VIVO file format!
header block 1 size: 438
==> Found video stream: 0
vivo extra header: 438 bytes
vivo extra header: 100 bytes
vivo extra header: 142 bytes
h263_plus = 0  format = 6
320 x 240
pict_type=0
unrestricted_mv=1
SAC: 0
advanced prediction mode: 0
PB frame: 0
qscale=31
==> Found audio stream: 1
VIVO Video stream 0 size: display: 320x240, codec: 320x240
[V] filefmt:8  fourcc:0x32766976  size:320x240  fps:10.00  ftime:=0.1000
Detected audio codec: [vivoaudio] drv:4 (Vivo G.723/Siren Audio Codec)
Initializing audio codec...
======= Win32 (ACM) AUDIO Codec init =======
Selecting Audio Decoder: [acm] Win32 ACM audio decoder
Audio codec opened OK! ;-)
Input format:
  wFormatTag 274
  nChannels 1
  nSamplesPerSec 16000
  nAvgBytesPerSec 2000
  nBlockAlign 40
  wBitsPerSample 16
  cbSize 0
Output fmt:
  wFormatTag 1
  nChannels 1
  nSamplesPerSec 16000
  nAvgBytesPerSec 32000
  nBlockAlign 2
  wBitsPerSample 16
  cbSize 0
fs seg 0x40015000
Loading DLL: 'vivog723.acm'
Audio ACM output buffer min. size: 1280
Audio ACM input buffer min. size: 80
INFO: Win32/ACM audio codec init OK!
dec_audio: Allocating 160 bytes for input buffer
dec_audio: Allocating 1280 + 65536 = 66816 bytes for output buffer
AUDIO: srate=16000  chans=1  bps=2  sfmt=0x10  ratio: 2000->32000
==========================================================================
VDec: vo config request - 320 x 240, Packed YUY2  
Opening Video Decoder: [vfw] Win32/VfW video codecs
[PP] Using codec's postprocessing, max q = 9
vo_debug: query(BGR 32-bit) returned 0x0 (i=0) 
vo_debug: query(BGR 24-bit) returned 0x1 (i=1) 
vo_debug: query(BGR 15-bit) returned 0x0 (i=2) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(320x240->320x240,flags=8,'MPlayer',0x42475218)
======= Win32 (VFW) VIDEO Codec init =======
REQ: flags=0x1  req=0x400  
Expand: -1 x -1, -1 ; -1
REQ: flags=0x1  req=0x0  
ICDecompressGetFormat OK
Loading DLL: 'ivvideo.dll'
ICDecompressGetFormatSize ret: 40
ICDecompressQuery OK
Starting decompression, format:
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 0x6f766976 ('vivo')
  biSizeImage 230400
Dest fmt:
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 0x0 ('')
  biSizeImage 230400
VIDEO CODEC Init OK!!! ;-)
INFO: Win32 video codec init OK!
Detected video codec: [vivo] drv:2 prio:0 (Vivo H.263)
==========================================================================
LAME version 3.89 (beta 1, Oct 21 2001) (http://www.mp3dev.org/)
polyphase lowpass filter disabled

misc:

	scaling: 0.000000
	filter type: 0
	quantization: xr^3/4
	huffman search: best (outside loop)
	experimental X=0 Y=0 Z=0
	...

stream format:

	MPEG-2.5 Layer 3
	1 channel - mono
	padding: auto
	variable bitrate - VBR rh (default)
	...

psychoacoustic:

	tonality estimation limit: 8871.700195 Hz
	force channels to have same block types: no
	adjust masking: -1.000000 dB
	psymodel: 1
	noise shaping: 1
	 ^ amplification: 1
	 ^ stopping: 1
	ATH: using
	 ^ type: 4
	 ^ adjust type: 3
	 ^ adapt threshold type: 2
	using temporal masking effect: no
	...

*** [flip] Allocating mp_image_t, 320x240x24bpp RGB packed, 230400 bytes
MP3 audio selected
Writing AVI header...
*** [divx4] Allocating mp_image_t, 320x240x24bpp RGB packed, 230400 bytes
*** [expand] Direct Rendering mp_image_t, 320x240x24bpp RGB packed, 230400 bytes
Pos:   0.1s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms 8/9 D/S 0/0 
*** [flip] Allocating mp_image_t, 320x240x24bpp RGB packed, 230400 bytes
Pos:   0.2s      2f ( 0%)   0fps Trem:   0min   0mb  A-V:0.007 [0:0]
A/Vms 7/12 D/S 0/0 
...

-- 

Nate Eldredge
neldredge at hmc.edu




More information about the MPlayer-users mailing list