IP Camera Live Streaming RTSP to RTMP
On my previous article, we shared the tutorial on how to use the free ffmpeg software to relay the video stream of your IP cameras to the RTMP server. However, as ffmpeg software doesn’t have graphic user interface, users have to use it by typing commands on a CMD window, this is inconvenient for normal users. Herein we introduce you the OBS Studio software.
OBS stands for open broadcaster software, it is a free and open source software for video recording and live streaming. It enables video streaming quickly and easily on cross platform operating system including Windows, Mac, Linux. Most important, it has the graphic user interface, it's more friendly than ffmpeg for Windows users.
1# Download/install OBS
Download the OBS from here: https://obsproject.com/download
Install the OBS software in your computer, then run it.
2# Create new Online Stream
OBS adopts modular UI design, after running it, scroll down to the bottom, click "+" button in Sources Module to add your IP camera.
OBS allows users to select many different sources, here we just wanna relay the rtsp url, so we select "Media Source".
On new pop-up window, we uncheck "Local File", the windows will show up another input & input format input, enter camera's RTSP URL in "Input", then click "OK" to proceed. In our test, we use the Yoosee Wi-Fi cameras, so the RTSP url path is
rtsp://192.168.1.3:554/onvif1
After done above steps, we are able to watch the video on OBS software.
3# Select online stream services
Go to toolbar, click "File" menu and select "Settings" from sub-menu list, now we are able to tweak advanced settings of the OBS. Click "Stream", we can find the settings for Online Stream Services, choose the stream service you wanna use e.g. YouTube / YouTube Gaming, then input your stream name. In addition to streaming services, you are able to use your own custom stream server.
After complete above settings, you just need to click "Start Streaming" button to start online streaming.
4# Supported online stream services
Twitch, YouTube, Smashcast, Mixer.com, DailyMotion, WatchPeopleCode.com, Web.TV, GoodGame.ru, GamePlank, Vaughn Live/ iNSTAGID, Breakers.TV, CyberGame.TV, Djlive.pl, Facebook Live, Restream.io, Nood, Boomstream, Stream.live, Coderwall, Meridix Live Sports Platform, Afreeca.TV, CAM4, Picarto, Pandora TV Korea, LiveStream, Chaturbate, LiveEdu.tv, Twitter / Periscope, Switchboard Live (Joicaster)
5# Appendix - RTSP URL of IP Cameras
XM IPC: rtsp://192.168.0.20:554/user=admin&password=&channel=1&stream=0.sdp? Hikvision: rtsp://username:password@IPaddress:port/Streaming/Channels/id/ Dahua: rtsp://admin:admin@10.7.6.67:554/cam/realmonitor?channel=1&subtype=1 Vivotek: rtsp://IPAddress/liveany.sdp?codectype=h264&h264_intraperiod=4000&h264_quant=99&h264_qvalue=40 3S:: rtsp://IPAddress/cam1/h264 4XEM: rtsp://IPAddress/live.sdp A-MTK: rtsp://IPAddress/media/media.amp ABS: rtsp://IPAddress/mpeg4/1/media.amp Absolutron: rtsp://IPAddress/image.mpg ACTi: rtsp://IPAddress:7070/ ACTi: rtsp://IPAddress/ Acumen: rtsp://IPAddress/mpg4/rtsp.amp Airlink101: rtsp://IPAddress/mpeg4 AirLive: rtsp://IPAddress/video.mp4 ALinking: rtsp://IPAddress/cam1/mjpeg ALinking: rtsp://IPAddress/cam1/mpeg4 ALinking: rtsp://IPAddress/cam1/h264 ALLIEDE: rtsp://IPAddress:555/0/1:1/main Asante: rtsp://IPAddress/cam1/mpeg4 Asoni: rtsp://IPAddress/GetData.cgi Asoni: rtsp://IPAddress/ Aviosys: rtsp://IPAddress/mpeg4 Aviosys: rtsp://IPAddress:8554/mpeg4 AVS: Uriel: rtsp://IPAddress/mpeg4 AVTech: rtsp://IPAddress/live/mpeg4 AVTech: rtsp://IPAddress/live/h264 AXIS: rtsp://IPAddress/mpeg4/media.amp AXIS: rtsp://IPAddress/axis-media/media.amp AXview: rtsp://IPAddress Basler: rtsp://IPAddress/mpeg4 Basler: rtsp://IPAddress/h264?multicast BiKal: IP: CCTV: rtsp://IPAddress/ BiKal: IP: CCTV: rtsp://IPAddress/user.pin.mp2 BlueJay: rtsp://IPAddress/mpeg4 Bosch: rtsp://IPAddress/rtsp_tunnel Bosch: rtsp://IPAddress/video Bosch: rtsp://IPAddress/?inst=2 Brickcom: rtsp://IPAddress/channel1 Canon: rtsp://IPAddress/ Canon: rtsp://IPAddress/stream/profile1=u Canon: rtsp://IPAddress/profile1=r Canon: rtsp://IPAddress/profile1=u CBC-Ganz: rtsp://IPAddress/gnz_media/main Cisco: rtsp://IPAddress/img/media.sav Cisco: rtsp://IPAddress Clairvoyant: MWR: rtsp://IPAddress/av0_0 CNB: rtsp://IPAddress/ CNB: rtsp://IPAddress/mpeg4 Cohu: rtsp://IPAddress/stream1 Cohu: rtsp://IPAddress/cam Compro: rtsp://IPAddress/medias1 D-Link: rtsp://IPAddress/play1.sdp D-Link: rtsp://IPAddress/play2.sdp Dallmeier: rtsp://IPAddress/encoder1 DoOurBest: rtsp://IPAddress/: ch0_0.h264 DVTel-IOimage: rtsp://IPAddress/ioImage/1 EagleVision: rtsp://IPAddress/11 EDIMAX: rtsp://IPAddress/ipcam.sdp EDIMAX: rtsp://IPAddress/ipcam_h264.sdp ENEO: rtsp://IPAddress/1/stream1 Etrovision: rtsp://IPAddress/rtpvideo1.sdp EverWorldView: rtsp://IPAddress EverFocus: rtsp://IPAddress/streaming/channels/0 Fine CCTV: rtsp://IPAddress/mpeg4 FLIR Systems: rtsp://IPAddress/ch0 FLIR Systems: rtsp://IPAddress/vis FLIR Systems: rtsp://IPAddress:544/wfov Foscam: rtsp://IPAddress/11 FSAN: RTSP://IPAddress/ Gadspot: rtsp://IPAddress/video.mp4 Genie: rtsp://IPAddress Genius: rtsp://IPAddress/avn=2 GeoVision: rtsp://IPAddress:8554/CH001.sdp Grandstream: rtsp://IPAddress/ GRUNDIG: rtsp://IPAddress/jpeg GRUNDIG: rtsp://IPAddress/h264 GVI: rtsp://IPAddress/mpeg4 Hikvision: rtsp://IPAddress:554/h264 HuntElectronics: rtsp://IPAddress/video1+audio1 Ikegami: rtsp://IPAddress/stream1 iLink: rtsp://IPAddress IndigoVision: rtsp://IPAddress Infinova: rtsp://IPAddress/1.AMP InnovativeSecurityDesigns: rtsp://IPAddress/stream1 INSTEK: DIGITAL: rtsp://IPAddress/ Intellinet: rtsp://IPAddress/video.mp4 Intellio: rtsp://IPAddress/ IONodes: rtsp://IPAddress/videoinput_1/h264_1/media.stm IPUX: rtsp://IPAddress/mpeg4 IPx: rtsp://IPAddress/camera.stm IQinVision: rtsp://IPAddress/now.mp4 IQinVision: rtsp://IPAddress/mp4 IRLAB: rtsp://IPAddress/ JVC: rtsp://IPAddress/PSIA/Streaming/channels/0 JVC: rtsp://IPAddress/PSIA/Streaming/channels/1 KARE: CSST-DIT: rtsp://IPAddress KTC: rtsp://IPAddress/h264/ Launch: rtsp://IPAddress/0/username:password/main Launch: rtsp://IPAddress:554/0/username:password/main Laview: rtsp://IPAddress/ LevelOne: rtsp://IPAddress/access_code LevelOne: rtsp://IPAddress/channel1 LevelOne: rtsp://IPAddress/live.sdp LevelOne: rtsp://IPAddress/video.mp4 LevelOne: rtsp://IPAddress/h264 Linksys: rtsp://IPAddress/img/video.sav Logitech: rtsp://IPAddress/HighResolutionVideo Lorex: rtsp://IPAddress/video.mp4 Lumenera: rtsp://IPAddress/ LUXONVIDEO: rtsp://IPAddress/user_defined Marmitek: rtsp://IPAddress/mpeg4 MaxVideo: rtsp://IPAddress/0/usrnm:pwd/main MC Electronics: rtsp://IPAddress/ MeritLi-Lin: http://IPAddress: /rtsph264720p MeritLi-Lin: http://IPAddress/rtsph2641080p MeritLi-Lin: http://IPAddress: /rtsph264 MeritLi-Lin: http://IPAddress: /rtsph2641024p MeritLi-Lin: rtsp://IPAddress/rtsph264 MeritLi-Lin: http://IPAddress: /rtspjpeg MeritLi-Lin: http://IPAddress: /rtsph264 MESSOA: rtsp://IPAddress:8557/h264 MESSOA: rtsp://IPAddress/mpeg4 MESSOA: rtsp://IPAddress/livestream/ MESSOA: rtsp://IPAddress:7070 MicroDigital: rtsp://IPAddress/cam0_0 Moxa: rtsp://IPAddress/multicaststream MultiPix: rtsp://IPAddress/video1 Onix: rtsp://IPAddress/cam0_0 OpenEye: rtsp://IPAddress/h264 Panasonic: rtsp://IPAddress:port//nphMpeg4/g726-640x48 Panasonic: rtsp://IPAddress/nphMpeg4/g726-640x480 Panasonic: rtsp://IPAddress/nphMpeg4/nil-320x240 Panasonic: rtsp://IPAddress/MediaInput/h264 Panasonic: rtsp://IPAddress/nphMpeg4/g726-640x Panasonic: rtsp://IPAddress/MediaInput/mpeg4 Pelco: rtsp://IPAddress/stream1 PiXORD: rtsp://IPAddress Planet: rtsp://IPAddress/ipcam.sdp Planet: rtsp://IPAddress/ipcam_h264.sdp Planet: rtsp://IPAddress/media/media.amp PRIME: rtsp://IPAddress/cam1/h264/multicast QihanTechnology: rtsp://IPAddress Repotec: rtsp://IPAddress/cam1/mpeg4?user='username'&pwd='password' SafeSky: rtsp://IPAddress Samsung: rtsp://IPAddress/mpeg4unicast Samsung: rtsp://IPAddress/mjpeg/media.smp Samsung: rtsp://IPAddress/h264/media.smp Sanan: rtsp://IPAddress/ Sanyo: rtsp://IPAddress/VideoInput/1/h264/1 ScallopImaging: rtsp://IPAddress:8554/main Sentry: rtsp://IPAddress/mpeg4 SeyeonTech: - FlexWATCH: rtsp://IPAddress/cam0_1 Sharx: rtsp://IPAddress/live_mpeg4.sdp Siemens: rtsp://IPAddress/img/video.asf Siemens: rtsp://IPAddress/livestream Siqura: rtsp://IPAddress/mpeg4 Siqura: rtsp://IPAddress/h264 Siqura: rtsp://: IPAddress/VideoInput/1/h264/1 Siqura: rtsp://: IPAddress/VideoInput/1/mpeg4/1 Sitecom: rtsp://IPAddress/img/video.sav Sony: rtsp://IPAddress/media/video1 Sparklan: rtsp://IPAddress/mpeg4 Speco: rtsp://IPAddress/ StarDot: rtsp://IPAddress/nph-h264.cgi StarVedia: rtsp://IPAddress/CAM_ID.password.mp2 StoreNet: rtsp://IPAddress/stream1 SuperCircuits: rtsp://IPAddress/ch0_unicast_firststream SuperCircuits: rtsp://IPAddress/ch0_unicast_secondstream SuperCircuits: rtsp://IPAddress/live/mpeg4 Swann: rtsp://IPAddress/mpeg4 TCLINK: rtsp://IPAddress/av2 TCLINK: rtsp://IPAddress/live.sdp Topica: rtsp://IPAddress:7070 Topica: rtsp://IPAddress/h264/media.amp TP-Link: rtsp://IPAddress/video.mp4 TRENDnet: rtsp://IPAddress/mpeg4 TRENDnet: rtsp://IPAddress/play1.sdp Truen: rtsp://IPAddress/video1 Ubiquiti: rtsp://IPAddress/live/ch00_0 UDP: Technology: rtsp://IPAddress/ch0_unicast_firststream Verint: rtsp://IPAddress Vgsion: rtsp://IPAddress/11 Vicon: rtsp://{user:password}@IPAddress:7070/ Vicon: rtsp://IPAddress/access_name_for_stream_1_to_5 Vicon: rtsp://{user:password}@IPAddress:7070/ VICON: rtsp://IPAddress:8557/h264 Videolarm: rtsp://IPAddress/mpeg4/1/media.amp VisionDigi: rtsp://IPAddress/ VisionhitechAmericas: rtsp://IPAddress/h264&basic_auth=<base64_union_of_id&pwd> Visionite: rtsp://IPAddress VISTA: rtsp://IPAddress/cam1/h264 VISTA: rtsp://IPAddress/ VITEK: rtsp://IPAddress/ch0.sdp Vivotek: rtsp://IPAddress/live.sdp Weldex: rtsp://IPAddress:7070/h264 Y-cam: rtsp://IPAddress/live_mpeg4.sdp Yudor: rtsp://IPAddress/ Zavio: rtsp://IPAddress/video.3gp Zavio: rtsp://IPAddress/video.mp4