Open 1Syler opened 3 years ago
The issue seem to be with what is remaining in RAM. If I wait a few minutes after running it, a large chunk of RAM gets freed, I can then run it again and it will check a file that failed the first time. It will only check one file though, it will fail again on any other files that failed the first time.
Describe the bug When I run FFmpeg in a loop over a large number of files, some files are giving a read error.
"Error: File could not be read! Code=0"
The same files can be read if running as part of a smaller number of files. Some of them do take some time to read so there may be issues with some of the files, but they can be read.
I tried doing a try-catch loop to rerun the files but it seem to just instantly fail them on retry. If I rerun the app after it has finished, without reloading the page. to go over the files that failed, it will instantly fail to read them. If I refresh the page and run it on just some of the failed files it reads them.
To Reproduce You can run my app over a large number(> 100) of video files to see if you get the same behaviour.
https://github.com/1Syler/nextpvr-importer
Expected behavior I expect it to read the same files all of the time, not some of the time. A way to retry that doesn't instantly fail.
Desktop (please complete the following information):