Answer the question
In order to leave comments, you need to log in
How to trim video from first 15 seconds in php?
The crux of the matter is the following! Actually, I am finalizing the functionality for the file upload service to Instagram.
And now I don’t want to bother much with installing and configuring ffmpeg. after reading the manuals, I realized that not everything is simple, and even more so I'm on the local. Then configure again on the combat server.
The task is simple, the user threw the file, I uploaded it to the server. And if it is mp4, then you need to cut off the first 15 seconds from it, unless it is more than 15 seconds. So that there would be no problems when uploading to insta. Tell me how to do it. surely there is a way without raising ffmpeg
Answer the question
In order to leave comments, you need to log in
take the binary johnvansickle.com/ffmpeg
or install via apt
superuser.com/questions/138331/using-ffmpeg-to-cut...ffmpeg -i input_file -c:v libx264 -t 15 output.mp4
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question