On 2021-03-30 20:44, Daniel Oberhoff via ffmpeg-user wrote:
Hello I am trying to add an authorization header to a http post output, but somehow cant seem to succeed. my request looks like this: ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 -vframes 1 -headers "Authorization: foo" -f image2 -chunked_post 0 https://foo <https://foo/>.org/endpoint -loglevel trace but the trace doesnt mention the auth header at all or respect the chunked_post 0. am I missing something?
You need to use the image2 option protocol_opts to pass on these options. See the last example at http://www.ffmpeg.org/ffmpeg-formats.html#Options-7 Regards, Gyan _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
