TwitchChatVideo
TwitchChatVideo copied to clipboard
Video rendering fails with certain resolutions
When trying to render a video with a custom resolution of 400x725 for a highlight video, the process goes to 'Idle' after 'Determining Drawing Information' with no video produced.
Possibly related to certain aspect ratios?
The content of error.log is as follows
01:40:56 PM : System.NullReferenceException: Object reference not set to an instance of an object.
at Accord.Video.FFMPEG.VideoFileWriter.Flush()
at Accord.Video.FFMPEG.VideoFileWriter.Close()
at Accord.Video.FFMPEG.VideoFileWriter.Dispose(Boolean A_0)
at Accord.Video.FFMPEG.VideoFileWriter.Dispose()
at TwitchChatVideo.ChatVideo.<>c__DisplayClass47_0.<WriteVideoFrames>b__0() in C:\projects\twitchchatvideo\TwitchChatVideo\ChatVideo.cs:line 157
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at TwitchChatVideo.ChatVideo.<WriteVideoFrames>d__47.MoveNext() in C:\projects\twitchchatvideo\TwitchChatVideo\ChatVideo.cs:line 116
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at TwitchChatVideo.ChatVideo.<>c__DisplayClass46_0.<<CreateVideoAsync>b__0>d.MoveNext() in C:\projects\twitchchatvideo\TwitchChatVideo\ChatVideo.cs:line 92