What's the best way to add a transcoding middleware that convert HEVC to h264? #7390
Unanswered
rodrigofariow
asked this question in
Q&A
Replies: 1 comment 1 reply
-
HLS.js is a streaming library meant to be used as a playback engine. It is not a vehicle for transcoding. Encoding should happen before packaging into HLS and delivering to clients running HLS.js. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there 👋
I'm relatively new to the world of codecs and HLS and I would like to ask for help on the following use case:
Given the current browser and hardware support I can't rely on having this hls stream be displayed in h265 at all times.
So, to workaround this, when Media source identifies that h265 can not be played, I was thinking of using
ffmpeg.wasm
to transcode data, as it comes, to h264, for broader support.Question:
What's the best and most efficient place to integrate this logic using hls.js?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions