ffmpeginteropx / FFmpegInteropX

FFmpeg decoding library for Windows 10 UWP and WinUI 3 Apps
Apache License 2.0
210 stars 53 forks source link

Fix FFmpegOptions parsing and enable local network access #281

Closed lukasf closed 2 years ago

lukasf commented 2 years ago

This should allow for receiving UDP streams from different PC as in #280.

If format cannot be detected, try to increase probesize, max_probe_packets and analyzeduration in FFmpegOptions! https://www.ffmpeg.org/ffmpeg-formats.html

Also check e.g. fifo_size for UDP: http://www.ffmpeg.org/ffmpeg-protocols.html#udp

lukasf commented 2 years ago

We might also have to differentiate between packet read error and eof. We currently assume any read error to be eof, which works for files but might be wrong, especially for lossy streams. I will align with how ffplay does it.