[FFmpeg-user] -method PUT vs -protocol_opts method=PUT

Vojtěch Knyttl vojtech at knyt.tl
Tue Jan 31 23:13:57 EET 2023


Hi,

I wonder what is the difference between these two options. It seems that some codecs use first one, some codecs use second one?

When I create webp thumbnails (like this: https://gist.github.com/knyttl/cc4a9ab833dd1b6af2ca9503acdce49f ), only -protocol_opts works and I can nicely see:

[https @ 0x7fa82400c100] request: PUT path/thumbnail.webp HTTP/1.1
Transfer-Encoding: chunked
User-Agent: Lavf/59.27.100
Accept: */*
Connection: close
Host: storage.bunnycdn.com
Icy-MetaData: 1
AccessKey: KEY

However when I try to create HLS playlist, the protocol_opts has no effect and I see:

[hls muxer @ 0x7fe528810200] No HTTP method set, hls muxer defaulting to method PUT.

What is the difference and what is the correct usage?

Thanks,

Vojtěch Knyttl


More information about the ffmpeg-user mailing list