How stream image ?
Try to stream image to udp multicast :
var mediaOptions = new[]
{
":fake-file D:\\img.png",
":sout=#transcode{vcodec=h264,acodec=none,vb=2000,width=1920,height=1080}",
":std{access=udp,mux=ts,dst=239.1.1.1:1234}",
":pid-video=299",
":loop",
":repeat"
};
player.SetMedia("fake:", mediaOptions);
player.Play();
Result error, what is the good way ?
LOG:
[06962300] stream_out_transcode stream out error: cannot create chain
[069706b0] main stream output error: stream chain failed for `transcode{vcodec=h264,acodec=none,vb=2000,width=1920,height=1080}'
[0696c7a8] main input error: cannot start stream output instance, aborting