[RESOLVED] Slow video preview, normal?

Support forum for DGDecNV
Post Reply
DAE avatar
Devilman
Posts: 6
Joined: Sun Jan 26, 2020 1:24 pm

[RESOLVED] Slow video preview, normal?

Post by Devilman »

I'm reencoding some TV shows I registered as .ts stream using MEGUI and cutting the advertisement, but while scrolling the video in DGIndex is very fast scrolling it in MEGUI through the Avisynth script is very slow.
Loading the video takes minutes and everytime you scroll it takes minute to see the new frame.

Is it normal?

I have a RTX 2080 TI with 11 Gbyte dedicated Memory, CPU is i7-9700K and 32 Gbyte RAM

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

Re: Slow video preview, normal?

Post by Rocky »

It is obviously not normal. What are your encoded video format and details? What is the GOP size? You're probably going to have to give me a sample that I can use to duplicate the issue.
DAE avatar
Devilman
Posts: 6
Joined: Sun Jan 26, 2020 1:24 pm

Re: Slow video preview, normal?

Post by Devilman »

Are sufficient the.dgi file and a report done with Mediainfo?

Do you want the whole 4 Gbyte file or only a part of it?

When I encode with the 64 bit version it stops with an error about mismatch of frame between source and encoded.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: Slow video preview, normal?

Post by Rocky »

I'll need a stream that I can use to duplicate your issue. The smaller the better, but if you cut it, make sure your problem still occurs with the cut sample.

That frame mismatch on encoding is not something for DGNV, sounds like a MEGUI issue.
DAE avatar
Devilman
Posts: 6
Joined: Sun Jan 26, 2020 1:24 pm

Re: Slow video preview, normal?

Post by Devilman »

Do you prefer a cut with an Hexeditor or through Avidemux?
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: Slow video preview, normal?

Post by Rocky »

If it's TS then cut with DGSplit.
DAE avatar
Devilman
Posts: 6
Joined: Sun Jan 26, 2020 1:24 pm

Re: Slow video preview, normal?

Post by Devilman »

I tried to split in 100 Mbyte, 500 Mbyte and 1 Gbyte files. Loading only one segment doesn't show the issue, but increasing the file size of the segment make the scrolling slower.
When I indexed all the 1 Gbyte segment of the 4 Gbyte video shows again the problem.

Can be that the size of the video-file count?

Which file size do you want?
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: Slow video preview, normal?

Post by Rocky »

I need the smallest file which still shows the problem. Thank you.
DAE avatar
Devilman
Posts: 6
Joined: Sun Jan 26, 2020 1:24 pm

Re: Slow video preview, normal?

Post by Devilman »

Here is the link to download the 500 Mbyte sample.

https://www.asuswebstorage.com/navigate ... 8BAA252734

It's faster than the 4 Gbyte file, but it still shows some problem.
User avatar
Rocky
Posts: 3557
Joined: Fri Sep 06, 2019 12:57 pm

Re: Slow video preview, normal?

Post by Rocky »

Thank you for your sample.

The stream has a single IDR at the start and then I frames the rest of the way. So if the Strict AVC option is checked, then a seek will require decoding the entire file up to the seek point.

You can disable Strict AVC in the DGIndexNV settings. Then your seeking will be fast again. There is no need to re-index. Just open DGIndexNV, uncheck Strict AVC, and then exit DGIndexNV.

If possible, you could change your encode process so that IDRs are used more frequently.

Marking resolved.
DAE avatar
Devilman
Posts: 6
Joined: Sun Jan 26, 2020 1:24 pm

Re: [RESOLVED] Slow video preview, normal?

Post by Devilman »

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

Re: [RESOLVED] Slow video preview, normal?

Post by Rocky »

You are most welcome, and thank you for your interest in DG tools.
Post Reply