Estou tentando converter h264 video em um fluxo hls que usa h265 codec. Como este artigo bitmovin sugere, precisamos usar framgmented mp4 para o fluxo hls/h265 funcionar no safari.
h264 em h265 corretamente usando este comando
ffmpeg -i input.mp4 -c:v libx265 -tag:v hvc1 out.mp4
h264 ) para hls ( framgmented mp4 ) usando este comando
ffmpeg -y -i input.mp4 \ -c copy -hls_segment_type fmp4 -hls_time 6 -hls_list_size 10 \ -hls_flags delete_segments+append_list+split_by_time \ -hls_playlist_type vod manifest.m3u8
Agora, quando eu uso o comando acima, especificando h265 , o fluxo de saída hls não funciona no safari. Isso lança esse erro
Plugin Handled Load
Comando
ffmpeg -y -i input.mp4 \ -vf scale=640:360 -c:v libx265 -tag:v hvc1 -c:a copy \ -hls_segment_type fmp4 -hls_time 6 -hls_list_size 10 \ -hls_flags delete_segments+append_list+split_by_time \ -hls_playlist_type vod manifest.m3u8
Qual pode ser o problema aqui?