How to enable cookies in ffmpeg HLS

早过忘川 提交于 2019-12-01 08:30:54

There's no cookie support in ffmpeg. You'll need to implement that part on your own or perhaps use mplayer which supports cookies.

You can send headers with FFmpeg

Linux

ffmpeg -i INPUT -headers $'Cookie: logged_in=yes; tracker=direct\r\n'

Windows

powershell ffmpeg -i INPUT -headers "Cookie: logged_in=yes; tracker=direct`r`n"
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!