LibVLC and avcodec-hw
Posted: 16 Jul 2014 14:07
I'm working on a video player app to play H.264 video, using LibVLC 2.1.4 on Linux. The hardware this app will run on is an AMD APU without enough horsepower to do the decoding in CPU -- however, libva-based decode works like a champ.
According to the wiki entry on VLC_GPU_Decoding, "By default, hardware acceleration is disabled (and consequently, hardware acceleration is not yet available to external application via LibVLC)."
Is this still the case? Is there any way to turn on libva decode in a LibVLC app? Passing "--avcodec-hw=any" or "--avcodec-hw=vaapi" to the libvlc instance does not seem to convince the system to turn it on.
Thanks much!
According to the wiki entry on VLC_GPU_Decoding, "By default, hardware acceleration is disabled (and consequently, hardware acceleration is not yet available to external application via LibVLC)."
Is this still the case? Is there any way to turn on libva decode in a LibVLC app? Passing "--avcodec-hw=any" or "--avcodec-hw=vaapi" to the libvlc instance does not seem to convince the system to turn it on.
Thanks much!