HI Zhangkai, You can make use of below format to push the h264 stream to rtmp server.
ffmpeg -f h264 -i <stream.h264> -an -vcodec copy -f flv rtmp://<SERVERIP> On Fri, Jul 13, 2018 at 12:37 PM, zhangkai.gis <[email protected]> wrote: > Hi, > I am a newbie to ffmpeg.I want ffmpeg to convert H.264 stream to > rtmp.I googled it.But I always find regular file as ffmpeg's input.but my > input is a stream,the stream is H.264's I frame,P frame.How can I use the > stream as ffmpeg's input? > PS: I have many device cameras.these cameras send its video and audio > to my server through RTP. I parse the packages and recollect it to H.264's > Frame.Then I want to send the network stream to media server(nginx+rtmp).So > I have the problem above.Any good ideas? > > Thanks in advance > zhangkai > 2018-7-13 > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". -- Thanks & Regards *Mohammed Sha Ebrahim* VVDN Technologies Pvt.Ltd _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
