We tried transcoding a video file to "fMP4+HLS+HEVC" using ffmpeg. The produced video is unable to play on iOS devices. Upon testing on mediastreamvalidator
, could see Error injecting segment data
while its fetching the media file.
[/stream/qa-josh-content/transcode_exercise/josh/fmp4_exp/x265/hvc1_tag/2a7679347f1779c1b1575488a3f140a8_master_fs_main10_yuv420.m3u8]
Started root playlist download
[v0/2a7679347f1779c1b1575488a3f140a8_prog_index_fs_main10_yuv420.m3u8]
Started media playlist download
[v1/2a7679347f1779c1b1575488a3f140a8_prog_index_fs_main10_yuv420.m3u8]
Started media playlist download
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
[v0/2a7679347f1779c1b1575488a3f140a8_prog_index_fs_main10_yuv420.m3u8]
All media files delivered and have end tag, stopping
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
Error injecting segment data
[v1/2a7679347f1779c1b1575488a3f140a8_prog_index_fs_main10_yuv420.m3u8]
All media files delivered and have end tag, stopping
--------------------------------------------------------------------------------
v0/2a7679347f1779c1b1575488a3f140a8_prog_index_fs_main10_yuv420.m3u8
--------------------------------------------------------------------------------
HTTP Content-Type: application/x-mpegURL
Processed 0 out of 4 segments
Average segment duration: 5.808333
Total segment bitrates (all discontinuities): average: 497.11 kb/s, max: 528.99 kb/s
Playlist max bitrate: 542.558000 kb/s
Audio Group ID: AUDIO
Discontinuity: sequence: 0, parsed segment count: 0 of 4, duration: 23.233 sec, average: 497.11 kb/s, max: 528.99 kb/s
--------------------------------------------------------------------------------
v1/2a7679347f1779c1b1575488a3f140a8_prog_index_fs_main10_yuv420.m3u8
--------------------------------------------------------------------------------
HTTP Content-Type: application/x-mpegURL
Processed 0 out of 4 segments
Average segment duration: 5.808333
Total segment bitrates (all discontinuities): average: 2132.38 kb/s, max: 2229.71 kb/s
Playlist max bitrate: 2341.058000 kb/s
Audio Group ID: AUDIO
Discontinuity: sequence: 0, parsed segment count: 0 of 4, duration: 23.233 sec, average: 2132.38 kb/s, max: 2229.71 kb/s
But the master.m3u8 is playable on local (tested on VLC, ffplay).
Whats the root cause of it and how to solve it ? Please do the needful, badly stuck here for a long time.