C
C#12mo ago
dzikmikrofala

Does anyone know how to fix the last part of this code?

while (true) { var frame = videoReader.ReadVideoFrame(); if (frame == null) break; for (int i = 0; i < interpolationFactor; i++) videoWriter.WriteVideoFrame(frame); frame.Dispose(); } there are 2 errors in video.Reader.ReadVideoFrame(); and videoWriter.WriteVideoFrame(frame); Does anyone know how to fix it?
3 Replies
dzikmikrofala
dzikmikrofalaOP12mo ago
im new to programming so there might be more mistakes ¯\_(ツ)_/¯
cap5lut
cap5lut12mo ago
errors usually give useful information to what went wrong, so depending on the error people who dont know the library (like me) might be able to help, and people knowing the library would probably ask regarding the errors first too. can u show the exact error messages?
Angius
Angius12mo ago
What are the errors?
Want results from more Discord servers?
Add your server