![]() ![]() Through VLC it's just File -> Stream -> enter your RTSP link -> add rtsp output at 127.0.0.1 and you can connect to that one. If you want to do it programatically you can use VLC and the output string. I have tried this temporary command but I cannot get it working i.e. I used VLC to restream rather than FFMPEG, the built in support for acting as a 'server' was better for my needs. Basically, my computer will work as a relay-server using FFMpeg. The line I'm using inserts a blank audio with the filter anullsrc, but I can't figure out how to remove that filter and still have the code function correctly.Īlso according to that site, if I need audio they recommend:įfmpeg -i rtsp:/IPaddress -vcodec copy -acodec copy -f flv rtmp:/a.rtmp.youtube. I want to capture a Rtsp-stream from a Live-CAM which I then want to re-stream to another Rtsp-server. ![]() My current CMD line is: ffmpeg -f lavfi -i anullsrc -rtsp_transport udp -i rtsp:/username -tune zerolatency -vcodec libx264 -t 12:00:00 -pix_fmt + -c:v copy -c:a aac -ar 44100 -strict experimental -f flv rtmp:/a./live2/YouTube Stream CodeĪccording to IP Camera RTSP Stream to Youtube Live Following is the FFmpeg command to encode the video and transfer it to the server. We would be using FFmpeg to encode and send data to the server. archive import with Streaming videos through RTSP by using FFMPEG is not possible yet with OpenCV. The encoder encodes the audio/video using any one of the supported codecs and transfers the data to the RTMP-SERVER using the RTMP protocol. My camera has audio, and I would like to modify the FFmpeg CMD line to include the audio. Then look for RTSP streaming examples in Google. I'm able to stream to YouTube, but the command line I'm using inserts a blank audio stream. I'm trying to stream my hikvision DS-2CD2347G1 to YouTube with FFmpeg. I've searched and can't find this simple answer, I even posted this as a job on with no successful proposals. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |