iina / iina

The modern video player for macOS.
https://iina.io
GNU General Public License v3.0
38.01k stars 2.56k forks source link

Does it still support hw acceleration on amd r9 m370x? #5084

Open vorob1 opened 3 months ago

vorob1 commented 3 months ago

I've downloaded two movies, both encoded with AVC (H.264), a codec that is supported with hardware acceleration on my video card. I watched the first movie using QuickTime, and it took 2 hours, leaving me with 64% battery. However, when I watched the second movie using IINA, it consumed much more battery, suggesting that hardware decoding might not have been working. Hardware acceleration is enabled in the settings. Does anyone know why this might be happening?

low-batt commented 2 months ago

For audio/video playback and subtitle rendering support IINA is using a library from the mpv project. Possibly by default mpv is applying more filtering to the video whereas QuickTime definitely has been optimized for energy use.

When playing the video click on Inspector under the Window menu. In the Inspector window look for the field with the label Hw Decoder:. If it shows no then hardware decoding is not being used. If that is the case, we'd need to look into the log files to have an idea as to why it was not used.

vorob1 commented 2 months ago

HW is working, will look more and be back :)

hooke007 commented 2 months ago

System's built-in player is always the most efficient one in any common platform.