[FFmpeg-user] Use http with auth_type

Vivien LEONARD vivien.leonard at googlemail.com
Tue Nov 10 09:25:51 EET 2020


Hi all,

I would like to protect the stream output of ffmpeg with basic
authentication, or a token, but so far I can not manage to have it working.

I use the following command to test it locally:
ffmpeg -i [whataver_name_of_mp4_file].mp4 -listen 1 http://0.0.0.0:8090

Then anyone can just connect to http://0.0.0.0:8090 and get the stream. But
I want to protect it.
In the documentation, there is a auth_type option but I can not manage to
have it working, and I find 0 example on the web.

Anyone has ever been using this option and could maybe help me please?

Cheers

Vivien


More information about the ffmpeg-user mailing list