How can I acclerate decoding video without displaying

This forum is about all development around libVLC.
plbmw2018
New Cone
New Cone
Posts: 2
Joined: 24 Jul 2018 07:56

How can I acclerate decoding video without displaying

Postby plbmw2018 » 24 Jul 2018 09:21

What I want to do is to decode the living video acclerate by set options avcodec-hw=d3d11va the copy the raw frame yuv or others to memory for objects detect , and I do not want to display the video.
Then I try to save the decoded frame to memory by libvlc_video_set_callbacks, unluckily the decoding process is slowly because it canot accelerate on hw. Thanks.

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: How can I acclerate decoding video without displaying

Postby mfkl » 24 Jul 2018 12:01

I'm not sure you can do that.
https://mfkl.github.io

plbmw2018
New Cone
New Cone
Posts: 2
Joined: 24 Jul 2018 07:56

Re: How can I acclerate decoding video without displaying

Postby plbmw2018 » 25 Jul 2018 17:40

Thanks for your attention. I have found another way for ffmpeg to do these job , which I can use the hw to accelerate video decoding. I think vlc it's more comfortable used for video player than others with little code, which not the best choice for my requrinets.


Return to “Development around libVLC”

Who is online

Users browsing this forum: m1adow and 25 guests