Skip to content
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

Error message for the cutted video files with NVENCC HW decoding #174

Closed
Starkler opened this issue Nov 24, 2019 · 7 comments
Closed

Error message for the cutted video files with NVENCC HW decoding #174

Starkler opened this issue Nov 24, 2019 · 7 comments

Comments

@Starkler
Copy link

Starkler commented Nov 24, 2019

Hello Rigaya!

Here is a typical cutted sample/example video located: https://we.tl/t-wxfo4UaBtk

Full length blu-ray disk films works perfectly with NVENCC HW decoding.
However, I cutted out some short videos from blu-ray disk films (with direct-stream-copy), they caused error when I used HW decoding, however the transcoding worked perfectly with NVENCC when I used software decoding.

The FFMPEG version of NVENC worked good for cutted files with and without HW decoding.
It seems a bug in NVEncC or a libraries it uses.

Maybe newer libav libraries needed to open the containers properly ?

Thank your for your help!

@Starkler Starkler changed the title Error message for the cutted video files with NVENCC HW deceoding Error message for the cutted video files with NVENCC HW decoding Nov 24, 2019
@Selur
Copy link

Selur commented Nov 24, 2019

I can at least confirm that NVEncC crashes for me when using that sample,...

@Starkler
Copy link
Author

Starkler commented Nov 24, 2019

Another examples for NVENCC HW decode failure after I cutted the files (with direct stream copy)

Software decoding of NVENCC is fine, but slow.

FFMPEG version of NVENC can decode it with HW (Directx) and software without any problem.

Here are the 2 other sample files:

  1. sample

https://we.tl/t-8CtC2hJ4fh

  1. sample

https://we.tl/t-aNy124gkwF

rigaya added a commit that referenced this issue Nov 25, 2019
mkv入りのVC-1をカットしたものなど、動画によってはpkt->flagsにフラグがセットされておらず、最初のキーフレームが探せないことからデコーダにデータが渡っていなかった。parserの情報も活用してキーフレームかどうかを判定するようにして改善、
@rigaya
Copy link
Owner

rigaya commented Nov 25, 2019

Thank you for the samples, I might be able to fix it in the next release.

@Starkler
Copy link
Author

Thank you for the samples, I might be able to fix it in the next release.

Thank you Rigaya!
When will the next corrected release appear?
I think the 4.56 was not the release which fixed this problem https://github.com/rigaya/NVEnc/releases/tag/4.56

@rigaya
Copy link
Owner

rigaya commented Nov 26, 2019

I'm sorry, yesterday I uploaded wrong "4.56", I have re-uploaded it today.

I've checked with your samples, now NVEnc 4.56 should be able to decode your samples properly.

@Selur
Copy link

Selur commented Nov 26, 2019

works here too with the sample :)

@Starkler
Copy link
Author

Thank you Rigaya!

@rigaya rigaya closed this as completed Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants