[FFmpeg-user] Example C code for encoding/muxing/streaming
joolzg at btinternet.com
Wed Oct 29 14:34:10 CET 2014
Ive been playing with the code and have a little test project I want to try, a mosaic generator.
Now Ive been looking through the examples code and tried a few but none seem to be able to stream out over multicast.
Has anybody got code/knows of example code which shows how to setup a stream which will output a mpegts to a udp multicast address.
I think i have most of the other code from the examples.
The mosaic will work this way
X streams in, running in threads which will send each I frame to the encoding thread, this thread will resize the incoming frame to the correct size and then put it in the correct place on the output frame.
The output frame will then be encoded and streamed out, this is the part that i cannot find any code for.
Ive tried ffmpeg for this but when dealing with 9 streams (3x3) the startup time is way to long and it does not auto restart a broken stream, which Im trying to overcome.
Any help/involvment would be gratefully received
More information about the ffmpeg-user