I have added myself as a listener to the Bugzilla report. Thanks for filing it, Michel.
You folks who are interested in this issue should add yourselves to the CC list in the
People section of the Bugzilla report. Then you will get notified when this bug in
Firefox has been corrected & rolled out to the general public. You might also vote for
the bug, as I have done, even though I have utterly no interest in Twitch.
That Bugzilla report contains instructions for implementing a workaround. I set the
indicated Firefox property as advised, then I visited Twitch, something I've never done
before & probably will never do again . . . unless there's some problem report here that
prompts me to do so. When I opened the VDH menu, there was the usual array of variants
listed. So the workaround reported in the Bugzilla report indeed does get around the
problem. I'm sure it's just a workaround. When the Mozilla devs get around to fixing
this regression, you should no doubt revert the property mentioned there.
So I went through the standard technique required to use ffmpeg to get the livestream
that is at the top of the Twitch home page. Why ffmpeg? Why not VDH? Because you
cannot tell VDH to record only 5 minutes of something. Hint hint. Product enhancement,
Michel. Also, my experience with stopping inflight downloads with VDH has had mixed
results. Sometimes VDH properly closes the download & writes the moov atom into the
target file. Sometimes it does not. When it does not, the resulting file is just
garbage, can't be played, can't be repaired, might as well erase it. It's an
intermittent, unpredictable thing. Hint hint. Program bug, Michel. I didn't want to
waste my time with a VDH recording that I might or might not be able to play after
recording it. In addition, ffmpeg offers me the option of discarding corrupt packets
instead of just failing. I'm not sure what VDH does when it gets a corrupt packet. I
think it should discard them. I don't think this should even be a user-selectable
setting. If a user sets VDH to download/record something, the user wants it recorded. A
corrupt packet is a lame excuse for terminating a download. So if VDH does not already
simply ignore corrupt packets, here's another hint hint for a product enhancement,
Michel.
In any case, ffmpeg was able to record 5 minutes of this livestream no problem, video +
audio. It looked like a guy interviewing a performer of some kind, perhaps rap. It was
in Spanish so I didn't understand a word of it. At least, I think it was Spanish. I
don't really know. Like I say, it was in a language I didn't understand.
Interestingly, there was timed_ID3 data in this livestream. I still don't know what
timed_ID3 data really is because I've never actually seen any. Even with ffmpeg set to
-strict experimental, it still simply ignores the timed_ID3 data. There is a better than
good chance that whatever VDH downloads from Twitch, at least for this particular
livestream, it won't play properly. It will be subject to skips. Maybe other Twitch
content doesn't have timed_ID3 data. But if you find that your Twitch recordings via VDH
skip, it will be because of timed_ID3 data. If it bothers you enough, you'll learn how
to use ffmpeg. I've put a tutorial on ffmpeg in here. I've referred to it enough times.
You should be able to find it easily enough. This problem with timed_ID3 data has been
reported several times in here. I believe you did something in the area of timed_ID3
data at some point, Michel, but you need to revisit that. You need to simply ignore &
discard any timed_ID3 data you encounter. You should know that on at least one occasion,
I encountered a site where there were multiple Streams of timed_ID3 data in Programs as
reported by ffprobe. So you can't just discard the first Stream of timed_ID3 data you
find. You have to keep looking to make sure there isn't another Stream of timed_ID3 data
hiding behind the first one. I encountered that case & discussed it in a thread here.
Fortunately, I bookmarked it for easy reference:
https://groups.google.com/g/video-downloadhelper-q-and-a/c/Ohhb8TeCIuY