kaffetorsk / arlo-streamer

Continuous stream for Arlo cameras
MIT License
30 stars 5 forks source link

[Question] why RTMP stream ? #23

Closed bbo76 closed 1 month ago

bbo76 commented 5 months ago

Hello there, I have a stupid question maybe but why the stream is target as rtmp stream and not a rtsp ? I’m a noob in video streaming but in frigate doc it say rtmp stream is a deprecated tech

YpNo commented 4 months ago

Hi @bbo76, I think it is for backward compatibility with some camera and protocol handling with ffmpeg. I am working on a new version by handling the stream ouput to a HLS playlist. But, like you, I am not good in video streaming and Python development. I'll let you know if I succeed in this goal.

kaffetorsk commented 1 month ago

Hello there, I have a stupid question maybe but why the stream is target as rtmp stream and not a rtsp ? I’m a noob in video streaming but in frigate doc it say rtmp stream is a deprecated tech

You can make the stream be whatever you want as long as ffmpeg supports it. FFMPEG_OUT: out-string for ffmpeg. (e.g. -c:v copy -c:a copy -f flv rtmp://127.0.0.1:1935/live/{name})

FFMPEGOUT="-c:v copy -c:a copy -f rtsp rtsp://127.0.0.1:1935/live/{name})

The only thing to keeep in mind is the template {name} since the streams are not staticly defined for each camera