Ristellise / AegisubDC

Aegisub, Daydream Cafe Edition
Other
281 stars 31 forks source link

Request: Please Add Hardware-accelared Decoding and Encoding #51

Open anatonkowwac opened 2 years ago

anatonkowwac commented 2 years ago

Recently I've been making subtitles in other languages for some tech YouTubers, and whenever I import 4K or 8K videos in HEVC codec, the framerate of the preview window gets all the way down to about 20 FPS for 4K, and about 3-5 FPS for 8K. And even when the video is 1080P, the framerate won't stay 60 FPS, instead it always goes to 55-58 FPS, and the frametime graph is not steady, thus I have to set a 30 FPS cap in MSI Afterburner. It would be a lot better if Aegisub can utilize the media engine in the GPU, and maybe set an in-app 30 FPS cap? So I am wondering if the DC Version can make some improvements in this part. (I am using an i7-12700, paired with 32GB 3200Mhz RAM running in Dual Channel, and an RTX 3050. ) And also thx for making Aegisub so much better over the main build. The VP9 support is more than helpful for YouTube videos. And the UI is so much better when shown on a 4K TV in 250% Scale. The only totally-lack codec is AV1 for YouTube 8K videos, but nobody really cares about that right now. So good job, Ristellise-san!

Snipaste_2022-05-04_08-59-14 Snipaste_2022-05-04_09-19-14 Snipaste_2022-05-04_09-20-17

Ristellise commented 2 years ago

Keeping in mind this project is in maintaince mode, there is no plans to add this request. However, feel free to PR new code that introduces this feature in a way that does not break existing systems and I'll consider it. Thanks!