I took a while to find how to trim a video using ffmpeg.
ffmpeg -i video.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:00:04 trimmed_video.avi
Will trim the video to 4 seconds starting from the beginning. The -vcodec , -acodec options are required so that ffmpeg knows in what video/audio format you want for the new video.
If you need more help on the topic feel free to add a comment or create a new post on the Forum
Linux PHP IDE
Recent comments
3 weeks 15 hours ago
4 weeks 18 hours ago
5 weeks 23 hours ago
5 weeks 2 days ago
5 weeks 2 days ago
5 weeks 2 days ago
5 weeks 2 days ago
5 weeks 5 days ago
5 weeks 5 days ago
6 weeks 6 days ago