Simple FFMPEG command recently fails most of the time. (yes i know this is not good for repeatability) #10
Closed
Answered
by
yuyuvvall
jernhenrik0809
asked this question in
FFmpeg.Download - Bugs & Feedback
Answered by
yuyuvvall
Nov 12, 2025
Replies: 1 comment 2 replies
|
Hi 👋 This is a very common and subtle FFmpeg issue when using If you need to trim exactly 0.3 seconds from your video i would recommend decode and re-encode the video. This one will decode from the beginning, ensuring the cut starts exactly at 3.0s and no corrupted frames are created — though it’s slower and re-encodes the video. You can also check out Rendi’s FFmpeg Cheat Sheet and specifically trim by time section. — Yuval, Rendi Team 💜 |
2 replies
Answer selected by
peternaf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Hi 👋
This is a very common and subtle FFmpeg issue when using
-sswith-ccopy.That usually works — but only if the seek point falls exactly on a keyframe. If it doesn’t, FFmpeg can’t start decoding from a partial frame
If you need to trim exactly 0.3 seconds from your video i would recommend decode and re-encode the video.
ffmpeg -i \{\{in_1\}\} -ss 3 -c:v libx264 -c:a aac \{\{out_1\}\}This one will decode from the beginning, ensuring the cut starts exactly at 3.0s and no corrupted frames are created — though it’s slower and re-encodes the video.
You can also check out Rendi’s FFmpeg Cheat Sheet and specifically trim by time section.
— Yuval, Rendi Team 💜