FS#72829 - [openshot] Failure when exporting video using nvenc
Attached to Project:
Community Packages
Opened by Yakov (ru_maniac) - Wednesday, 24 November 2021, 14:40 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
Opened by Yakov (ru_maniac) - Wednesday, 24 November 2021, 14:40 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:03 GMT
|
Details
Description:
OpenShot fails to encode the export via nvenc (mp4 h.264 nv preset). It's not crashing, but instead throws an error message which reads: "Sorry, there was an error exporting your video: error while writing raw video frame" Reproduced the same scenario using .AppImage version of OpenShot from official web-site -- file encodes using nvenc without any issues, so I guess that NVIDIA drivers on my system are configured properly. See attached log for more output. Please ignore error messages re: google analytics connection failure -- this is due to the fact that I've blocked GA on my home network. Additional info: * package version: 2.6.1-2 * config and/or log files etc.: attached to this report Steps to reproduce: 1) Start OpenShot 2) Import an .mp4 video file encoded with h.264 (in this particular example, the file was from my dash camera) 3) Place the video on any track 4) Open "File->Export project->Export video" 5) Select "NVENC MP4 (h.264 nv)" in "Target" 6) Press "Export video" 7) Error message will appear, and export will fail |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:03 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/openshot/issues/1
Saturday, 25 November 2023, 20:03 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/openshot/issues/1
openshot-nvenc-failure.log
Sorry, I don't have an nvidia card, so I can only guess.
Do you have a configuration option for the encoder or for openshot, that causes the below?
```
[h264_nvenc @ 0x558cf7379040] [Eval @ 0x7fffd7c14c40] Undefined constant or missing '(' in 'zerolatency'
[h264_nvenc @ 0x558cf7379040] Unable to parse option value "zerolatency"
```
Hello David,
Sorry for the late reply.
I don't think that I've configured OpenShot in any way, other than I've installed it. Pretty much everything happens on OpenShot's default config, apart from the resolution for the output.
If you'd like to have specifically a copy of my configuration -- do I attach it here?
At this point it is very hard to assess and maybe it makes sense for you to try e.g. openshot-git from the AUR to assess whether the latest commits work as intended (I can't guarantee anything though).
Hello there, sorry for the late reply as well.
I've upgraded to v3.0.0.3 now from community (stable), and the behavior is the same. With that said, AppImage version of the application, taken directly from project's web site, behaves correctly and encodes the file without problems. I've also tried to install openshot-git from AUR, which behaves in the same way as does the package from community repo.
Checked my NVENC and VAAPI configs as well: all seems OK, Firefox and VLC are able to use VAAPI for hardware acceleration, so the driver is configured properly (otherwise, I would imagine, AppImage version wouldn't work as well).
Please let me know if I can help you somehow to debug this further. Cheers.