How to convert uploaded video and get a screenshot from this file?

前端 未结 3 1276
无人共我
无人共我 2021-02-04 19:51

I\'m building a cms and I want users to be able to upload videos but I\'m not familiar with video upload & conversion. Is there an example or has anybody coded a solution li

3条回答
  •  既然无缘
    2021-02-04 20:28

    I've used ffmpeg, but I found it easier to just use the pre-compiled .exe version. So in the backend, I would just launch ffmpeg.exe with the required command-line arguments to do the conversion, let it run and when it was finished the completed file was all ready to go.

提交回复
热议问题