I am trying to play this live stream:
Code:
http://mml2016-lh.akamaihd.net/z/mml_103@372865/manifest.f4m?g=GTBTQYTGZVXY&hdcore=3.4.1&plugin=aasp-3.4.1.1.1
The response is:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns="http://ns.adobe.com/f4m/1.0" xmlns:akamai="uri:akamai.com/f4m/1.0">
<akamai:version>2.0</akamai:version>
<akamai:bw>5000</akamai:bw>
<id>mml_103</id>
<streamType>live</streamType>
<akamai:streamType>live</akamai:streamType>
<dvrInfo beginOffset="0" endOffset="0"/>
<pv-2.0>ZXhwPTE0NTgyNjg1OTZ+YWNsPSUyZip+ZGF0YT1wdmMsc35obWFjPWM4YzU3MTNlNjM0NGM2NzY3ZDg0NjQyZDJkOTg5M2I2OTZkOTJjNjZkYWE2YjJkY2E2MjBiY2U3MDA4NWEwODg=</pv-2.0>
<bootstrapInfo profile="named" id="bootstrap_500" url="500_8c2718a6e2817a5f-p.bootstrap"/>
<bootstrapInfo profile="named" id="bootstrap_800" url="800_8c2718a6e2817a5f-p.bootstrap"/>
<bootstrapInfo profile="named" id="bootstrap_1200" url="1200_8c2718a6e2817a5f-p.bootstrap"/>
<bootstrapInfo profile="named" id="bootstrap_1850" url="1850_8c2718a6e2817a5f-p.bootstrap"/>
<bootstrapInfo profile="named" id="bootstrap_2400" url="2400_8c2718a6e2817a5f-p.bootstrap"/>
<bootstrapInfo profile="named" id="bootstrap_3000" url="3000_8c2718a6e2817a5f-p.bootstrap"/>
<media bitrate="500" url="500_8c2718a6e2817a5f-p_" bootstrapInfoId="bootstrap_500">
<metadata>AgAKb25NZXRhRGF0YQMABXdpZHRoAEB5AAAAAAAAAAZoZWlnaHQAQGwAAAAAAAAACWZyYW1lcmF0ZQBAPfhT4lVrKAAMdmlkZW9jb2RlY2lkAEAcAAAAAAAAAA12aWRlb2RhdGFyYXRlAEB7QAAAAAAAAA1hdWRpb2RhdGFyYXRlAEBQAAAAAAAAAAAJ</metadata>
</media>
<media bitrate="800" url="800_8c2718a6e2817a5f-p_" bootstrapInfoId="bootstrap_800">
<metadata>AgAKb25NZXRhRGF0YQMABXdpZHRoAECAAAAAAAAAAAZoZWlnaHQAQHIAAAAAAAAACWZyYW1lcmF0ZQBAPfhT4lVrKAAMdmlkZW9jb2RlY2lkAEAcAAAAAAAAAA12aWRlb2RhdGFyYXRlAECHAAAAAAAAAA1hdWRpb2RhdGFyYXRlAEBQAAAAAAAAAAAJ</metadata>
</media>
<media bitrate="1200" url="1200_8c2718a6e2817a5f-p_" bootstrapInfoId="bootstrap_1200">
<metadata>AgAKb25NZXRhRGF0YQMABXdpZHRoAECEAAAAAAAAAAZoZWlnaHQAQHaAAAAAAAAACWZyYW1lcmF0ZQBAPfhT4lVrKAAMdmlkZW9jb2RlY2lkAEAcAAAAAAAAAA12aWRlb2RhdGFyYXRlAECRwAAAAAAAAA1hdWRpb2RhdGFyYXRlAEBQAAAAAAAAAAAJ</metadata>
</media>
<media bitrate="1850" url="1850_8c2718a6e2817a5f-p_" bootstrapInfoId="bootstrap_1850">
<metadata>AgAKb25NZXRhRGF0YQMABXdpZHRoAECIAAAAAAAAAAZoZWlnaHQAQHsAAAAAAAAACWZyYW1lcmF0ZQBAPfhT4lVrKAAMdmlkZW9jb2RlY2lkAEAcAAAAAAAAAA12aWRlb2RhdGFyYXRlAECb6AAAAAAAAA1hdWRpb2RhdGFyYXRlAEBQAAAAAAAAAAAJ</metadata>
</media>
<media bitrate="2400" url="2400_8c2718a6e2817a5f-p_" bootstrapInfoId="bootstrap_2400">
<metadata>AgAKb25NZXRhRGF0YQMABXdpZHRoAECOAAAAAAAAAAZoZWlnaHQAQIDgAAAAAAAACWZyYW1lcmF0ZQBAPfhT4lVrKAAMdmlkZW9jb2RlY2lkAEAcAAAAAAAAAA12aWRlb2RhdGFyYXRlAECiQAAAAAAAAA1hdWRpb2RhdGFyYXRlAEBQAAAAAAAAAAAJ</metadata>
</media>
<media bitrate="3000" url="3000_8c2718a6e2817a5f-p_" bootstrapInfoId="bootstrap_3000">
<metadata>AgAKb25NZXRhRGF0YQMABXdpZHRoAECUAAAAAAAAAAZoZWlnaHQAQIaAAAAAAAAACWZyYW1lcmF0ZQBAPfhT4lVrKAAMdmlkZW9jb2RlY2lkAEAcAAAAAAAAAA12aWRlb2RhdGFyYXRlAECm8AAAAAAAAA1hdWRpb2RhdGFyYXRlAEBQAAAAAAAAAAAJ</metadata>
</media>
</manifest>
I tried using ffmpeg but it throws an error
Code:
ffmpeg -i 'http://mml2016-lh.akamaihd.net/z/mml_103@372865/manifest.f4m?g=GTBTQYTGZVXY&hdcore=3.4.1&plugin=aasp-3.4.1.1.1' -c copy test.ts