Opened 4 years ago

Closed 3 years ago

#5315 closed defect (fixed)

hlsenc ignores http method AVOption on index files

Reported by: longhairedcountryboy Owned by: stevenliu
Priority: normal Component: avformat
Version: git-master Keywords: hls http
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


report attached.

Use hlsenc output to a http URI and try to override the method AVOption.

In the report, you can see that index files use POST and the chunks use PUT as expected.

An interim fix is to pass &options to the io_open call that creates the index file - but I've only tested this on HTTP and don't know if it will break any other use case.

Attachments (1)

ffmpeg-20160308-145808.log (113.1 KB) - added by longhairedcountryboy 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by longhairedcountryboy


comment:1 Changed 3 years ago by stevenliu

  • Owner set to stevenliu
  • Status changed from new to open

you can try the patch: in maillist: avformat/hlsenc: set default http method to PUT when method is null

comment:3 Changed 3 years ago by stevenliu

comment:4 Changed 3 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.