Skip to content
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

Forcing a codec when using multiple codec playlist #6688

Open
drajvver opened this issue Sep 10, 2024 · 3 comments
Open

Forcing a codec when using multiple codec playlist #6688

drajvver opened this issue Sep 10, 2024 · 3 comments
Labels

Comments

@drajvver
Copy link

What do you want to do with Hls.js?

Hello!

I have a playlist that contains two codecs - VP9 and x264: https://vz-22d62536-ed8.flufflecdn.net/1ca2960b-77b9-40af-9d34-24178057bbd3/playlist.m3u8

I would like for VP9 to take precedence over x264 when it is supported by the browser. I managed to make it work when selecting the resolution manually by taking the proper level when resolution is selected in the player.

The problem that I'm having is when Auto quality is enabled, the player selects the lower bitrate video (which won't always be x264 in my case). Is there a way to change this behaviour?

Thank you!

What have you tried so far?

No response

@drajvver drajvver added Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. Question labels Sep 10, 2024
@robwalch
Copy link
Collaborator

From the logs:

> start candidates with "vp09,mp4a" ignored because min framerate of 30.303 > maximum of 30

There is no option to increase the maximum frame rate limit. It is chosen for greatest compatibility.

@robwalch robwalch removed the Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. label Sep 10, 2024
@drajvver
Copy link
Author

Hmm, that's generated by shaka packager, which maybe recognizes FPS wrongly. Assuming I have fixed the FPS values (so both codecs have 30fps) - how could I proceed?

@robwalch
Copy link
Collaborator

After fixing the frame rates, try again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants