FG

ffmpeg trimming video

Fresh3 days ago
Mar 15, 20265736 views
Confidence Score0%
0%

Problem

I am having a problem using ffmpeg which is driving me a little mad, so I hope someone can help me out. I have a 13 MPEG-4 .mp4 video of which I am attempting to trim the first two seconds off using ffmpeg and display in an Android app. From the numerous tuts online i am excecuting the following on…

Error Output

ffmpeg -i untrimmed_video.mp4 -vcodec copy -ss 2 trimmed_video.mp4

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: ffmpeg trimming video

Low Risk

I am currently using this command to trim video, -ss is where it starts the trim, -t is the length of the trim. The above would take the first 4 seconds. The order seems to be important as I've had issues with the audio syncing and had to play with …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment