-
Notifications
You must be signed in to change notification settings - Fork 1
Fixes for crypto, byte ranges, and wrapping jsfetch urls #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Diff of diffs, great :) I'm happy you manage to get deep enough to get all of those internals exposed! That's super cool.
|
* Properly prepend http/https URLs with `jsfetch:`. This is to address situations where the m3u8 was pre-pended with `jsfetch:` but the M3U8 contains absolute URLs. Since those start with i.e `http://`, ffmpeg can't fetch them. * Add support for byte ranges in jsfetch * Add `ffmpeg_get_out_time_ms` and `ffmpeg_get_out_time_ms` for progress tracking * Add `ffmpeg_interrupt` to abort a running download * Add the patch from [https://trac.ffmpeg.org/ticket/7359](https://trac.ffmpeg.org/ticket/7359) which address issues with seeking HLS streams. This patch is not in ffmpeg 7.1.1 release
d5ecbb0 to
f0bfe1a
Compare
|
(let me know if this needs a review) |
|
Won't be using this PR. See https://github.com/aclap-dev/vdh/pull/254 Keeping this open as reference. |
| --enable-demuxer=flv | ||
| --enable-demuxer=dash | ||
| --enable-libxml2 | ||
| --enable-muxer=hls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not saying it's wrong, but I'm surprised it's here (enable-muxer=hls).
|
Good with me. Go ahead and merge. |
This does a few things.
jsfetch:to HLS urls in the manifest that need it. When downloading from an m3u8 via i.ejsfetch:https://example.com/test.m3u8, if that m3u8 contained absolute URIs, they would not be properly fetched w/ jsfetch.