mediastreamvalidator "Error injecting segment data"

We are using the apple mediastreamvalidator tool for HLS validation of the output of our Packager/Encoder, which we are currently developing.

Sometimes, during analysis, we get this message :

"Error injecting segment data"

Could you tell us in what conditions this error is logged? Is there an actual problem with the HLS output on the origin server? I cannot find any details on this error on the developer website :

https://developer.apple.com/library/archive/technotes/tn2235/_index.html


At the end of the mediastreamvalidator there are no "must fix issues", but would like to know why these errors are reported ?


/usr/local/bin/mediastreamvalidator: Version 1.2(170822)

[/Live/HLS/10.50.202.249/TestStream0.m3u8] Started root playlist download

[/Live/HLS/10.50.202.249/TestStream0/aac_Audio2@48kbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/aac_Audio4@64kbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/aac_Audio1@40kbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/aac_Audio7@112kbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/aac_Audio5@80kbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/1024x576@2.200Mbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/1920x1080@11.000Mbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/aac_Audio6@96kbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/896x504@1.000Mbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/896x504@1.500Mbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/768x432@0.650Mbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/1920x1080@7.500Mbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/1280x720@5.000Mbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/1280x720@3.300Mbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/3840x2160@16.000Mbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/aac_Audio3@56kbps.m3u8] Started media playlist download

[/Live/HLS/10.50.202.249/TestStream0/aac_Audio0@32kbps.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

....

Replies

Technote 2235 is very out-of-date. I would not rely on it.


The "Error injecting segment data" indicates we got a parsing error when looking at the data, which we have ignored so we can continue examining the stream as a whole.

This may indicate a discontiuity domain that is not marked in the playlist.


If you are having trouble finding the exact problem, I would suggest contacting Apple Developer Support.