-
Notifications
You must be signed in to change notification settings - Fork 283
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
NVENC: Error while writing raw video frame #890
Comments
If possible, can you try running this in GDB:
OR
|
Also, I would be curious to know your export settings (format, video codec, audio codec, bit rates, etc...). Thx |
Openshot version: 3.0.0
|
Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention. This issue will be closed, as it meets the following criteria:
We'd like to ask you to help us out and determine whether this issue should be reopened.
Thanks again for your help! |
Hi, I'm also facing the same error with |
Hardware acceleration in general is broken/not well supported. This bug is documented and in the queue to be fixed. No ETA at this time. |
Also seeing the same issue still on the following config : OS: Fedora Linux 40 (Workstation Edition) x86_64 Relevant Error message from the Openshot output, while trying to render projects via NVENC : Encoding Device Nr: 0 I am able to perform custom debug builds, if needed of both openshot and ffmpeg, so am happy to assist in debugging, under the guidance of any experienced openshot devs. |
The issue occurs when using the NVENC options when exporting the video (in openshot-qt).
Everything reads and writes fine until frame 33 where FFmpeg unexpectedly returns -22 (Invalid argument)
The export works fine on every other option (with CPU or VAAPI)
This probably has to do with
av_packet_rescale_ts
on line 2270 of FFmpegWriter.cpp, it might be wrong (although I can't easily use a C++ debugger on a Python script that is openshot-qt)OS: Gentoo Linux x86_64
RAM: 16GB
CPU: Intel i7-8750H (12) @ 4.100GHz
GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
GPU: NVIDIA GeForce GTX 1050 Ti Mobile
libopenshot: 0.3.0 (built from upstream using a custom package manager overlay)
nVidia drivers: 525.60.13
FFmpeg: 4.4.3
Here's a log file for reference: libopenshot.log
This issue is probably equivalent to the one on OpenShot/openshot-qt#4086
The text was updated successfully, but these errors were encountered: