<div dir="ltr"><div dir="ltr">Hello,<div><br><div class="gmail_quote"><div dir="ltr">On Tue, 20 Nov 2018 at 12:59, Carl Eugen Hoyos <<a href="mailto:ceffmpeg@gmail.com">ceffmpeg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">2018-11-20 8:22 GMT+01:00, Arminas <<a href="mailto:g.arminas@gmail.com" target="_blank">g.arminas@gmail.com</a>>:<br>
<br>
> we're using libav* binded to custom IO, so it's possible to use<br>
> our http client instead of libav* one. I've noticed that application<br>
> is not even trying to decrypt HLS + AES* chunks and fails with<br>
> exception "Error when loading first segment".<br>
<br>
Did you test with ffmpeg (the application)?<br>
I believe it will not work indicating the problem is not related to<br>
your code, an initial patch was sent a few days ago iirc.<br></blockquote><div><br></div><div>Yes, if I run ffmpeg -i "http://....", it is able to show metadata and stream information about video. Using custom IO, it crashes in avformat_open_input() function. I'm just curious when using custom IO, should user decrypt chunks at his application level, or somehow initialise new context for crypto module.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Carl Eugen<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote></div><br clear="all"><div><br></div>-- </div><div>Regards,<br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><span style="font-size:12.8px">Arminas</span><br></div></div></div></div></div></div></div></div>