If you are using RTMP protocol you can use command similar to this. Wowza is a paid media server but provides better documentation and support service. Red5 is an open source media server and it is bit confusing for beginners. However if you want to stream over RTSP, easiest solution would be to use a media server such as Wowza or Red5. You can test UDP stream using VLC or ffplay player. You need to define your ffmpeg command all elements to match with the streaming format.For example if you are streaming over UDP you can use command similar to this. You have to define your output streaming source at end of the command. Using the command below, where I replaced the test.mp4 at the end with udp://127.0.0.1:23000 to test streaming over UDP, but this returns an IOException in Unity.Īny help in guiding me in the right direction is greatly appreciated. The output format and such are already correct, but I'd like to stream this output directly over a network now, preferably using RTSP. The command used is to save this to file is: ffmpeg -y -f rawvideo -vcodec rawvideo -pixel_format rgba -colorspace bt709 -video_size 1280x720 -framerate 30 -loglevel warning -i -pix_fmt yuv444p -preset ultrafast -crf 0 test.mp4 I have a Unity application which has a separate output stream of video and using a plugin I'm able to save that output to a videofile. So I hope I can ask your help in the matter. However, I find the list of commands a little daunting and hard to understand. I'm looking into using FFmpeg for streaming an output generated by an application to another system in the same network.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |