-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot render NVENC video #1519
Comments
Hi @BinaryVigilante ! Download the latest daily build and give it a try... I think you will find that the render time remaining has already been implemented. 😀 |
I have installed it, and I think it's there, but I could'n test it as it won't render my project after giving this error: "Could not open codec". I will have to see if it's a known bug and if not report it.. But anyways, thanks for the heads up! I'll see if I can get it working and really test things out! Thanks for the help! :) Kind regards! |
Could you please check what codec and stuff the video you're trying to edit with this program and provide the info here? That will help others help you. Hope that helps! |
I'm trying to render a video recorded with NVENC using the matroska container and the audio is aac. I'm then trying to render it to a libx264 video file, still with the matroska container and still with the audio at aac. I can do it in Kdenlive with no problem at all, and both Openshot and Kdenlive uses Melt to render. Do you still need info from the program you mentioned @peanutbutterandcrackers ? |
@BinaryVigilante - Hmm... OpenShot 1.x series did use the MLT library but with the 2.x series, OpenShot uses it's own multimedia library called libopenshot. Therefore, I am assuming that it is probably a case of lack of support NVENC encoding? If you could, then yes please. @gary9872 might be able to give some more insight using the output from mediainfo... |
@peanutbutterandcrackers - NVENC does not seem to be working. #583 #808 |
Ok, I used mediainfo: General Video Audio #1 Audio #2 One thing to note tho, if I write "mkv" in the Video Format, it indeed gives the "Could not open codec" error. But I write "matroska", it says this: "Could not deduce output format from file extension". Just in case it gives more info. |
While not exactly a fix, an immediate workaround may be to export as MP4 and transcode with a tool like ffmpeg or handbrake to the desired MKV container format. I know that ffmpeg will allow you to set the transcode codec to "copy" ( I'm not actually sure if ffmpeg support MKV containers on any or all platforms, so handbrake or another tool may be required to transcode/encode into the final MKV format. |
I suppose it is a workaround to use ffmpeg to convert the mp4 file to mkv :) ffmpeg does indeed support the MKV container :) I use Melt for rendering, which is running on ffmpeg and there are no problems at all. But thanks anyways for the hint and the link ;) I will give it a look anyways! And sorry about the duplication.. I did not see the other two posts. :( Have a fantastic day! |
You can use nvenc_h264 with ac3, but I don't think the AppImage doesn't support it. If you say are in Linux and you use the build from your distro which uses external libraries you should have no problem using it. That being said there are no way to set any other parameters to it so it may not be much if any faster. It works for me, it offloads some work to the GPU, but don't expect a huge performance bost. |
I confirming this issue. On ver.: 2.5.1-dev2 from stable PPA. On laptop with intel integrated + discrete nvidia. Linux.
Maybe help: https://askubuntu.com/questions/778100/how-to-install-compile-nvenc-in-ubuntu Same error (issue↑) affects export via
And Appimage version 2.5.1 does not have accelerated options in Preferences > Performance at all. Just cpu. |
@Flashwalker Yeah, hardware acceleration does not currently support secondary GPUs (laptop Optimus / PRIME -- Hah! I just got that), unfortunately. Works fine if the Nvidia chip is your primary GPU. It's not supported at all in the AppImages, tho, since it seems to be impossible to include hardware driver support in a way that's compatible with all distros. (Which is the entire reason for the existence of AppImage builds in the first place.) |
If VAAPI works at all, (a) I'm kind of surprised, TBH, but (b) it's most likely either encoding unaccelerated (but through the VA interface), or it's using your Intel chip's integrated GPU as the hardware encoder. Which would probably explain the poor quality, when using VAAPI instead of QSV. |
I've tried today (dec 27/2020) and neither nvenc or vaapi works to export a video using hardware encode. I just updated my manjaro to the latest version, which came with the latest openshot-qt available. not working at all! Why was this issue closed then? btw, I only have one NVidia GTX1060 6GB video card on my computer (no discreet video card whatsoever), and openshot is installed by |
I am facing the same issue on version 2.5.1. Its surprising to see the issue is so old yet open. |
@sachinkhatrilin were you using the AppImage, or your distro's packaged version? |
Hi,
First off, thank you for a great video editor!
I have a feature request, which I would be very happy if it got implemented.
It would be really nice to have an estimated time for rendering completion appear when the rendering starts. I come from Kdenlive which has this feature, and I find it really handy :)
Thanks for your time and have a nice day/night!
Kind regards!
The text was updated successfully, but these errors were encountered: