Hi there,
I’m having trouble submitting my app to the AppStore.
Apple is telling me that I need a baseline stream of 64k in order for my app to be approved for both WiFi and the cellular network (3G, Edge).
They told me to download the mediastreamvalidator tool (mac only) to run tests against my streams. To download, go to connect.apple.com, click “Downloads”, click “iPhone”, and click “HTTP Live Streaming Tools (Disk Image)”.
In bash, I’m running the following:
mediastreamvalidator validate --platform=iphone --os=3.1 http://stream2.xyzmp3.com/spirit1_iphone/stream.sdp/playlist.m3u8
Here are the results:
Validating http://stream2.xyzmp3.com/spirit1_iphone/stream.sdp/playlist.m3u8 against iPhone OS 3.1.0
Validating child playlist http://stream2.xyzmp3.com/spirit1_iphone/stream.sdp/playlist.m3u8?wowzasessionid=1407131978 [100.00 kbit/s]
ERROR: Child playlist is invalid. A detailed report for the playlist follows this report.
http://stream2.xyzmp3.com/spirit1_iphone/stream.sdp/playlist.m3u8?wowzasessionid=1407131978
WARNING: The playlist should use relative URIs to reduce its size.
WARNING: Playlist Content-Type is 'application/x-mpegurl', but should be one of 'application/vnd.apple.mpegurl', 'audio/x-mpegurl' or 'audio/mpegurl'.
-----------------------------------------------------------------------------------------------------------------------
REPORT FOR CHILD PLAYLIST 'http://stream2.xyzmp3.com/spirit1_iphone/stream.sdp/playlist.m3u8?wowzasessionid=1407131978'
-----------------------------------------------------------------------------------------------------------------------
WARNING: INF tag with duration 2 seconds above the playlist's target duration (5.000 seconds).
5: #EXTINF:20,
~~
WARNING: INF tag with duration 2 seconds above the playlist's target duration (5.000 seconds).
7: #EXTINF:20,
~~
WARNING: Playlist Content-Type is 'application/x-mpegurl', but should be one of 'application/vnd.apple.mpegurl', 'audio/x-mpegurl' or 'audio/mpegurl'.
ERROR: Invalid response from the validator helper: a track is missing the 'type' property.
6: http://stream2.xyzmp3.com/spirit1_iphone/_definst_/stream.sdp/media_4299.ts?wowzasessionid=1407131978
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WARNING: Media segment bitrate outside of target playlist bitrate by 75.285 % (24715 vs. 100000 bps, limit is 10 %).
6: http://stream2.xyzmp3.com/spirit1_iphone/_definst_/stream.sdp/media_4299.ts?wowzasessionid=1407131978
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: Invalid response from the validator helper: a track is missing the 'type' property.
8: http://stream2.xyzmp3.com/spirit1_iphone/_definst_/stream.sdp/media_4300.ts?wowzasessionid=1407131978
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
WARNING: Media segment bitrate outside of target playlist bitrate by 74.897 % (25102 vs. 100000 bps, limit is 10 %).
8: http://stream2.xyzmp3.com/spirit1_iphone/_definst_/stream.sdp/media_4300.ts?wowzasessionid=1407131978
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: Playlist must have at least 3 media URIs if it does not have an ENDLIST tag.
Average segment duration: 19.47 seconds
Playlist target bitrate: 100.00 kbit/s
Average segment bitrate: 24.91 kbit/s (-301.46 % of target)
Video codec: avc1
Video resolution: 320x240 pixels
Video frame rate: 7.44, 7.46 fps
H.264 profile: Baseline
H.264 level: 3.0
Is there anyway to modify the M3U8 files?
Apparently, I need to change “EXTINF:20” to “EXTINF:5”, change the Content-Type from “application/x-mpegurl” to “audio/x-mpegurl”, and add “ENDLIST” to the end of the file.
Thanks for your help in advance!