[Libav-user] ffmpeg hls and 3 cookies
Uğur Bozkaya
ugur at younow.com
Wed Jan 4 01:09:58 EET 2017
Just a suggestion without any deep knowledge.
Did you try to add a space after ‘;’ In the command line doc (https://ffmpeg.org/ffmpeg-protocols.html#HTTP-Cookies <https://ffmpeg.org/ffmpeg-protocols.html#HTTP-Cookies>) it seems to have it for ffplay.
ffplay -cookies "nlqptid=nltid=tsn; path=/; domain=somedomain.com;" http://somedomain.com/somestream.m3u8
Ugur
> On Jan 3, 2017, at 11:00 AM, Georg Stein SMC <georg at steinmc.com> wrote:
>
> I have 3 cookies i need to hand over to the avformat lib, i tried this as an optione (see below) but without success, so perhasp somebody has a hint for me how i have to do this correct
>
> Georg
> i tried this way (under Qt 5, windows)
> cookies = "Cookie: CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9yZXBsYXkucGVyaXNjb3BlLnR2L3JaXzhYbk5yeVhWVnA3M2JKbG1OVlZ3RldkS0lDbTBNbHdyaGRPelBZMFY4b3lUM2ZfWl9nbkdiRVJ6NGhERDhzT3NsSFE1WEZTaUdySmFla1lXTVpnKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTQ4MzQ3MjYwMX19fV19;CloudFront-Key-Pair-Id=APKAIHCXHHQVRTVSFRWQ;CloudFront-Signature=CWCFrF5gKg-cCgxUWyN1c~rtHTL4Oor8cShBfWdbX4KmjFodsVgEHdMbwHP6cP8KYWL1oFD1Xq6SURLTFVQK3iW8XvIaogdq-Ef4vAElWumdHOGXdNxDMi-19yV2q0lDormiUCk4hp-TGhxlx3ojFYfUXpIPUJTgE3GoxLtGoS6Zu1hsS50zuy6Kbg~h~wa1MbHRgTAlq3QGMf1ECiJ3BO6j5xmxwJyiYwD~piqYOLU-~lTVeGHOll9oLl5YDidCfeU6ixWMiOSa0a6sejk7utZzYPHVRMsNUbYKh8SYxg50t7V06BHJ8Bdml8kh~d9Rt2epS49objhVEg56YBiE5w__;'$'\r\n'"
>
> and also without thr trainling $'\r\n'
>
> av_opt_set(&avoption, "headers", cookies.toStdString().c_str(), AV_DICT_APPEND);
>
>
>
> but this is not working
>
> Georg
>
>
> Am 03.01.2017 um 00:06 schrieb Anthony Ettinger:
>> Can you install the static builds? https://johnvansickle.com/ffmpeg/ <https://johnvansickle.com/ffmpeg/>
>>
>> On Mon, Jan 2, 2017 at 12:17 AM, Carl Eugen Hoyos <ceffmpeg at gmail.com> <mailto:ceffmpeg at gmail.com>
>> wrote:
>>
>>> 2017-01-01 19:57 GMT+01:00 Georg Stein SMC <georg at steinmc.com> <mailto:georg at steinmc.com>:
>>>
>>>> ffmpeg version 3.1.3 Copyright (c) 2000-2016 the FFmpeg developers
>>>> built with gcc 4.8 (SUSE Linux)
>>> This is an intentionally broken binary that cannot be used for
>>> anything!
>>> Suse is abusing the name of our project in a similar way as Debian
>>> and Ubuntu did in the past, there is nothing we can do about it;-(
>>>
>>> The solution for you is to switch to packman as package provider.
>>>
>>> Carl Eugen
>>> _______________________________________________
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org <mailto:ffmpeg-user at ffmpeg.org>
>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user <http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
>>>
>>> To unsubscribe, visit link above, or email
>>> ffmpeg-user-request at ffmpeg.org <mailto:ffmpeg-user-request at ffmpeg.org> with subject "unsubscribe".
>>>
>>
>
> --
> Stein Micro Computer
> Georg P. Stein
>
> Tel.: 06898-63880
> Fax: 06898-63820
> Mobil: 0172-3538379
> georg at steimc.com <mailto:georg at steimc.com>
> https://www.steinmc.com <https://www.steinmc.com/>_______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170103/9ae2f4fb/attachment.html>
More information about the Libav-user
mailing list