[FFmpeg-user] Tokenised http subtitle source

Moritz Barsnick barsnick at gmx.net
Wed Apr 14 17:13:38 EEST 2021


Hi Adam,

On Wed, Apr 14, 2021 at 14:15:48 +0100, FFmpeg user discussions wrote:
> [https @ 0x7f40de879b40] HTTP error 403 Forbiddenhttps://some_domain.com/subtitles/18217/bf4130a3-64f8-40cb-aae8-720da75797a7.srt?AWSAccessKeyId=A*****************Z: Server returned 403 Forbidden (access denied)

You should show us the complete, uncut console output, without the
access key of course.

> It looks like it is cutting off the URL after the aws access key.

It looks like you may be using Unix/Linux and your shell is
interpreting '&'. You may need to quote the complete URL on the command
line. But I am just guessing.

> Does anybody know if FFmpeg will work with this type of token or should I just make a HTTP.get call in my script to localise the SRT file?

This should just work. ffmpeg's URL handling is limited to a length of
4096.

Cheers,
Moritz


More information about the ffmpeg-user mailing list