[XviD-devel] xvid + bframes and mplayer/ffmpeg decoding
Markus Liebl
xvid-devel@xvid.org
Mon, 5 Aug 2002 21:42:39 +0200
This is a multi-part message in MIME format.
--Multipart_Mon__5_Aug_2002_21:42:39_+0200_08498f60
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Hi,
I played a bit with Edouard Gomez vbr module. It works very good, but I
had to activate BFrames in xvid to get it work. After some encoding I
wanted to watch the avi.
Normally I use mplayer + libavcodec for decoding. This time I found two
bugs, if I decode with libavcodec and bframes are activated in xvid.
(-vfm 3 / xvid decoder works fine)
1) green smearing bug
If I use the default values in export_xvidcvs and a high bitrate, the
movie gets more and more green. At low bitrates it is not visible :-)
the picture is very dark, but the difference is visible ...
with xvid decoder (vfm 3):
http://www.fh-landshut.de/~mliebl/bug/vfm_3_green.jpg
with lavcodec decoder (vfm 5):
http://www.fh-landshut.de/~mliebl/bug/vfm_5_green.jpg
movie (8.3 MB):
http://www.fh-landshut.de/~mliebl/bug/greenbug.avi
2) flashing blocks
If I activate bframes ( -Q 1 ), I get flashing and jumping blocks at the
border. At high bitrates I can see blue and green blocks.
flashing blocks at bottom:
http://www.fh-landshut.de/~mliebl/bug/flash1.jpg
blue block:
http://www.fh-landshut.de/~mliebl/bug/blue1.jpg
movie (5.3 MB):
http://www.fh-landshut.de/~mliebl/bug/blink.avi
-Q 1 means (from xvid.cfg):
[quality1]
init.cpu_flags = 0
param.global = XVID_GLOBAL_DX50BVOP
param.max_bframes = 1
param.bquant_ratio = 120
frame.motion = PMV_EARLYSTOP16 PMV_HALFPELREFINE16 PMV_EXTSEARCH16
PMV_USESQUARES16 PMV_EARLYSTOP8 PMV_HALFPELREFINE8
frame.general = XVID_H263QUANT XVID_HALFPEL XVID_INTER4V
versions:
xvidcvs (today)
export_xvidcvs (from this ml)
mplayer + ffmpeg (MPlayer CVS-020805-09:51-3.1.1)
Bye,
Markus
(sorry for my bad english)
--
Gott ist groß, der Mensch ist klein - ich muß wohl dazwischen sein.
--Multipart_Mon__5_Aug_2002_21:42:39_+0200_08498f60
Content-Type: text/plain;
name="systeminfo.txt"
Content-Disposition: attachment;
filename="systeminfo.txt"
Content-Transfer-Encoding: 7bit
System Information:
* Your Linux distribution or operating system:
Debian - testing/sarge - version 3.0
* kernel version:
Linux nemesis 2.4.19 #1 Sam Aug 3 14:23:48 CEST 2002 i686 unknown unknown GNU/Linux
* libc version:
-rwxr-xr-x 1 root root 1149584 17. Jul 05:52 /lib/libc-2.2.5.so
lrwxrwxrwx 1 root root 13 2. Aug 21:47 /lib/libc.so.6 -> libc-2.2.5.so
* X version:
This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org. Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)
XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.18 i686 [ELF]
Module Loader present
* gcc version:
Reading specs from /usr/lib/gcc-lib/i386-linux/3.1.1/specs
Configured with: /mnt/data/gcc-3.1/gcc-3.1-3.1.1ds3/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.1 --enable-shared --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --enable-clocale=gnu --enable-__cxa_atexit --enable-threads=posix --enable-java-gc=boehm --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.1.1
* ld version:
GNU ld version 2.12.90.0.15 20020717 Debian GNU/Linux
* binutils version:
GNU assembler 2.12.90.0.15 20020717 Debian GNU/Linux
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-linux'.
* CPU info:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(TM) XP1500+
stepping : 2
cpu MHz : 1343.091
cache size : 256 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 tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 2680.42
* Video card manufacturer and model:
NVidia Geforce4 Ti4200 128MB
* Video driver type & version:
nvidia closed source driver version 1.0.2960
* Sound card type & driver:
Creative Audigy with Alsa driver
--Multipart_Mon__5_Aug_2002_21:42:39_+0200_08498f60--