Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between ffmpeg, ffmpeg wasm, and ffmpeg in native app?

We are implementing a web browser that processes videos using ffmpeg. I heard that there is a way to implement it on the server side, use native app, or wash it because the browser cannot perform ffmpeg for node. Can I know the difference between these three?

like image 270
supernova817 Avatar asked Oct 29 '25 07:10

supernova817


1 Answers

  • wasm: video is processed in the user's browser (the video does not need to be uploaded to the server in order to process it)

  • native: video is uploaded to server, then processed by the native ffmpeg cli binary in a subprocess created by the server application (then uploaded back to the client if desired)

  • server: this is a very generic description, so I can't explain without more details, but it would be some kind of abstraction on top of the native option (like ORM for working with a database)

like image 141
jsejcksn Avatar answered Oct 31 '25 00:10

jsejcksn