[RESOLVED] Slow video preview, normal?

Support forum for DGDecNV
Devilman
Posts: 6
Joined: Sun Jan 26, 2020 2:24 pm

[RESOLVED] Slow video preview, normal?

Post by Devilman » Fri Jan 31, 2020 5:20 pm

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: 408
Joined: Fri Sep 06, 2019 12:57 pm

Re: Slow video preview, normal?

Post by Rocky » Fri Jan 31, 2020 5:26 pm

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.

Devilman
Posts: 6
Joined: Sun Jan 26, 2020 2:24 pm

Re: Slow video preview, normal?

Post by Devilman » Sat Feb 01, 2020 12:54 pm

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: 408
Joined: Fri Sep 06, 2019 12:57 pm

Re: Slow video preview, normal?

Post by Rocky » Sat Feb 01, 2020 1:38 pm

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.

Devilman
Posts: 6
Joined: Sun Jan 26, 2020 2:24 pm

Re: Slow video preview, normal?

Post by Devilman » Sat Feb 01, 2020 2:26 pm

Do you prefer a cut with an Hexeditor or through Avidemux?

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

Re: Slow video preview, normal?

Post by Rocky » Sat Feb 01, 2020 2:32 pm

If it's TS then cut with DGSplit.

Devilman
Posts: 6
Joined: Sun Jan 26, 2020 2:24 pm

Re: Slow video preview, normal?

Post by Devilman » Sat Feb 01, 2020 4:36 pm

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: 408
Joined: Fri Sep 06, 2019 12:57 pm

Re: Slow video preview, normal?

Post by Rocky » Sat Feb 01, 2020 7:04 pm

I need the smallest file which still shows the problem. Thank you.

Devilman
Posts: 6
Joined: Sun Jan 26, 2020 2:24 pm

Re: Slow video preview, normal?

Post by Devilman » Sun Feb 02, 2020 4:09 am

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: 408
Joined: Fri Sep 06, 2019 12:57 pm

Re: Slow video preview, normal?

Post by Rocky » Sun Feb 02, 2020 9:00 am

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.

Post Reply