Real-Time Speech to Text Subtitles Arrive in OvenMediaEngine #1932
Replies: 2 comments 1 reply
-
|
very cool was actually looking into how to use whisper myself, but you beat me to it 👍 I'm not really looking for subtitles in playback- althrough thats ok to have - Im more looking for a having a |
Beta Was this translation helpful? Give feedback.
-
SetupI setup GPU server (Nvidia L4), and build OME (not using docker). ran the prerequisite script to install whisper. installed nvidia driver, downloaded the model(s). configured Server.xml to use hardware, setup my transcoding hook added the code changes need to build outputprofile with hardware encoding and subtitles Outcome
Note about GPU encodingeven on the latest Nvidia L4 GPU's the encoding quality is just not good enough, I still need to use software encoding usable quality. I cannot use GPU as Origin. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Real-Time Speech to Text Subtitles Arrive
We’re excited to announce that real-time speech-to-text (STT) subtitles are now available in OvenMediaEngine.
Powered by whisper.cpp(https://github.com/ggml-org/whisper.cpp), this feature automatically generates subtitles in real time from live audio streams.
Currently, subtitles are supported only in Low-Latency HLS (LLHLS). You can test it now using the latest Master branch. For best performance, NVIDIA GPU acceleration is recommended.
For setup instructions and detailed configuration, please refer to the documentation:
https://docs.ovenmediaengine.com/dev/subtitles/realtime-speech-to-text
Player Compatibility
LLHLS subtitle support has been recently added to OvenMediaEngine. #1916
OvenPlayer uses hls.js for LLHLS playback, but there is a known issue in hls.js that prevents subtitles from rendering correctly.
video-dev/hls.js#7522
Until that issue is resolved, we recommend testing LLHLS subtitles using ShakaPlayer, which works properly.
https://shaka-player-demo.appspot.com/
Any feedback or testing results would be greatly appreciated.
This is still an early version, so if you have experience using hardware acceleration, please share it with the community — it will be helpful for everyone.
Beta Was this translation helpful? Give feedback.
All reactions