[FFmpeg-trac] #9984(ffmpeg:new): Disable default http Headers

FFmpeg trac at avcodec.org
Fri Oct 21 18:54:14 EEST 2022


#9984: Disable default http Headers
-------------------------------------+----------------------------------
             Reporter:  metzger.100  |                    Owner:  (none)
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  git-master   |               Resolution:
             Keywords:  http https   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Description changed by metzger.100:

Old description:

> Summary of the bug:
> Well, I used ffmpeg to get some Streams from the WWW downloaded.
> therefore I need to send custom http headers to don't get rejected.
> Now I get rejected because of the default headers, which I can't diable.
> I can disable Icy-Metadata: with -icy 0 but not the other Headers like
> Host, Range, Accept and Connection. Would be cool if you could add a
> option to disable the default headers so only my custom headers get sent.
> How to reproduce:
> {{{
> % ffmpeg -headers "Header1: 0`r`nHeader2: 1`r`n" -icy 0 -i input ...
> output
> ffmpeg 5.0-full
> built on Windows
> }}}

New description:

 Summary of the bug:
 Well, I used ffmpeg to get some streams from the WWW downloaded.
 therefore I need to send custom http headers to don't get rejected.
 Now I get rejected because of the default headers, which I can't diable.
 I can disable Icy-Metadata: with -icy 0 but not the other headers like
 Host, Range, Accept and Connection. Would be cool if you could add a
 option to disable the default headers so only my custom headers get sent.
 Overwriting the headers to remove the content didn't help.
 How to reproduce:
 {{{
 % ffmpeg -headers "Header1: 0`r`nHeader2: 1`r`n" -icy 0 -i input ...
 output
 ffmpeg 5.0-full
 built on Windows
 }}}

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9984#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list