i'm running up-to-date raspbian jessie , can't mpv choose option --vo=rpi. provided version 0.6.2, tried build mpv manually using mpv-build. went fine, until configure script of mpv ran. said: tried enable adding --enable-rpi mpv_options, configure halted, saying autodetection check failed.
doing wrong?
code: select all
$ mpv --vo warning: mpv compiled against different version of libav shared library linked against. can expose subtle abi compatibility issues , can lead misbehavior , crashes. available video outputs: opengl : extended opengl renderer vdpau : vdpau x11 xv : x11/xv sdl : sdl 2.0 renderer opengl-old : opengl (legacy vo, may work better on older gpus) vaapi : va api x11 x11 : x11 ( ximage/shm ) null : null video output image : write video frames image files opengl-hq : extended opengl renderer (high quality rendering preset) wayland : wayland shm video output
code: select all
checking raspberry pi support : no
doing wrong?
realised project might not running standard automake setup.
commit added rpi support can see added paths required directories , files. (in "wscript" file)
code: select all
+ # need mmal/bcm_host/dispmanx apis. also, rpi distros require + # every project hardcode paths include directories. also, + # these headers broken spam tons of warnings merely + # including them (compensate -isystem , -fgnu89-inline). + 'name': '--rpi', + 'desc': 'raspberry pi support', + 'func': + check_cc(cflags="-isystem/opt/vc/include/ "+ + "-isystem/opt/vc/include/interface/vcos/pthreads " + + "-isystem/opt/vc/include/interface/vmcs_host/linux " + + "-fgnu89-inline", + linkflags="-l/opt/vc/lib", + header_name="bcm_host.h", + lib=['mmal_core', 'mmal_util', 'mmal_vc_client', 'bcm_host']), + }
raspberrypi
Comments
Post a Comment