I\'m trying to encode and stream using ffmpeg (libavcodec/libavformat - MSVC x64 with Zeranoe builds)
Here is my code, largely adapted from the encoding example, error h
After a few hours of digging in the ffmpeg source, I found the solution:
CODEC_FLAG_GLOBAL_HEADER
avformat_write_header
av_interleaved_write_frame
Now VLC plays the stream correctly