Skip to main content
11 events
when toggle format what by license comment
Nov 29, 2023 at 21:51 comment added Puddle @Necronomicron I was having same issue with trimmed video lagging at beginning and that code fixed it but i actually realized why. (don't need -copyts) All i needed to do was put the -ss comand first. I was always putting the -i command first since it makes more sense to me and didn't think it'd make a difference but for some weird reason it does. lol
Aug 13, 2023 at 2:05 review Suggested edits
Aug 13, 2023 at 17:45
Apr 2, 2020 at 23:33 comment added jarno @Necronomicron but timestamps may not be appropriate with that variant.
May 15, 2018 at 15:35 comment added James Bowery The -to option answers the question that was actually asked. The rest of the answers are either impertinent or obsolete.
May 11, 2018 at 9:50 comment added Tomasz Gandor This is great, the last thing I wanted was calculating the duration from endpoints.
Jan 12, 2018 at 15:51 comment added Necronomicron I had to use ffmpeg -ss 00:01:00 -i video.mp4 -to 00:02:00 -c copy -copyts cut.mp4 version (with -copyts), otherwise it cut incorrectly (with black screen in the beginning). Thanks for the 2nd link though.
Nov 20, 2016 at 16:37 comment added nwgat ffmpeg -i inputFile -c copy -ss 00:09:23 -to 00:25:33 outputFile simpler version
S Aug 21, 2016 at 4:14 history suggested rsalmond CC BY-SA 3.0
Add link to the ffmpeg seeking guide section on cutting segments out.
Aug 21, 2016 at 1:04 review Suggested edits
S Aug 21, 2016 at 4:14
May 7, 2015 at 2:32 review First posts
May 7, 2015 at 4:07
May 7, 2015 at 2:30 history answered sflee CC BY-SA 3.0