Simple FFMPEG command recently fails most of the time. (yes i know this is not good for repeatability) #10
-
Beta Was this translation helpful? Give feedback.
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 💜 |
Beta Was this translation helpful? Give feedback.


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 💜