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

Adaptiv Bitrates #46

Open
c-o-m-m-a-n-d-e-r opened this issue Mar 13, 2023 · 6 comments
Open

Adaptiv Bitrates #46

c-o-m-m-a-n-d-e-r opened this issue Mar 13, 2023 · 6 comments

Comments

@c-o-m-m-a-n-d-e-r
Copy link
Contributor

Hi,
first of all great project ... just did a few quick tests and its working great.
in the next days i will get a system with an nvidia p4000 for testing and so i was thinking about how about a profile with adaptiv bitrates?

after reading the specs the p4000 should do round about 22 x h264 or 26 x h265 streams simultan.

@m1k1o
Copy link
Owner

m1k1o commented Mar 13, 2023

Do you mean vod transcoding or live transcoding? Because for live transcoding there is only missing playlist that aggregates them, since all layers are available already.

For VOD there is currently missing GPU support, but it has adaptive streaming.

@c-o-m-m-a-n-d-e-r
Copy link
Contributor Author

Hi,
thanks for your reply. I'm talking about Live Stream.
I build something similear some time ago written in nodejs but dropped all code after server change.

i think this is a good note about ABR (and also DASH) :
https://blog.zazu.berlin/internet-programmierung/mpeg-dash-and-hls-adaptive-bitrate-streaming-with-ffmpeg.html

@m1k1o
Copy link
Owner

m1k1o commented Mar 14, 2023

Should be easy to integrate, by adding new profile to profiles/. I already have some ABR profiles in my other project: https://github.com/m1k1o/hls-restream/tree/master/profiles

@c-o-m-m-a-n-d-e-r
Copy link
Contributor Author

Hey,
i did some teste and i think i created a good (cuda based) profile, BUT .... in my opinion i think this is not as easy as you think cause switching the playlist files breaks the routing ...

i think we have to handle the different resolutions playlist files as well in the routing ...

@m1k1o
Copy link
Owner

m1k1o commented May 17, 2023

If you have something you can share, or open PR, i would take a look.

@c-o-m-m-a-n-d-e-r
Copy link
Contributor Author

c-o-m-m-a-n-d-e-r commented May 17, 2023

i think its to early for an PR, i will try it here.
i see the files in the tmp folder ... but i think nothing happens cause there is no routing for the different playlists

wait will attach both files ...
Archiv.zip

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

No branches or pull requests

2 participants