[FFmpeg-devel] [PATCH] avformat/hlsenc: fix default AES key file url with variant streams

Steven Liu lq at chinaffmpeg.org
Mon Jan 20 08:43:51 EET 2020



> 在 2020年1月20日,06:10,Bodecs Bela <bodecsb at vivanet.hu> 写道:
> 
> Dear All,
> 
> Currently when hls_enc is active and there are multiple variant stream
> outputs, default key file url construction does not work, because it is
> based on the FormatContext' url field. (m3u8 playlist output)
> But in case of multiple variant streams,
> it contains the variant m3u8 output playlist url that contains
> the %v placeholder. So the result key file url also will hold the %v
> placeholder causing run time error message about "could not write the
> key file".
> This patch correct this behaviour, and use the master playlist url for
> constructing the output key file url when master playlist is vailable.
> 
> please review this patch!
> 
> thank you in advance,
> 
> Bela
> 
> 
> <0001-avformat-hlsenc-fix-default-AES-key-file-url-with-va.patch>_______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".

Applied

Thanks
Steven








More information about the ffmpeg-devel mailing list