[MPlayer-users] Strange problem with mencoder; posible bug
martin pavon
martin_199ar at yahoo.com.ar
Thu Oct 10 07:21:02 CEST 2002
Hi !!!
First, apologize me for the empty mail ... Is too late for me.
I have an strange problem with mencoder; I don't know if the problem is
with mencoder itself or with libavc or what. The story is the following:
My goal was encode a movie in two cds so:
1) I've ripped the movie with mplayer chapter by chapter and I've put them
in two directories cd1 and cd2
2) To encode the second cd I ran the following script
#!/bin/sh
FUENTE=vob/cd2/*.vob
VBRATE=1570
DESTINO=cd2/ciudad_ninios_perdidos-cd2.avi
SCALE=640:352
CROP=704:460:8:8
OFPS=23.976
EXTRAS="-npp de,al -sws 1"
date > tr-log;
rm divx2pass.log
cat $FUENTE |nice -+19 mencoder -ofps $OFPS -oac pcm -o /dev/null -ovc
lavc \
-lavcopts vcodec=mpeg4:vbitrate=$VBRATE:vhq:vqmin=2:vqmax=31:vpass=1 \
-vop scale=$SCALE,crop=$CROP,pp=6 $EXTRAS - ;
cat $FUENTE |nice -+19 mencoder -ofps $OFPS \
-oac mp3lame -lameopts abr:br=128:vol=1.215 -aid 128 -o $DESTINO \
-ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=$VBRATE:vhq:vqmin=2:vqmax=31:vpass=2 \
-vop scale=$SCALE,crop=$CROP,pp=6 $EXTRAS - ;
#End
The resulting file is very very good but there is one very ugly scene (in
particular with a blocking effect.)
3) I check the dvd and I found that the quality of the image is not as
good
as in the remain of the dvd, but is not so bad, so I've thought to ask at
the mailing list if anybody knows how to improve this.
I've splited the scene from the vob in one file short file to upload
and I've encode it with the same script (the only change was
FUENTE=sample.vob) to submit to the list ...
But now there was no blocking effect, indeed the quality improve a lot
(it isn't perfect, but it is acceptable for me).
Since I used the same script, I don't see where is the problem; may be
the values got in the first pass was wrong when I cat to mencoder the
whole
directory ... Really I don't know.
I uppload to ftp://mplayerhq.hu/MPlayer/incoming/
three files,
ciudad_ninios_perdidos-bad.avi (I cut it from the encode of the whole cd2
with mencoder)
ciudad_ninios_perdidos-good.avi (the encode of the short sample)
A copy of this mail ...
If anybody wish the vob, I can upload the whole chapter (it sizes 165Mb).
It is enough to get the blocky scene.
The encode was made with
MEncoder 0.90pre8-3.1 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 1)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Distr. Slackware 8.0 partially upgrade to Slackware 8.1
Linux palantir 2.4.18-xfs-1.1 #2 Sat Jul 27 03:33:33 ART 2002 i686 unknown
-rwxr-xr-x 1 root root 1159296 May 25 2001 /lib/libc-2.2.3.so
lrwxrwxrwx 1 root root 13 Jul 28 2001 /lib/libc.so.6 ->
libc-2.2.3.so
Reading specs from /usr/local/gcc-3.1/lib/gcc-lib/i386-linux/3.1/specs
Configured with: ../gcc-3.1/configure --prefix=/usr/local/gcc-3.1
--program-suffix=-3.1 --with-local-prefix=/usr/local/gcc-3.1
--enable-languages=c,c++ --with-gnu-ld --enable-threads=posix
--with-gnu-as --enable-shared --host=i386-linux
Thread model: posix
gcc version 3.1
GNU ld version 2.12.90.0.9 20020526
GNU assembler 2.12.90.0.9 20020526
Copyright 2002 Free Software Foundation, Inc.
This assembler was configured for a target of `i386-slackware-linux'.
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 7
model name : AMD Duron(tm) processor
stepping : 1
cpu MHz : 1200.089
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 2392.06
Thanks in advance,
Martín
Ahora podés usar Yahoo! Messenger desde tu celular. Aprendé cómo hacerlo en Yahoo! Móvil: http://ar.mobile.yahoo.com/sms.html
More information about the MPlayer-users
mailing list