[RESOLVED] 7 extra frames on 1 source

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

Re: 7 extra frames on 1 source

Post by Rocky »

Got the stream, thank you. I know what's going on but I'm in the middle of a kitchen tile project (hard to stop in midstream). Ever start a project and wish you hadn't? :?

The index entries are sorted by POC per GOP (to get display order in the DGI file), but it seems that it is not implementing the GOP boundaries correctly in this case, so the negative POC values in later GOPs migrate to the first GOP.

Notice anything different about me? 8-)
User avatar
MeteorRain
Posts: 130
Joined: Fri Jul 25, 2014 4:04 pm
Location: New Jersey

Re: 7 extra frames on 1 source

Post by MeteorRain »

:scratch: You got a new house?
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

Actually, have an older one and the kitchen was from the early 70s. You can imagine. Homely country look with goofy masonite wainscoting and rose-adorned wallpaper -- projectile vomit -- people used to like this stuff?! So I gutted it to the bare walls and plywood subfloor. Thomasville cabinets (functional not foo-foo) (Made in USA) and quartz countertop are in. Backsplash subway tiling in progress. Saving thousands doing it myself but didn't plan on massive hand cramps. Final result is gonna be sweet!

I'll try to find time to look at your issue tomorrow.

SPOILER: My avatar now faces the other way (toward the post instead of away). It feels more welcoming and inclusive. :P
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

Found and fixed the bug! Slipstream coming later today. Gotta lay some tile first. :(
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

Should be working in slipstream 203. Please advise if OK and I can mark this resolved.

Real good find there, MeteorRain. Thank you. :salute:
User avatar
MeteorRain
Posts: 130
Joined: Fri Jul 25, 2014 4:04 pm
Location: New Jersey

Re: 7 extra frames on 1 source

Post by MeteorRain »

Wow that's a lot of work. Didn't notice your avatar change though (looks pretty much the same so...)

Good to know the bug is fixed. I'm gonna test it against my other samples to make sure it's working perfect. (Hint: there was some seeking accuracy problem I noticed, so I'll double check.) Will let you know!

Thanks!
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

The bug would definitely cause seeking issues, so hopefully those should be fixed too.
User avatar
MeteorRain
Posts: 130
Joined: Fri Jul 25, 2014 4:04 pm
Location: New Jersey

Re: 7 extra frames on 1 source

Post by MeteorRain »

Definitely negative POC shifting problem is solved.

Seeking inaccuracy still presents. I have uploaded a minimized sample to your FTP "259test4.hevc", please check frame 24, sequential and random access.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

OK, will do. I saw that file up there and wondered if it was you.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

It's working fine for me. What are you seeing?
User avatar
MeteorRain
Posts: 130
Joined: Fri Jul 25, 2014 4:04 pm
Location: New Jersey

Re: 7 extra frames on 1 source

Post by MeteorRain »

Random access to 23 and move forward to 24 I'm seeing the end of the program.

Random access to 24 and I'm seeing the next program.

(I recall there's a tool that can play avs forward and backward and check seeking accuracy but I don't remember where it is.)

Using VirtualDub2 64-bit, AviSynth+, DG 2053SS203.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

OK, I see it now. Investigating...
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

Hmm, it's those pesky negative POCs again. I have a fix working locally but have to do a lot of functional and regression testing.
User avatar
MeteorRain
Posts: 130
Joined: Fri Jul 25, 2014 4:04 pm
Location: New Jersey

Re: 7 extra frames on 1 source

Post by MeteorRain »

Any reason keeping them as-is? Like, what if we just shift it to above zero? Just my 0.02 guess though.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

It's not the negativity; it's the fact that the leading RADLs are B frames, and leading B frame code hasn't been implemented for HEVC hithertoo. This is actually the first HEVC stream seen here that has leading B frames. I knew the day must come, so now it's time to take care of business.
User avatar
MeteorRain
Posts: 130
Joined: Fri Jul 25, 2014 4:04 pm
Location: New Jersey

Re: 7 extra frames on 1 source

Post by MeteorRain »

I see.

Well, this is the part I don't understand well. They used to be very conservative on broadcasting (Hint: mpeg2 interlaced 1440x1080 SAR 2ch aac) but all in a sudden they are going to the moon (hevc 10bit 4k / 8k with open-gop rasl+radl and 22.2 channel latm aac audio). :scratch:
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: 7 extra frames on 1 source

Post by Rocky »

22 channel? That's insane.

BTW, just to help with your already excellent English, we say "all of a sudden".
User avatar
Boris
Posts: 92
Joined: Sun Nov 10, 2019 2:55 pm

Re: 7 extra frames on 1 source

Post by Boris »

We say, she say, speak for yourself. Who is broadcaster? We can blow up studio. Animals will not be harmed.
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: 7 extra frames on 1 source

Post by Sherman »

I'm so confused. Help me.
Sherman Peabody
Director of Linux Development
User avatar
MeteorRain
Posts: 130
Joined: Fri Jul 25, 2014 4:04 pm
Location: New Jersey

Re: 7 extra frames on 1 source

Post by MeteorRain »

:scratch: Thanks for the correction.

By the way, they used 22.2 channels so it's 24 in total :scratch: I don't even think there's any OSS decoder yet.
User avatar
Natasha
Posts: 150
Joined: Wed Nov 20, 2019 11:11 am

Re: 7 extra frames on 1 source

Post by Natasha »

Sherman, poor baby, come to me, I will help you.
User avatar
Bullwinkle
Posts: 338
Joined: Thu Sep 05, 2019 6:37 pm

Re: 7 extra frames on 1 source

Post by Bullwinkle »

Sherman, you are a beloved child of the divine.

https://www.youtube.com/watch?v=2EaflX0MWRo (released version)
https://www.youtube.com/watch?v=Ma09CIqapwk (extended version)
https://www.youtube.com/watch?v=NlqJ44IpAJ0 (happy version)
https://www.youtube.com/watch?v=yqFz7T5v3iU (with lyrics)
https://www.youtube.com/watch?v=b-3eSxlgOhY (Motown remix)

Highest genius of the human spirit. RIP Levi Stubbs.

"When the world falls apart, some things stay in place
Levi Stubbs' tears run down his face."

-Billy Bragg
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: 7 extra frames on 1 source

Post by Sherman »

Thank you, Bullwinkle. But are emotions irrational? Should we suppress them? Is it an evolutionary mistake? How do emotions know what is right?
Sherman Peabody
Director of Linux Development
User avatar
Bullwinkle
Posts: 338
Joined: Thu Sep 05, 2019 6:37 pm

Re: 7 extra frames on 1 source

Post by Bullwinkle »

Sherman, emotions are beautiful manifestations of the divine spirit that set us apart from microbes. Embrace the divine, and sing your joy!
User avatar
Sherman
Posts: 576
Joined: Mon Jan 06, 2020 10:19 pm

Re: 7 extra frames on 1 source

Post by Sherman »

Thanks, Bullwinkle! Think I got it:

https://www.youtube.com/watch?v=xhtzMwA5gJI
Sherman Peabody
Director of Linux Development
Post Reply