[MPlayer-dev-eng] [PATCH] VDA support for mplayer

Guillaume POIRIER poirierg at gmail.com
Wed Jul 18 14:33:50 CEST 2012


Hello,

On Wed, Jul 18, 2012 at 12:14 PM, Xunzhen Quan <quanxunzhen at gmail.com> wrote:
> On Wed, Jul 18, 2012 at 5:59 PM, Guillaume POIRIER <poirierg at gmail.com>wrote:
>>
>> Do I need to add some options to my mplayer commandline in order to enable
>> VDA?
>>
>
> These code just defines another decoder named ffh264vda, so just add "-vc
> ffh264vda" should work.
>
> It seems that playing h.264 video without any options can automatically
> start with VDA in the current code.


Ok, I'll try that when it compiles, because it doesn't here:


CC	libavcodec/vda.o
In file included from
/usr/lib/gcc/i686-apple-darwin11/4.2.1/include/xmmintrin.h:45,
                 from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:29,
                 from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32,
                 from
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:129,
                 from
/System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20,
                 from
/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21,
                 from
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:20,
                 from
/System/Library/Frameworks/CoreVideo.framework/Headers/CVDisplayLink.h:24,
                 from
/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:25,
                 from
/System/Library/Frameworks/VideoDecodeAcceleration.framework/Headers/VDADecoder.h:12,
                 from libavcodec/vda.h:40,
                 from libavcodec/vda_internal.h:26,
                 from libavcodec/vda.c:31:
/usr/lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h: In
function '_mm_malloc':
/usr/lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h:56: error:
implicit declaration of function 'please_use_av_malloc'
/usr/lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h: In
function '_mm_free':
/usr/lib/gcc/i686-apple-darwin11/4.2.1/include/mm_malloc.h:74: error:
implicit declaration of function 'please_use_av_free'
make[1]: *** [libavcodec/vda.o] Error 1
make: *** [ffmpeg/libavcodec/libavcodec.a] Error 2




Apparently, you are not using the memory allocated required in libav/ffmpeg...


Best regards,

Guillaume Poirier
-- 
If a cluttered desk is the sign of a cluttered mind, what is the
significance of a clean desk?
Laurence J. Peter


More information about the MPlayer-dev-eng mailing list