In my program I use fluent-ffmpeg to convert a video into streamable HLS format (m3u8). but this is very cpu heavy and I'm wondering if it could be run at client-side in the browser. In this manner I'll be offloading some work from the server. If so, how to install it to be available in html <script>
tag? I also tried asking in their github directly but no response so far...
Asked
Active
Viewed 3,034 times
2

Fnr
- 2,096
- 7
- 41
- 76
1 Answers
7
I know what you are looking for, take a look at the ffmpeg.wasm project, with it you will be able to use ffmpeg
"on the client side", passing the following code:
<script src="https://unpkg.com/@ffmpeg/ffmpeg@0.10.0/dist/ffmpeg.min.js"></script>

Josias da Paixao junior
- 444
- 3
- 10
-
1Do you think it would be possible to create a video from Canvas elements as frames completely client side (I have a serverless Vue SPA)? – Curious Apr 01 '22 at 02:51