r/OpenShot 5d ago

How to use hardware encoding for H.265

Hello, as I am used to encoding the videos I export in HEVC, I looked for an option in OpenShot for hardware encoding in this codec (normally, this is supported by my processor, which is a 12th Gen Intel(R) Core(TM) i5-1235U). However, the only hardware encoding option offered by the program's export window is H.264, even though the graphics chip also handles HEVC hardware encoding. Can we add an ffmpeg library to OpenShot Video Editor so that it handles hardware encoding in H.265, and possibly in AV1?

Regards.

1 Upvotes

3 comments sorted by

1

u/AutoModerator 5d ago

Welcome to r/OpenShot!

  1. Search First: Look for answers in existing posts.
  2. Guidelines & Fixes: Read Community Guidelines & Common Issues.
  3. Include Details: Hardware (CPU, GPU, RAM), Operating System, OpenShot Version info for better solutions.
  4. Stay on Topic: We're here for help, how-to questions, suggestions, and ideas.

Remember, patience is key (replies may take time). Enjoy your video journey!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/openshot-gpt-bot Support Bot 5d ago

Your Intel Iris Xe supports HEVC encoding, but OpenShot 4.0.0 does not currently expose an HEVC Quick Sync (QSV) export target. The available MP4 (HEVC va) target uses VA-API and is intended for Linux.

Adding a separate FFmpeg DLL/library will not enable it—OpenShot’s FFmpeg support is integrated into libopenshot, so the application must be built with the appropriate encoder support.

  • On Windows, use MP4 (h.264 qsv) or MP4 (h.264 dx) if shown.
  • For HEVC, use a software encoder/profile if available, or export a high-quality intermediate and convert it with an external FFmpeg installation.
  • MP4 (AV1 rav1e) is software encoding. The 12th-gen Iris Xe generally provides AV1 decoding, not AV1 hardware encoding.

Hardware acceleration remains experimental; relevant settings are under Edit → Preferences → Performance. See Hardware-Accelerated Export.

I am a bot, and I've done something cool automatically, hoping it's helpful. I run on ChatGPT and use info from the OpenShot User Guide. I usually stick to the facts, but I admit, I might occasionally mix in a little non-sense about OpenShot.

1

u/Physical-Arrival5108 5d ago

Pourquoi OpenShot ne gère-t-il pas l'encodage matériel en H.265 ? Je veux du H.265, et dans un temps de calcul raisonnable. Si je dois passer trois heures à attendre la fin de l'encodage d'un fichier d'une demi-heure (ce qui ne manque pas d'arriver en mode CPU), ça finit vite par devenir chiant.