[RESOLVED] Failed to create video decoder (1)

Support forum for DGDecNV
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: Failed to create video decoder (1)

Post by Rocky »

No, Bullwinkle. It's improper handling of RPS+IDR/I. I have it fixed but have to regression test. Should be able to release fix tomorrow.

Zooooooom! Whee! Bye for now!
User avatar
Bullwinkle
Posts: 338
Joined: Thu Sep 05, 2019 6:37 pm

Re: Failed to create video decoder (1)

Post by Bullwinkle »

And fairy tales!
DAE avatar
Xunkar
Posts: 36
Joined: Sun Aug 18, 2019 5:17 am

Re: Failed to create video decoder (1)

Post by Xunkar »

Little Wing heh? I'm a great fan of SRV's cover, but I guess I never really listened to the lyrics of the song (doesn't help that english isn't my main language) :D
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: Failed to create video decoder (1)

Post by Rocky »

For sure, Stevie Ray's version is sublime.
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: Failed to create video decoder (1)

Post by Rocky »

Fixed in slipstream 196.
DAE avatar
Xunkar
Posts: 36
Joined: Sun Aug 18, 2019 5:17 am

Re: Failed to create video decoder (1)

Post by Xunkar »

Hmm I'm sad to report that... it's not entirely fixed. Now I can see a few frames in VirtualDub but most are broken and I sometimes get error 1, and other times error 100. I've saved the project as Strict AVC, but also tried without... At that point I feel like I should simply upload the whole m2ts. What do you think?
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: Failed to create video decoder (1)

Post by Rocky »

Yes, please upload the entire M2TS to my FTP. You have the access details? Where did this M2TS come from?

Do you see broken frames when just playing from the start or only after seeking?
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: Failed to create video decoder (1)

Post by Rocky »

Xunkar, where did you go? I hope you won't keep me in suspense too long.
DAE avatar
Xunkar
Posts: 36
Joined: Sun Aug 18, 2019 5:17 am

Re: Failed to create video decoder (1)

Post by Xunkar »

I wasn't home. I do not have ftps access no, I'll upload it as soon as you send me the details, shouldn't take long. The M2TS is from the "You Only Live Twice" BluRay, as ripped by AnyDVD. I first suspected that it was AnyDVD's fault but the M2TS itself is playable and the BluRay comes from a box set for the complete James Bond collection, and the first 4 BluRays had no such issues.

The video is broken even from the beginning. The top half of the picture is grey while the bottom half is black. Afterwards it's a complete artifact mess. If I seek, the video seems to play correctly but it's hard to say because VirtualDub simply crashes, I have to encode small samples using ffmpeg to find that out.
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: Failed to create video decoder (1)

Post by Rocky »

Thank you. Sent ftp details by PM.
DAE avatar
Xunkar
Posts: 36
Joined: Sun Aug 18, 2019 5:17 am

Re: Failed to create video decoder (1)

Post by Xunkar »

It's uploaded, good luck with that.
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: Failed to create video decoder (1)

Post by Rocky »

Got your file. Everything works just perfectly for me. Make sure you have DGDecodeNV.dll version 2053.0.0.196.
DAE avatar
Xunkar
Posts: 36
Joined: Sun Aug 18, 2019 5:17 am

Re: Failed to create video decoder (1)

Post by Xunkar »

Well that's odd, I can confirm I have 2053.0.0.196. Did you save the project using Strict AVC?
DAE avatar
Xunkar
Posts: 36
Joined: Sun Aug 18, 2019 5:17 am

Re: Failed to create video decoder (1)

Post by Xunkar »

Okay I must be really tired. I updated my DGDecNV installation but forgot to replace the DLL in AviSynth+ plugins folder, duh. It is indeed working, I was worried for a second.
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: Failed to create video decoder (1)

Post by Rocky »

No problem, Xunkar, as they say, all's well that ends well. You reported a big problem and helped me to fix it. So... :salute:
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: [RESOLVED] Failed to create video decoder (1)

Post by Rocky »

@Xunkar

This fix for you I made causes a regression for other streams (ggtop) so I'm going to need to revert it. But unfortunately I did not keep your test stream(s) so would it be possible to re-send one of them to me so that I can get both cases working? Thank you!
DAE avatar
Xunkar
Posts: 36
Joined: Sun Aug 18, 2019 5:17 am

Re: [RESOLVED] Failed to create video decoder (1)

Post by Xunkar »

Hmm I'll have to remember which movie of the set had the issue. I'll grab dgdecnv2502 from the repo, I suppose it should allow me to replicate the issue, I'll let you know asap.
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: [RESOLVED] Failed to create video decoder (1)

Post by Rocky »

Thank you!
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: [RESOLVED] Failed to create video decoder (1)

Post by Rocky »

Oh, you can use the current (reverted) 2053 build 201.

So, after some more debugging I think I have gotten to the bottom of this, and found out why the fix for you didn't work for ggtop and vice versa (code for start codes split between transport packets wasn't correct for M2TS). I have your last PM and will test your file. If all is good, I'll make another slipstream today or tomorrow.
User avatar
Rocky
Posts: 3604
Joined: Fri Sep 06, 2019 12:57 pm

Re: [RESOLVED] Failed to create video decoder (1)

Post by Rocky »

Should be working fine in build 202.
Post Reply