Streaming from IP cameras to RTMP services like YouTube or Facebook via FFmpeg and the Command-Line Interface.
https://www.facebook.com/groups/LiveStreamingServices/. Please join this group if you are into streaming services for your clients.
- Make sure you have a copy of FFmpeg.
- You can download a copy here, FFmpeg download.
- Copy the file "stream2youtube.sh" to a directory.
- Open "Terminal.app" and "cd" to that directory.
- Run 'sudo chmod +x *.sh' to make the script executable.
- Change the YouTube "PRIVATEKEY" to your own in "stream2youtube.sh".
- Now setup your Sony PXW-FS5 or other UDP streaming camera to the local IP of this computer on port 1234.
- YouTube Sony PXW-FS5 UDP setup video
- "ifconfig" in "terminal.app" will find you the IP.
- Start the stream on the camera.
- Run "./stream2youtube.sh".
- Check YouTube Live Dashboard and go-live!
- Read https://www.facebook.com/facebookmedia/get-started/live
- Change "STREAMKEY" to your Stream Key found on https://business.facebook.com/YOUR-PAGE/publishing_tools/?section=VIDEOS
- Start the stream on the camera.
- Run "stream2facebook.sh".
- Check Facebook Dashnoard and go-live!
- FFmpeg - Converting video and audio has never been so easy
- https://www.facebook.com/groups/LiveStreamingServices/ - Facebook Live Streaming Services (Group)
- YouTube Sony PXW-FS5 UDP setup video - The IP setup howto video for a Sony PXW-FS5 video camera
- Facebook Sony PXW-FS5 UDP setup video - The IP to Facebook howto video for a Sony PXW-FS5 video camera
- My First live stream via this method - My First YouTube Live Stream via FFmpeg with the Sony PXW-FS5
- My First live stream via this method - My First Facebook Live Stream via FFmpeg with the Sony PXW-FS5
This project is licensed under The Unlicense - see the LICENSE.md file for details.
- Hat tip to anyone in the Sony FS5 Facebook Group
- Fabrice Bellard for being awesome!