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
process crushes without error info #197
Comments
Thanks you for the log, it seems like no frame is coming out of the hw decoder, but it's difficult to figure out without the actual input file... Does it work fine with software decoder (--avsw)? |
Yes, it works fine with software decoder. |
The size of this video is a little large. If NVEnc can output more debug info, maybe it is easier to solve the problem? |
I've added some more debug/trace logs in NVEnc 4.63, would you run with "--log-level trace --log output.log" and provide the log file (output.log)? Might be able to get a hint from there. |
cmd param: |
Thank you for the log. When using the hardware decoder, it go through the following steps. input → demuxer(libavformat) → cuvidParser → cuvidDecoder → vpp filters → encoder → muxer → output Checking the log, I can see that the video bitstream is sent to the cuvidParser but not coming out, and not sent to the decoder. It will be difficult to know what is going wrong in cuvidParser, as it is part of cuvid. Currently, I have not came up of a solution to go into this problem further. |
Is it possible to switch to software decoder when cuvidParser does not output the video stream? |
I'm finding it difficult to implement changing the decoder after starting the transcoding process, but NVEnc 5.00 shall be able to detect cuvidParser error. |
Yes, NVEnc 5.00 raises an error, but it does not seem to terminate. log:
And process will keep running without log output. Maybe process should return some non-zero exit code and terminate? |
Thank you for testing, the updated NVEnc 5.01 should terminate after error detection. |
I am using 5.01 to encode a HDR movie MKV file and it "crushes without error info" as well. Then I use FFMPEG to do the same thing and some error messages appeared. But the FFMPEG encoding continued and the file came out fine. The error messages from FFMPEG are:-
|
Might be related to #237, so NVEnc 5.04 might help. |
Thanks for your efforts, but NVEnc 5.04 raises cuvid error as before. And version info of nvencc64 cmd output is "NVEncC (x64) 5.03 (r1557) by rigaya, Jun 11 2020 15:24:18 (VC 1916/Win/avx2)". |
About version number, I have re-uploaded updating the version number to 5.04. |
Hello Rigaya!
When I encoded some videos, it crushed without error info.
nvencc64 --input input.mkv --output test.mkv
normal cmd output:
track level log output:
when I extracted video stream from mkv file, I could encode the video stream file with NVEnc successfully.
The text was updated successfully, but these errors were encountered: