[MPlayer-users] VDPAU on mk802 II

Amir Hassan amir at viel-zu.org
Sun Feb 2 16:26:39 CET 2014


On Wed, 29 Jan 2014 12:13:41 +0100, Amir Hassan <amir at viel-zu.org> wrote:

>
>> That said, please use self-compiled SVN for such special
>> use-cases, ancient distro-versions are unlikely to work out.
>
> svn works! thx

well... it works mostly. i'm still having problems with av sync. it starts  
in sync but then is drifts. video playback looks good but it seems like it  
can't catch up with audio. i tried playing with autosync and mc but with  
no luck. i do understand that sometimes decoding the video is too slow,  
but most of the time performance is fine. why doesn't framedrop work? any  
ideas on how to track down the problem? how would go about profiling  
mplayer to find the bottleneck?
btw. i also tried mplayer2 but with no improvement.

I'm using MPlayer SVN-r36764-4.6.

command line:
> /usr/bin/mplayer -fs -vc ffh264vdpau,ffmpeg12vdpau, -idle -input  
> file=/var/run/player/cmdfifo

build options:
> ./configure --enable-alsa --disable-libdvdcss-internal  
> --disable-mencoder --enable-x11 --enable-xv --enable-vdpau --  
> enable-neon --enable-armvfp --enable-vfpv3  --enable-thumb  
> --extra-cflags=-mfpu=neon --extra-ldflags=-lm

config:
> vo=vdpau:hqscaling=0:deint=0:denoise=0.0:nochroma-deint
> vc=ffh264vdpau,ffmpeg12vdpaffh264vdpau,ffmpeg12vdpaum=yes
> framedrop=yes
> hardframedrop=yes
> #mc=1
> #autosync=30
> ao=alsa
> volstep=5
>cache=8092
> cache-min=0
> cache-seek-min=0
>font="Topaz a500a1000a2000:style=Regular"
> rootwin=yes
> slave=yes
> enqueue=yes
> ass=yes
> embeddedfonts=yes
> noautosub=yes
> noar=yes
> noconsolecontrols=yes
> nomouseinput=yes
> nolirc=yes
> nojoystick=yes
> fixed-vo=yes
> msgmodule=yes
> #msglevel=demuxer=9:statusline=0:cplayer=9:decvideo=0:decaudio=0:network=0:cache=0
> msglevel=all=9:statusline=0

cpuinfo:
> Processor	: ARMv7 Processor rev 2 (v7l)
> BogoMIPS	: 599.04
> Features	: swp half thumb fastmult vfp edsp neon vfpv3 tlsCPU  
> implementer	: 0x41
> CPU architecture: 7
> CPU variant	: 0x3
> CPU part	: 0xc08
> CPU revision	: 2
>Hardware	: sun4i
> Revision	: 0000
> Serial		: 0000000000000000

vdpau driver:
> https://github.com/linux-sunxi/libvdpau-sunxi

log:
MPlayer SVN-r36764-4.6 (C) 2000-2014 MPlayer Team

Playing  
http://r3---sn-oxmua5txg-8pxe.googlevideo.com/videoplayback?fexp=917000%2C900804%2C935000%2C910207%2C934909%2C916624%2C906008%2C936102%2C936910%2C936913&ip=213.129.230.10&key=yt5&id=8630599650e8ffc1&itag=18&sver=3&mv=m&mt=1391350297&sparams=id%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&ms=au&ipbits=0&ratebypass=yes&source=youtube&expire=1391373840&upn=WBb1SKMeuRQ&signature=C8CFAA41D4153AD974D887DD569D638C7C41DAC6.9AC0331385D7A2C406AF56A2C91970A28E33F973.
Resolving r3---sn-oxmua5txg-8pxe.googlevideo.com for AF_INET...
Connecting to server  
r3---sn-oxmua5txg-8pxe.googlevideo.com[213.208.156.206]: 80...
Resolving r14---sn-5go7ln7s.googlevideo.com for AF_INET...
Connecting to server r14---sn-5go7ln7s.googlevideo.com[74.125.163.83]:  
80...

Cache size set to 320 KBytes
Cache fill: 18.77% (61491 bytes)

libavformat version 55.28.101 (internal)
libavformat file format detected.
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Resolving r14---sn-5go7ln7s.googlevideo.com for AF_INET...
Connecting to server r14---sn-5go7ln7s.googlevideo.com[74.125.163.83]:  
80...
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Resolving r14---sn-5go7ln7s.googlevideo.com for AF_INET...
Connecting to server r14---sn-5go7ln7s.googlevideo.com[74.125.163.83]:  
80...

Server returns 416: Requested range not satisfiable
nop_streaming_read error : Bad file descriptor
Resolving r14---sn-5go7ln7s.googlevideo.com for AF_INET...
Connecting to server r14---sn-5go7ln7s.googlevideo.com[74.125.163.83]:  
80...

Server returns 416: Requested range not satisfiable
nop_streaming_read error : Bad file descriptor
nop_streaming_read error : Bad file descriptor
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Resolving r14---sn-5go7ln7s.googlevideo.com for AF_INET...
Connecting to server r14---sn-5go7ln7s.googlevideo.com[74.125.163.83]:  
80...
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Resolving r14---sn-5go7ln7s.googlevideo.com for AF_INET...
Connecting to server r14---sn-5go7ln7s.googlevideo.com[74.125.163.83]:  
80...
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
Cache empty, consider increasing -cache and/or -cache-min. [performance  
issue]
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  640x360  24bpp  30.000 fps  486.6 kbps (59.4 kbyte/s)
Clip info:
  major_brand: mp42
  minor_version: 0
  compatible_brands: isommp42
  creation_time: 2014-01-07 00:05:53
[VDPAU SUNXI] VE version 0x1623 opened.
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.49.101 (internal)
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, floatle, 96.0 kbit/3.40% (ratio: 12001->352800)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4  
Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or  
directory
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 640x360 => 640x360 H.264 VDPAU acceleration  [fs]
A:  58.2 V:  57.7 A-V:  0.580 ct:  0.055   0/  0  8% 51% 13.9% 50 0 46%


            ************************************************
            **** Your system is too SLOW to play this!  ****
            ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
   - Try -ao sdl or use the OSS emulation of ALSA.
   - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
   - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
   - Don't try to play a big DVD/DivX on a slow CPU! Try some of the  
lavdopts,
     e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
   - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
   - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
   - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.


More information about the MPlayer-users mailing list