After a few hours i found the solution from here <https://sonnati.wordpress.com/2011/08/30/ffmpeg-%E2%80%93-the-swiss-army-knife-of-internet-streaming-%E2%80%93-part-iv/>
You should output video as H264 and audio as ACC and FLV format. So the command is similar to: ffmpeg [INPUT STREAM] -c:v libxh264 -c:a libfacc -f flv rtmp://localhost/live/livestream On Fri, Sep 16, 2016 at 10:28 PM, Moritz Barsnick <barsn...@gmx.net> wrote: > On Fri, Sep 16, 2016 at 21:51:54 +0430, Sina Aghasi wrote: > > save it to a file, but i don't know how to send it to Flash Media Server > > (as Adobe Flash Media Live Encoder does). > > Flash Media Server should probably give you an RTMP URL, which you > would simply use as ouput target to ffmpeg. > > General info here: > https://trac.ffmpeg.org/wiki/StreamingGuide > > Cheers, > Moritz > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".