[MPlayer-users] Re: second pass of mpeg4 with mencoder looks worse than first pass...what version works??

Farrell Farahbod upgrdman at mindspring.com
Fri Jun 20 11:23:01 CEST 2003


ok, i will start all over, recompile mplayer using MPlayer-0.90. I'll
paste exactly what i type, and the whole output of the configure script,
in case it could help. also, fyi, i use Redhat9. this will be long, but
i gather the opinion of this list is more info is better than not
enough, and i agree :)

so here goes:

[upgrdman at farrell MPlayer-0.90]$ ./configure --enable-gui --enable-live
--with-livelibdir=/usr/lib/live

Detected operating system: Linux Detected host architecture: i386
Checking for gcc version ... 3.2.2, ok
Checking for CPU vendor ... AuthenticAMD (6:7:0)
Checking for CPU type ...  AMD Duron(tm) processor
Checking for GCC & CPU optimization abilities ... athlon-4
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of 3dnow ... yes
Checking for kernel support of 3dnowex ... yes
Checking for kernel support of sse ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.13.90.0.18) ... ok
Checking for Linux kernel version ... 2.4.20-13.9, ok
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for language ... using en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... yes
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Samba support (libsmbclient) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11R6/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with
--with-extraincdir=DIR)
Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version)
with --with-extraincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... yes
Checking for SDL ... yes (using sdl-config)
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... yes
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... disabled by
libmpdvdkit2
Checking for DVD support (libdvdnav) ... no
Checking for cdparanoia ... no
Checking for freetype >= 2.0.9 ... yes
Checking for fribidi with charsets ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for OggVorbis support ... yes
Checking for faad2 (AAC) support ... no
Checking for Win32 codec DLL files path ... /usr/lib/win32
Checking for Win32 codec DLL support ... yes
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... no (no suitable directory found - see
DOCS/codecs.html)
Checking for RealPlayer DLL ... yes (using /usr/lib/RealPlayer8/Codecs)
Checking for LIVE.COM Streaming Media libraries ... yes (using
/usr/lib/live)
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... yes
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for audio select() ... yes
Checking for streaming ... yes
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for New config ... yes
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for gtk version ... 1.2.10 (using gtk-config)
Checking for glib version ... 1.2.10 (using glib-config)
Creating Gui/config.mak
Checking for ftello() ... yes
Checking for vidix ... yes
Checking for joystick ... no
Checking for lirc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating help_mp.h
 
Config files successfully generated by ./configure !
 
  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer
 
  Byte order: Little Endian
  Optimizing for: athlon-4 mmx mmx2 3dnow 3dnowex sse mtrr
   
  Enabled optional drivers:
    Input: streaming tv-v4l edl tv mpdvdkit2 vcd
    Codecs: qtx libavcodec real dshow/dmo win32 libvorbis gif
    Audio output: esd oss sdl mpegpes(file)
    Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev
opengl dga xv x11
  Disabled optional drivers:
    Input: tv-bsdbt848 cdda dvdnav dvdread dvdcss smb
    Codecs: opendivx xvid libdv xanim libmad liblzo
    Audio output: sgi sun alsa arts dxr2 nas win32
    Video output: bl zr dxr3 dxr2 directx svga aa ggi xmga mga directfb
tdfxfb 3dfx
 
'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no
longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***
 
'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of
'make'.
 
Please check mtrr settings at /proc/mtrr (see DOCS/video.html#mtrr)
 
 
Check configure.log if you wonder why an autodetection failed (check
whether
the development headers/packages are installed).
 
If you suspect a bug, please read DOCS/bugreports.html.
 
[upgrdman at farrell MPlayer-0.90]$ make

...(no compile-stopping errors)...

[upgrdman at farrell MPlayer-0.90]$ su -c "make install"

...(no errors)...

[upgrdman at farrell MPlayer-0.90]$ cd /home/upgrdman/riptemps/Blade\ 2/

[upgrdman at farrell Blade 2]$ mencoder blade2.avi -oac mp3lame -lameopts
abr:br=96 -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=905:vhq:vpass=1 -sws
2 -vop scale=608:340,crop=720:466:0:4 -o blade2-compressed-pass1.avi

Using GNU internationalization Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
 
 
MEncoder 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
 
CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading /home/upgrdman/.mplayer/codecs.conf: can't open
'/home/upgrdman/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /home/upgrdman/.mplayer/mencoder: No such file or
directory
success: format: 0  data: 0x0 - 0x5DF4336A
AVI file format detected.
VIDEO:  []  720x480  24bpp  29.97 fps  1349.0 kbps (164.7 kbyte/s)
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  9801.6 kbps (1225.2
kbyte/s)
[V] filefmt:3  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale=608:340]
Opening video filter: [crop=720:466:0:4]
Crop: 720 x 466, 0 ; 4
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 7 -> 6
 
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (608x340 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
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...
Writing AVI header...
New_Face failed. Maybe the font path is wrong.  0mb  A-V:0.000 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos:   0.7s     23f ( 0%)   0fps Trem:   0min   0mb  A-V:0.067 [0:51]
Skipping frame!
Pos:   3.6s    113f ( 0%)  29fps Trem:   0min   0mb  A-V:0.017 [247:74]

...

Pos:7009.5s 210082f (100%)  20fps Trem:   0min 682mb  A-V:-0.005
[723:88]
1 duplicate frame(s)!
Pos:7009.6s 210087f (100%)  20fps Trem:   0min 682mb  A-V:-0.022
[723:88]
1 duplicate frame(s)!
Pos:7009.7s 210088f (100%)  20fps Trem:   0min 682mb  A-V:-0.025
[723:88]
Writing AVI index...
Fixing AVI header...
 
Video stream:  723.248 kbit/s  (90406 bps)  size: 633719340 bytes 
7009.700 secs  210088 frames
 
Audio stream:   88.617 kbit/s  (11077 bps)  size: 77653032 bytes 
7010.208 secs

(i just realized that mencoder identified itself as 0.90rc5...i tried
that earlier, but i installed rc5 withOUT a custom prefix, just like i
did not use a custom predix for 0.90, so why would this be? i closed my
terminal window after i installed 0.90, and opened it again to execute
mencoder, because sometime this solves the problem, but it didn't.
weird.)

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale
 
 
MEncoder 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
 
CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading /home/upgrdman/.mplayer/codecs.conf: can't open
'/home/upgrdman/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
File not found: 'frameno.avi'
Reading config file /home/upgrdman/.mplayer/mencoder: No such file or
directory
success: format: 0  data: 0x0 - 0x5DF4336A
AVI file format detected.
VIDEO:  []  720x480  24bpp  29.97 fps  1349.0 kbps (164.7 kbyte/s)
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  9801.6 kbps (1225.2
kbyte/s)
[V] filefmt:3  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale=608:340]
Opening video filter: [crop=720:466:0:4]
Crop: 720 x 466, 0 ; 4
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 6 -> 8
SwScaler: reducing / aligning filtersize 7 -> 6
SwScaler: reducing / aligning filtersize 7 -> 6
 
SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (608x340 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
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...
Writing AVI header...
New_Face failed. Maybe the font path is wrong.  0mb  A-V:0.000 [0:0]
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Pos:   0.7s     23f ( 0%)   0fps Trem:   0min   0mb  A-V:0.067 [0:51]
Skipping frame!
Pos:   3.0s     91f ( 0%)  29fps Trem:   0min   0mb  A-V:0.052 [202:72]

...

and the second pass still looks horrible compared to the first pass.

any ideas? an help? please! :)

thanks,

farrell f.



More information about the MPlayer-users mailing list