LAVFilters icon indicating copy to clipboard operation
LAVFilters copied to clipboard

feature request: override default ffmpeg user agent("Lavf/<version>")

Open dongjuanyong opened this issue 5 years ago • 4 comments

I opened an issue in clsid2's MPC-HC ( https://github.com/clsid2/mpc-hc/issues/91 ) about some sites blocking accesses with the default user agent used by MPC-HC. Then he told me that it was LAV Splitter which using UAs like "Lavf/58.26.101" and I found this was inherited from upstream project ffmpeg. Since ffmpeg provided an option "user_agent" to override the UA header when calling http request, is it possible to have an option in LAV Splitter to customize the UA? I found clsid2 talked about this some time before. ( https://github.com/Nevcairiel/LAVFilters/issues/199#issuecomment-381939412 )

dongjuanyong avatar Apr 08 '19 14:04 dongjuanyong

Add support to pass custom http headers is very helpful for play some video links. clsid2/mpc-hc#564

lifegpc avatar Aug 05 '20 11:08 lifegpc

It would be nice if there was a custom interface where the player can pass User-Agent to LAV Filters per-video (not globally).

ale5000-git avatar Sep 16 '21 07:09 ale5000-git

@Nevcairiel Please, consider implementing this feature. Thank you.

iG8R avatar Nov 15 '22 11:11 iG8R

Please consider support agent param in .m3u file, example with VLC: #EXTVLCOPT::http-user-agent="..."

NothingCtrl avatar Nov 25 '22 17:11 NothingCtrl