C
C#6mo ago
Kapeć

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
Kapeć
Kapeć6mo ago
im new to programming so there might be more mistakes ¯\_(ツ)_/¯
cap5lut
cap5lut6mo 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
Angius6mo ago
What are the errors?
Want results from more Discord servers?
Add your server
More Posts
What is a good way of loading and unloading an assembly at runtime?im making a system that should be able to load an assembly, run code from it, and then be able to unEFCore 8 - Owned type with navigation property not being includedHello, i have an issue with EFCore (or maybe it's just me being pepega), but i have a class Score thSqlBulkCopy IListWhat frameworks are available for performing bulk copy using an `IList` as the input? There's `DataUsing base class as relationship definition in model ASP.net WEB APISo I've written this model that I used to save my credentials to authenticate my users with: ```cshhow to join will null?I have this logic: ```cs private async Task OnChannelsGet( IDeliveryHandlerContext context, ✅ Ensure that subclasses all have to override a specific method?Is it possible to define a method in a class to say that it *must* be defined in every subclass? FoAnyone from Ukraine here? Recommend any remote Ukrainan/russian speaking companies for junior/mediorAnyone from Ukraine here? Recommend any remote Ukrainan/russian speaking companies for junior/medior✅ WPF Datagrid colums widthHi, any idea why my column do not fit the whole width of my datagrid ? https://paste.mod.gg/csupsvqClass library is not found while building the ASP.NET Core 7 Web API with Github ActionsI wrote this dotnet.yml to build my application and push the docker image to docker hub, placed in thow to to register multiple Entity Framework Core database providershow to to register multiple Entity Framework Core database providers (Microsoft.EntityFrameworkCore.