I knew about how the master manifest points to a stream manifest (usually several stream
manifests, one for each resolution & maybe bit rate). I think the part I didn't quite
get is that the site is responsible for chunk 0 in the stream manifest. Evidently, for
both Golf Channel & Medici, their stream manifests routinely have chunk 0 pointing to the
beginning of the stream, which is not the time you open the page, not the time you launch
playback, but rather the time when you find that there is a variant on the VDH menu & a
master manifest in the Network Monitor of the browser. See, I don't usually launch
playback. "Now" is whenever I click the variant on the VDH menu or launch ffmpeg. "Now"
is not defined by what I am playing on the page because I am almost never playing
anything on the page. "Now" is defined by whenever I open the page to start recording
the stream. Today, I didn't do that until over 90 minutes after the show started, which
was nearly 2 hours after the livestream actually went live. Given how this works, it's
utterly no surprise that both VDH & ffmpeg recorded the exact same result. I just wish
NBC didn't have to give me an entire hour of "Coverage will begin shortly." You'd think
10 minutes of that, 15 minutes max, would be quite sufficient. But VDH is just the
messenger. That's what their manifest says is chunk 0 so what I've been getting is what
I'm supposed to be getting. That's why they invented fast forward in video players,
right?
I think I've been thrown off by this ffmpeg parameter -live_start_index 0. It must be
that ffmpeg is aware of the stuff about "now" vs "beginning" that you're telling me VDH
pays no attention to. I like the way VDH works, now that I understand it. I do not have
that HLS live history box checked. I've never had it checked. I'm not sure I'm quite
the expert you think I am. I don't see a reason to check that box. I also don't see a
reason to change the way VDH fiddles with what chunk it starts recording at. I say
always go to chunk 0 & be done with it.
But this means that it is the web site determining chunk 0. I sort of had that figured
out but wasn't verbalizing it that way. I can imagine a web site continually adjusting
its stream manifest so that chunk 0 keeps getting updated to a later & later chunk.
Meaning, if you didn't get into the livestream early enough, you're out of luck. I could
see something like that for a long stream, like a live radio station. I can imagine that
chunk 0 of the stream manifest would never be older than a couple of hours. I don't know
if that's true. I'm just reasoning it out. I could see this approach with something
like one of those web cams that's set up in a cage in a zoo to monitor, I don't know, a
newborn panda or something. Surely for them, chunk 0 is never more than 6 hours ago, or
maybe 24 hours, tops. But no matter how the site manages their chunk 0, VDH should
simply start recording there. If that's not actually the start of the livestream, hey,
you didn't tune in soon enough. But we should be grateful NBC & Medici do it that way.
Their content is normally shows of a few hours, anywhere from 2 to 6 hours. Chunk 0 is
never a prohibitively long time in the past like it would be for the radio station or
cage-cam.
On Medici, I start here:
https://www.medici.tv
This automatically changes to this:
https://www.medici.tv/en/
I should imagine for you, it changes to this:
https://www.medici.tv/fr/
Just for grins & giggles, I went to that page. Here's a sequence of what I'm seeing
right now.