[FFmpeg-user] how ffmpeg use network streaming as input?
zhangkai.gis at 163.com
Mon Jul 16 06:09:37 EEST 2018
Thanks for Michael's command line.let me explain my problem more detail.Sorry for that I do not make the problem clear(my poor english :(...). I will have hundres of cameras to monitor.all the monitor report it's video,audio and other information to my server via tcp connection.I filter the video message and combine the messages together.Now I want to encode the stream to nginx+rtmp via ffmpeg.Maybe I can first save it to file.Then use ffmpeg to send it.But I want to seek other better way to handle the video stream.
Hope I make my problem clear ;P
From:Ярослав Клейно<yaroslav.vozr at gmail.com>
Subject:Re: [FFmpeg-user] how ffmpeg use network streaming as input?
To:"FFmpeg user questions"<ffmpeg-user at ffmpeg.org>
create shortcut to batch file.
when you running bat file using shortcut, you can see bat file name in
2018-07-14 4:34 GMT+03:00 Michael Shaffer <mikeshaffer at gmail.com>:
> Hi, I'm not exactly sure what problem you're having. However I am streaming
> from IP cameras to youtube live. This is the command I'm using. Maybe this
> will help you..
> c:\ffmpeg\bin\ffmpeg3.exe -re -rtsp_transport tcp -i "rtsp://
> admin:admin at 192.168.1.230:554/VideoInput/1/h264/1" -f lavfi -f dshow
> -rtbufsize 2000M -thread_queue_size 5096 -i audio="virtual-audio-capturer"
> -c:a libmp3lame -ab 128k -ar 44100 -c:v copy -threads 0 -bufsize 512k -f
> flv "rtmp://a.rtmp.youtube.com/live2/7ddp-1234-5678-f3ff"
> I have six cameras total. I renamed ffmpeg.exe to ffmpeg1.exe, ffmpeg2.exe,
> ffmpeg3.exe, ffmpeg4.exe, ffmpeg5.exe and ffmpeg6.exe. This allows me to
> terminate and restart each camera individually by looking at their process
> name (in Windows 10). I made a separate program in C# that looks at the
> bandwidth being used and determines if one of the processes has locked up.
> It then restarts all of them.
> On Fri, Jul 13, 2018 at 3:07 AM, zhangkai.gis <zhangkai.gis at 163.com>
> > 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
> > to my server through RTP. I parse the packages and recollect it to
> > Frame.Then I want to send the network stream to media
> > I have the problem above.Any good ideas?
> > Thanks in advance
> > zhangkai
> > 2018-7-13
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> > To unsubscribe, visit link above, or email
> > ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user