[MPlayer-dev-eng] Compiltation problems/Video playing much too fast in MPlayer 1.0 pre 8 for ARM-LINUX

Guillaume POIRIER poirierg at gmail.com
Sun Jun 18 23:50:15 CEST 2006


Hi,

On 6/18/06, Serhiy Tkachenko <altserg at yahoo.com> wrote:
> 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 ?

I'm interested in helping out finding/solving your problem, but I
don't have any ARM-based machine for work on. Would it be possible to
get an ssh access to any one of your machine?
In addition to solving you problem, that would allow me to finally
back port the asm optimizations that are featured by one of our forks.

Guillaume
-- 
"Success consists of going from failure to failure without loss of enthusiasm."
 -- Winston Churchill



More information about the MPlayer-dev-eng mailing list