[MPlayer-dev-eng] Compiltation problems/Video playing much too fast in MPlayer 1.0 pre 8 for ARM-LINUX
Serhiy Tkachenko
altserg at yahoo.com
Sun Jun 18 23:39:42 CEST 2006
Hi all,
I compiled mplayer 1.0 pre 8 for linux-arm with
following command line (arm-linux-gcc 3.3.4) (see
below)
During compilation I used -mcpu=arm920 option. I had
following errors:
armv4l/dsputil_arm_s.S: Assembler messages:
armv4l/dsputil_arm_s.S:77: Error: selected processor
does not support `pld [r1]'
armv4l/dsputil_arm_s.S:88: Error: selected processor
does not support `pld [r1]'
armv4l/dsputil_arm_s.S:98: Error: selected processor
does not support `pld [r1]'
armv4l/dsputil_arm_s.S:109: Error: selected processor
does not support `pld [r1]'
armv4l/dsputil_arm_s.S:120: Error: selected processor
does not support `pld [r1]'
armv4l/dsputil_arm_s.S:139: Error: selected processor
does not support `pld [r1]'
armv4l/dsputil_arm_s.S:150: Error: selected processor
does not support `pld [r1]'
....
After I removed -mcpu=arm920 option for libavcodec,
everything compiled OK, but when I play the movies,
video is played much-much faster than normal speed.
The same video plays fine in mplayer for Windows. It
does not matter whether I use two pass or one pass
encoding, turbo mode, etc.
I use following options for mencoder for one pass
mode:
mencoder
"D:\Tmp\gg\Serenity.DVDRip.XviD-DiAMOND\CD1\dmd-serenity-cd1.avi"
-ovc lavc -lavcopts
vcodec=mpeg4:mbd=2:trell:vbitrate=360: -o
"D:\Projects\TomTom\Video\dmd-serenity-cd1.avi" -vf
crop=496:272:80:0,scale=320:192 -endpos 90 -oac
mp3lame -lameopts abr:br=48:mode=3 -af
resample=16000:0:2,channels=1,format=s16le -v
The same configuration works fine with
mplayer/mencoder 1.0 pre 7 try 2.
I tried to enable/disable -enable-rtc option but it
does not help.
What can be wrong ?
configure options:
configure --prefix=${HOME}/Media --disable-mencoder
--disable-termcap --disable-termios \
--disable-langinfo --disable-lirc
--disable-lircc --disable-vm \
--disable-xf86keysym --disable-tv \
--disable-rtc \
--disable-network \
--disable-winsock2 --disable-smb --disable-live
--disable-dvdread \
--disable-mpdvdkit --disable-cdparanoia
--disable-unrarlib \
--disable-menu \
--disable-enca --disable-inet6 --disable-ftp
--disable-vstream \
--disable-gif --disable-png --disable-jpeg
--disable-real \
--disable-libfame --disable-libcdio \
--disable-internal-tremor --disable-vorbis
--disable-speex --disable-theora \
--disable-internal-faad --disable-faac
--disable-ladspa --disable-libdv \
--enable-mad \
--disable-toolame --disable-twolame \
--disable-mp3lib --disable-libmpeg2
--disable-liba52 \
--disable-amr_nb --disable-amr_nb-fixed
--disable-amr_wb \
--disable-internal-vidix --disable-external-vidix \
--disable-gl --disable-dga --disable-vesa
--disable-svga \
--disable-sdl --disable-caca --disable-aa
--disable-ggi --disable-directx \
--disable-dxr2 --disable-dxr3 --disable-dvbhead
--disable-mga --disable-xmga \
--disable-xv --disable-xinerama --disable-x11
--disable-dvb \
--enable-fbdev \
--disable-directfb --disable-tga --disable-pnm
--disable-md5sum \
--disable-alsa \
--enable-ossaudio \
--disable-arts --disable-esd --disable-polyp
--disable-jack --disable-openal --disable-nas
--disable-sgiaudio \
--enable-cross-compile \
--cc=arm-linux-gcc --as=arm-linux-as --host-cc=gcc
--target=arm-linux \
--with-extraincdir="${HOME}/Media/include
-I`pwd`/../TTMP -I`pwd`/../TTMP/Linux
-I`pwd`/../golinux/include -I`pwd`/../TT" \
--with-extralibdir="${HOME}/Media/lib
-L`pwd`/../TTMP/lib-arm -L`pwd`/../TT/lib-arm" \
--disable-fontconfig --disable-freetype \
--disable-sortsub \
--enable-libavcodec
also in configure file I disabled both USE_OSD and
USE_SUB
I have libmad already pre-compiled and it works fine
for other projects
configuration file for mplayer:
##
## MPlayer configuration file
##
## Configuration files are read system-wide from
/usr/local/etc/mplayer.conf
## and per user from ~/.mplayer/config, where per-user
settings override
## system-wide settings, all of which are overrriden
by the command line.
##
## The options are the same as on the command line.
##
##
## video settings
##
# Specify default video driver (see -vo help for a
list).
#vo=fbdev
# Syntax changed in 1.0 pre 8
vo=fbdev
#:device=/dev/fb
# Specify default audio driver (see -ao help for a
list).
ao=aa,cool,oss
# fullscreen mode
#fs=yes
# Change to a different videomode when going
fullscreen
# (dga, x11, sdl video output drivers only).
# vm=no
# Force changing display depth (valid settings are: 0,
15, 16, 24, 32).
# May need 'vm=yes' as well, only works with fbdev,
dga, svga, vesa
# video output drivers.
# bpp=0
# Enable software scaling (powerful CPU needed).
# Some video output drivers (svga, x11, vesa) do not
support hardware scaling.
# zoom=no
# Doublebuffering can help remove flicker from
subtitles/OSD.
# double=yes
# standard monitor size, with square pixels
# monitoraspect=4:3
# Use this for a widescreen monitor, non-square
pixels.
# monitoraspect=16:9
# Makes the player window stay on top of all other
windows.
# ontop=yes
##
## Specify your preferred default skin here
## (skins are searched in
/usr/local/share/mplayer/Skin/yourskin
## and ~/.mplayer/Skin/yourskin)
##
# skin = default
##
## Multiple languages are available :)
##
## Hungarian igen nem
## English yes no
## German ja nein
## Spanish si no
## Polish tak nie
## Swedish ja nej
## Binary 1 0
##
## You can also use spaces and/or tabs.
##
# sound = 1
# nosound = nein
# mixer = /dev/mixer
##
## resample the fonts' alphamap
## 0 plain white fonts
## 0.75 very narrow black outline (default)
## 1 narrow black outline
## 10 bold black outline
##
# ffactor = 0.75
##
## FBdev driver:
##
# framebuffer device to use
#Removed in 1.0 pre 8
#fb = /dev/fb
#
# mode to use (read from fb.modes)
# fbmode = 640x480-120
#
# location of the fb.modes file
# fbmodeconfig = /etc/fb.modes
## VESA and FBdev driver: Specify your monitor's
timings.
##
## (see /etc/X11/XF86Config for timings)
## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT
AUTOMATICALLY TURNING OFF WHEN
## OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE
DAMAGE TO YOUR DISPLAY!
## WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! **
##
## k, K: means multiply by 1000
## m, M: means multiply by 1.000.000
##
# horizontal frequency range
# monitor-hfreq = 31.5k-50k,70k
#
# vertical frequency range
# monitor-vfreq = 50-90
#
# dotclock (or pixelclock) range
# monitor-dotclock = 30M-300M
##
## SDL driver
##
# Use SDL video with the aalib subdriver by default.
# vo = sdl:aalib
#
# Use SDL audio driver with the esd subdriver by
default.
# ao = sdl:esd
#
# Turn off XVideo hardware acceleration.
# noxv = no
#
# Force XVideo even if not detected.
# forcexv = yes
##
## Other (preferred to be default from configfile)
switches
##
# Drop frames to preserve audio/video sync.
framedrop = yes
##
## cache settings
##
# Use 8MB input cache by default.
cache = 4096
#
# Prefill 20% of the cache before starting playback.
cache-min = 20.0
#
# Prefill 5% of the cache before restarting playback
after the cache emptied.
# Removed in 1.0 pre 8
#cache-prefill = 5.0
# DVD: Display English subtitles if available.
slang = en,nl,fr,de
# DVD: Play English audio tracks if available.
alang = en,nl,fr,de
## This is the correct way to use "subconfig" type
options in the
## configuration file. In the command line you use:
## -aop list=resample:fout=44100 , but here it is:
# aop=list=resample:fout=44100
##
## You can also include other configfiles
##
#include = /path/to/the/file/you/want/to/include
# Extra options
#quiet = 1
#input =
conf=/mnt/sdcard/Media/etc/mplayer/input.conf
#menu = 1
#menu-cfg = /mnt/sdcard/Media/etc/mplayer/menu.conf
#font = /mnt/sdcard/Media/etc/mms/fonts/Vera.ttf
osdlevel = 0
#softvol = 1
#vf = bmovl=1:0:/var/run/mplayer.icon
fs = 1
noaspect = 1
noconsolecontrols = 1
afm = libmad,ffmpeg
loop = 0
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the MPlayer-dev-eng
mailing list