[MPlayer-users] encoding problems after upgrade to 1.0-pre3

Tathagata Banerjee tathagatabanerjee at gmx.net
Thu Dec 25 16:19:33 CET 2003



i was using 0.90 for some time, and recently upgraded to 1.0-pre3. this seems 
to have had a crippling effect on encoding. i understand very little about 
video, or about the different mencoder options, but after going through the 
list archives at some length, it seemed to me that this was a good 
commandline for two-pass encoding from vob files:

mencoder -sws 2 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:v4mv:trell:\
precmp=3:cmp=3:subcmp=3:vmax_b_frames=1:qpel:vlelim=-2:vcelim=7:\
lumi_mask=0.05:dark_mask=0.05:naq:vqcomp=0.7:mbcmp=2:psnr:vpass=x\
-oac mp3lame -lameopts q=0:aq=0 -vop crop=700:372:8:104 -o castaway.avi\ 
castaway.vob

sorry about the wrapping lines.

for some movies, i need to add -ofps 23.976, or the resulting video is jerky, 
because of something called telecine which i don't really understand. i'm 
doing most of this parrot-fashion, without really understanding what does 
what, because i'm quite ignorant about video.

now the above commandline used to work pretty well in 0.90, but it has stopped 
working after the upgrade. stopped working in any useful way, that is. the 
first pass goes through, but gives almost no compression. castaway.vob was 
5.2 gigs, the resulting castaway.avi was 4.8 gigs. antz.vob was 2.3 gigs, 
antz.avi 2.1 gigs. this was not the case in 0.90.

the second pass refuses to get going. it takes a few seconds to read the log 
files from pass 1, then exits with a segmentation fault. the exact output 
(with -v) is attached herewith.

someone please take a look and tell me what's wrong.

my system is SuSE 9.0 on athlon 2100+ xp, Asus A7V8X mobo (Via KT-400 
chipset), built-in sound, NVidia Geforce 3 Ti 200 AGP card, 256 megs of ddr 
ram @ 333 mhz (running at 266 really).



- t.

-- 
cogito, ergo es.
-------------- next part --------------
MEncoder 1.0pre3-3.3.1 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 1733 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /root/.mplayer/codecs.conf: This codecs.conf is too old and incompatible with this MPlayer release! at line 6
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
Font /root/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
[file] File size is 4272699392 bytes
STREAM: [file] castaway.vob
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
success: format: 0  data: 0x0 - 0xFEAC3800
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8516500  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8516500  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8516500  
Checking for REAL
DEMUXER: freeing demuxer at 0x8516500  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8516500  
DEMUXER: freeing demuxer at 0x8516d68  
Searching demuxer type for filename castaway.vob ext: .vob
Trying demuxer 2 based on filename extension
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 128
Searching for sequence header... OK!
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [crop w=700 h=372 x=8 y=104]
Crop: 700 x 372, 8 ; 104
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Trying filter chain: crop expand lavc
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale crop expand lavc
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
LAME version 3.92  (http://www.mp3dev.org/)
Using polyphase lowpass  filter, transition band: 19548 Hz - 20129 Hz

misc:

	scaling: 0.000000
	ch0 (left) scaling: 0.000000
	ch1 (right) 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-1 Layer 3
	2 channel - stereo
	padding: auto
	variable bitrate - VBR rh (default)
	...

psychoacoustic:

	tonality estimation limit: 8871.700195 Hz
	using short blocks: allowed
	adjust masking: -1.000000 dB
	psymodel: 1
	noise shaping: 1
	 ^ amplification: 3
	 ^ stopping: 1
	ATH: using
	 ^ type: 4
	 ^ adjust type: 3
	 ^ adapt threshold type: 2
	using temporal masking effect: yes
	interchannel masking ratio: 0.000000
	...

Writing AVI header...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
Trying filter chain: crop expand lavc
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
REQ: flags=0x401  req=0x400  
REQ: flags=0x401  req=0x0  
[mpeg4 @ 0x8576ef0]Error: 2pass curve failed to converge
Could not open codec.
FATAL: Cannot initialize video driver.
videocodec: libavcodec (700x372 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Pos:   0.0s      1f ( 0%)   0fps Trem:   0min   0mb  A-V:0.000 [0:0] A/Vms 42/8025 D/B/S 0/1/0 
*** [crop] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
*** [expand] Exporting mp_image_t, 700x372x12bpp YUV planar, 390600 bytes
*** [lavc] Allocating mp_image_t, 700x372x12bpp YUV planar, 390600 bytes

Segmentation Fault


More information about the MPlayer-users mailing list