Nuke 10.0v4 .mp4 error

mov64Reader Reader failed to read frame: Error number -22 occurred

We’ve been dealing with this error for a long time but it’s never stopped any jobs from rendering. It’s a quick fail and tasks eventually will succeed (even on the same machine that just failed it!). But I’m doing some house cleaning and would like to try and squash this small bug.

The issue comes from using mp4s in our comp script. No mp4 is safe and every job ends up with several dozen of these types of errors. Does anyone have any clue what’s going on with this issue?

Thanks

James

I did some quick digging in our old support cases and only found someone with “Error number -22 occurred” coming through a manual FFMPEG job generating QuickTimes.

In that case, the file arguments to ffmpeg were in the wrong order which leads me to believe that “-22” might be a file read or write error. Now, if that was actually your transient problem you should see problems from more than just Nuke here… I’m hoping someone else has more to add here.

Yeah that’s odd given that this is purely a read action. Do you think it could be a codec issue? Maybe Quicktime is out of date? I might have to try updating quicktime on those machines as a test.

Update:
Well that wasn’t the issue. My comper says it might be the fact that the mp4’s are 4K files.

If it’s QuickTime on Windows, support for that was dropped years ago so you’re likely not going to find anything newer.

Fun find: Turns out The Foundry have the source code for that available. See line 908. I’m assuming this is an older bit of code as it’s calling itself “FFmpeg Reader”
https://learn.foundry.com/nuke/developers/90/ndkreference/examples/mov64/mov64Reader.cpp