Capturing ffmpeg output into C# script

Kreew

New Member
hi, sorry in advance if this is the wrong section. I'm trying to capture the output of an ffmpeg type recording via a C# script. The packets are sent via udp protocol and received correctly, the problem lies in the decoding of the image which occurs incorrectly. Multiple images are printed at the same time as if the format is wrong. This problem only occurs when using obs , as using ffmpeg directly prints the image correctly. The problem is that I need to capture the video from obs.

I leave the obs configuration for the logging output:
1690540997551.png

and the working command I use for ffmpeg which works fine:
1690540758638.png


Could you tell me where I'm going wrong and how I can adjust the flow to that of the command from the command line?
 
Top