[MPlayer-users] Is mplayer slow?

romildo at uber.com.br romildo at uber.com.br
Mon Dec 29 12:12:13 CET 2003


Hello.

I have been using both mplayer and transcode for making
SVCDs from AVIs and from DVDs. I have noticed that
the mplayer solution is at least twice slower than
the transcode solution. Is there any reason for
that? Is there anything I can do to make mplayer
go faster?

mplayer solution:
----------------

$ mplayer -noframedrop -vo yuv4mpeg -ao pcm -waveheader -v \
    -osdlevel 0 jerry.maguire.avi -subpos 85 -vf expand=:432:0:36 \
| yuvscaler -v 0 -O SVCD -n n \
| mpeg2enc -v 0 -s -f 5 -b 2800 -B 260 -V 230 -S 800 -g 6 -G 15 -r 16 \
    -q 5 -K FILE=matrix.txt -R 0 -E -5 -F 1 -n n -4 2 -2 1 \
    -o jerry.maguire.mpv

transcode solution:
------------------

$ transcode -i jerry.maguire.avi -y mpeg2enc,null \
    -j -28,0,-84,0 -Z 480x480,fast -V --export_asr 2 \
    -F '5,-s -B 284 -V 230 -S 800 -4 2 -2 1 -q 5 -K FILE=matrix.txt -R 0 -E -5' \
    -w 2800 \
    -J subtitler=subtitle_file=/home/romildo/.subtitles/jerry.maguire/jerry.maguire.ppml \
    -o jerry.maguire.sample \
    -a 0 -b 224,0,5 --a52_dolby_off -J astat=jerry.maguire.sample.scl

which calls mpeg2enc with the options:

  mpeg2enc -v 0 -I 0 -q 3 -f 5 -4 2 -2 3 -b 2800 -F 1 -n n \
    -a 2 -V 230 -o "jerry.maguire.sample.m2v" -s -B 284 -V 230 -S 800 \
    -4 2 -2 1 -q 6 -K FILE=matrix.txt -R 0 -E -5

Mplayer configuration details:
-----------------------------
Install prefix: /usr
Data directory: /usr/share/mplayer
Config direct.: /usr/share/mplayer

Byte order: Little Endian
Optimizing for: athlon-4 mmx mmx2 3dnow 3dnowex sse mtrr

Languages:
  Messages/GUI: en
  Manual pages: en (no localization selected, use --language=all)

Enabled optional drivers:
  Input: ftp network tv-v4l2 tv-v4l edl tv cdda mpdvdkit2 vcd smb 
  Codecs: flac(internal) qtx divx5linux xvid libdv libavcodec real xanim dshow/dmo win32 faad2(external) libvorbis libmad liblzo gif 
  Audio output: alsa9 esd arts oss sdl mpegpes(file) 
  Video output: xvidix cvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev svga aa opengl dga xv x11 xover tga 
Disabled optional drivers:
  Input: tv-bsdbt848 live.com matroska dvdread 
  Codecs: divx4linux libtheora 
  Audio output: sgi sun dxr2 nas win32 macosx 
  Video output: winvidix bl zr zr2 dxr3 dxr2 directx ggi xmga mga xvmc directfb tdfx_vid tdfxfb 3dfx 
							

Regards.

Romildo

PS: Althoug being so slow, mplayer is yet a better solution
    because it hard codes subtitles better than transcode.

    I am running Gentoo Linux on an Athlon XP 2000 machine with 256MB of RAM.




More information about the MPlayer-users mailing list