Page 1 of 1

[RESOLVED] Slow video preview, normal?

Posted: Fri Jan 31, 2020 4:20 pm
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

Re: Slow video preview, normal?

Posted: Fri Jan 31, 2020 4:26 pm
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.

Re: Slow video preview, normal?

Posted: Sat Feb 01, 2020 11:54 am
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.

Re: Slow video preview, normal?

Posted: Sat Feb 01, 2020 12:38 pm
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.

Re: Slow video preview, normal?

Posted: Sat Feb 01, 2020 1:26 pm
by Devilman
Do you prefer a cut with an Hexeditor or through Avidemux?

Re: Slow video preview, normal?

Posted: Sat Feb 01, 2020 1:32 pm
by Rocky
If it's TS then cut with DGSplit.

Re: Slow video preview, normal?

Posted: Sat Feb 01, 2020 3:36 pm
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?

Re: Slow video preview, normal?

Posted: Sat Feb 01, 2020 6:04 pm
by Rocky
I need the smallest file which still shows the problem. Thank you.

Re: Slow video preview, normal?

Posted: Sun Feb 02, 2020 3:09 am
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.

Re: Slow video preview, normal?

Posted: Sun Feb 02, 2020 8:00 am
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.

Re: [RESOLVED] Slow video preview, normal?

Posted: Sun Feb 02, 2020 9:57 am
by Devilman
Thank you

Re: [RESOLVED] Slow video preview, normal?

Posted: Sun Feb 02, 2020 10:05 am
by Rocky
You are most welcome, and thank you for your interest in DG tools.