-
Notifications
You must be signed in to change notification settings - Fork 440
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
unmuxed cmaf hls trun version #1547
Comments
I found the version parsing from the filename https://github.com/kaltura/nginx-vod-module/blob/master/ngx_http_vod_request_parse.c#L522 which is set here for dash: nginx-vod-module/vod/dash/dash_packager.c Line 373 in 26f0687
|
@erankor alternatively, perhaps I could get away with using a sub_filter to turn .m4s into -x3.m4s? |
testing the subfilter approach using a config similar to this:
which seems to be working. I'd be interested to know if there's a better approach. |
Hi @kidoubled, out of curiosity, why do you care if it's version 0 or 1? |
In our live packager (a more recent project, using some of the code initially written here), I'm always using version 1 for video - |
@erankor some newer players don't work well with version 0 / without the signed pts delay... always using version 1 for video makes a great deal of sense these days, and I can see that would occur with almost all modes of operation within the packager, except unmuxed hls, because that ends up using the dash packager code, but without adding the -x3 modifier to the uris. I'll plan to use the subfilter, but would be open to working on a PR if you had thoughts about the best way to address. Is the "right way" to fix this removing the legacy backwards compatibility at this point? Also, I had noticed #985 (comment) and used it as inspiration for my approach above. Thanks for the project and all the community support over the years. |
using unmuxed cmaf in hls, getting a trun version of 0. I believe I've deduced this is leveraging the dash packager, and if I can set the media_set->version >=2, i'd get trun version 1.
nginx-vod-module/vod/dash/dash_packager.c
Line 1889 in 26f0687
I think this could be sourced from the submodule_context->request params, when in mapped mode, but after that, I lose the path. https://github.com/kaltura/nginx-vod-module/blob/master/ngx_http_vod_module.c#L5286
hoping I'm on the right track, and that someone can help me with the rest. Thanks in advance
The text was updated successfully, but these errors were encountered: