HN user

bcryptd

24 karma
Posts0
Comments12
View on HN
No posts found.

Currently to get the stream from ffmpeg into nginx you have to do the following: ffmpeg -re -i input_file -c copy -f flv rtmp://nginx_server_url:1935/app

It would be nice to have the ability to set up an app block that looked kind of like this

application source1 { exec fffmpeg -f decklink -i 'DeckLink Quad (1)@8' -f flv rtmp://localhost/app/$name }

ffmpeg is still pushing the stream to nginx, but nginx is in charge of starting that process.

I have an HLS live stream with less than 1 second of latency. If you have a keyframe interval around 5 frames, the player can start playing when it receives 15 frames.