admin管理员组文章数量:1332984
Is there any library available for File or Video pressor in react JS or javascript? If unavailable, suggest an alternative way to resize file size or video size before upload.
Is there any library available for File or Video pressor in react JS or javascript? If unavailable, suggest an alternative way to resize file size or video size before upload.
Share asked May 25, 2022 at 3:57 Paras DalsaniyaParas Dalsaniya 531 silver badge8 bronze badges 02 Answers
Reset to default 3I think You should try this one: https://github./ffmpegwasm/ffmpeg.wasm
I am not sure if there is any java-script library to press videos client side (however there is one for image pression: https://medium./front-end-weekly/image-pression-in-reactjs-a07ec0066b24)
You can try ffmpeg to press videos server side (for example by using NodeJS to run the shell mands to press the uploaded video). However this would require full access to the hosting server because you need to install ffmpeg in it.
You can also use something like this https://mediamachine.io/
Google "video transcoding pipelines" for more information regarding the above
本文标签: javascriptReact JS FileVideo compressorStack Overflow
版权声明:本文标题:javascript - React JS FileVideo compressor - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742262709a2442813.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论