K-S-V / Scripts

Collection of my scripts
GNU General Public License v3.0
635 stars 226 forks source link

Failing to get bootstrap on AMS 5 #17

Closed sbekman closed 10 years ago

sbekman commented 11 years ago

Using AMS 5.0 generated HDS,

Processing manifest info....
Quality Selection:
 Available: 1
 Selected : 1
Failed to refresh bootstrap info
Processing manifest info....

Notice: Undefined offset: 0 in /opt/lampp/archive/adobe.php on line 520
Quality Selection:
 Available: 1
 Selected : 1

Warning: unpack(): Type N: not enough input, need 4, have 0 in /opt/lampp/archive/adobe.php on line 1359
Failed to parse bootstrap info

Any ideas?

K-S-V commented 11 years ago

can u provide copy of manifest file and .abst files for further debugging or provide link to video where it's currently being used.

sbekman commented 10 years ago

let me know what else you need

K-S-V commented 10 years ago

Problem was due to server returning the cached response (HTTP 304) instead of normal response (HTTP 200), sometimes even when making the first request. i have added a workaround for it in acf06f18ed6fbb6fd06e964de61678ffb46e86b6. update your script either manually or with

php AdobeHDS.php --update
sbekman commented 10 years ago

Hi K-S-V, unfortunately I'm just getting an endless loop of Updating Bootstrap Info, Retries: xx

K-S-V commented 10 years ago

Your posted stream link is not live anymore. script downloads last few fragments and tries to update bootstrap info which is no longer live so it quits after 30 retries. try it with another live stream.

sbekman commented 10 years ago

Just tried, still getting same thing.

The only way live is there is when the encoder is actually broadcasting - otherwise, it goes away. Getting the same thing on a newly live encode as well. (same link)

K-S-V commented 10 years ago

Then it''s a problem with your server software. it's not updating the bootstrap info as intended. use --debug switch to see the dump of fragment table which only contains fragments upto 14. it has same behavior with flash player.

http://www.ma288.com/osmf/OSMFPlayer.html?url=http://108.168.175.164/hds-live/publishing/PREMIUM_HSTV_2/liveevent/livestream1.f4m