-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
For HLS Adaptive Bitrate, add this to HLS docs #1845
Comments
this kind of transcoding uses ffmpeg which uses a lot of cpu. Mine consumes 200% cpu from livestream. |
As far as I know, to resize and transcode, you need to use ffmpeg with srs. I might be missing something, but I've searched for a solution for a while, and this is the only thing that actually works.
'
Make sure to maintain the markdown structure.
Let me know if you find an alternative.
On Jul 9, 2020, 10:02 PM -0500, John Laniba ***@***.***>, wrote:
this kind of transcoding uses ffmpeg which uses a lot of cpu. Mine consumes 200% cpu from livestream.
is there a way to make it use less cpu like less than 10% just like what srs did when converting to hls?
—'
Make sure to maintain the markdown structure.
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
`TRANS_BY_GPT3`
|
srs is not transcoding to hls, it just copy the stream to a new container. The same would happen, when you use stream copy in ffmpeg, but as soon as you want to change the resolution you have to re-encode the stream and of course this uses more cpu power. There is no cheaper way. |
I had used your solution from provided gist and works fine. However when i try to transcode whole app streams it does not work as expected.
This does not work and The main problem is that And another example
this will create |
Good job! |
For people how needs this feature: you can realize this now already with srs:
BANDWIDTH
If you need more resolutions just add in transcode more outputs under
vparams
, maybe like this:and add more vhosts.
Here is a working gist
Originally posted by @jb-alvarado in #463 (comment)
The text was updated successfully, but these errors were encountered: