AVISource: Image frozen when riff index > 256 is reached
Hi,
Let me explain the issue.
Maximum riff index added by ffmpeg in the avi video container is 256, after that point a warning is shown as: "Invalid riff index 257 > 256", later ... "Invalid riff index 258 > 256" and so on ...
Well, when I encode using your Avisynth+ 64-bit and AVISource, when encoder (i.e: x264) reaches riff index 257, the image stays frozen from there to the end of video, namely, scenes stop until the end of video.
Therefore if you are encoding an uncompressed AVI video which is bigger than 256~260 GB (approximately), and the input format is a AVS script (using Avisynth+ and JUST the command: AVISource), at some point of time (when riff index > 256 is reached), the video is frozen, damaged after all.
This problem doesn't happen if I use Avisynth+ and tag DirectShowSource instead of AVISource.
I think that there are two options:
1) Avisynth+ team adds some fix to AVISource to avoid this issue.
2) ffmpeg team allows adding riff indexes bigger than 256 to AVIs.
What do you think?
Let me suggest that you should fix it at your end too.
Kindest regards,
Mapg
BTW: I didn't test if this is also happening in Avisynth+ 32-bit
|