Is it possible to cut part of video and upload it on server only with html5 & js
问题 I use Filereader to read local video file (mp4), so I can display it in video tag. I need to cut part of mp4 file (i.e. from 5 to 10 seconds) and upload it on server. My current solution: I upload whole video file on server with "from" and "to" parameters, cut it with ffmpeg on server, upload to s3 and return the url video. Maybe is it possible only with JS/HTML? I found Blob.slice method but i didn't know how to use it to cut video parts. Thanks! 回答1: An mp4 video file is made up of 'atoms'