MikaTake / lavfilters

lavfilters
GNU General Public License v2.0
0 stars 0 forks source link

Force hardware acceleration #295

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I have defined LAV decoder as default video and audio decoder on my win8 and 
win7 setups thanks to win7dsfilterTweaker. The thing is i have a program called 
Serato video (www.serato.com) which when i play 1080p or 720p H264 aac files 
seems not wanting to be using CUVID or DXVA acceleration. Is there a way to 
force the use of Cuvid (i have nvidia graphic card) ? It is working fine with 
MPC for example. I have spent several ours of finding a way to force the use of 
my GPU but i don't manage.

It would be nice to have a checkbox with a warning that permit to force the use 
of GPU whenever the lav filter detects H264 files running

I'm using last version

Best regards

Original issue reported on code.google.com by frederic...@gmail.com on 4 Dec 2012 at 5:50

GoogleCodeExporter commented 9 years ago
Hi,

I'm on WIN8 and WIN7 (dual boot)
I have latest Lav filters 0.54.1
I have asus UX32VD with Nvidia 620M (CUDA compatible)

I'm using Djing software call Serato video (www.serato.com). It can be 
downloaded here :

http://serato.com/scratchlive/downloads/win

then the video pluggin

http://serato.com/video/downloads/win

I have setted LAV Video and Audio as default thanks to win7dsfilterTweaker

When i play HD videos for example 1080p h264 AAC (or 720p) in mp4, i can't get 
the Hardware acceleration to work. it always says video decoder <inactive> so i 
have poor performance. I have tested with graphfilter that LAV is really the 
default decoder and it is. Is there a way to force the GPU using in LAV 
whenever it would detect a H264 file played ? I'm loosing my hair with that ! 
Lav works perfectly well but i can't get it to work as i want with my dj soft. 
I'm ready to pay for that 

Original comment by frederic...@gmail.com on 4 Dec 2012 at 6:24

GoogleCodeExporter commented 9 years ago
If you enable one of the hardware decoders, the GPU will always be used, as 
long as its possible to use it. There is no other way to "force" it.

Original comment by h.lepp...@gmail.com on 5 Dec 2012 at 7:38

GoogleCodeExporter commented 9 years ago
But why when i open the lav decoder video settings when my seratovideo is
playing video file, it says <inactive> whereas if i play with MPC it says
active hw ?

Original comment by frederic...@gmail.com on 6 Dec 2012 at 9:20