3 ms·
My friend has been using ffmpeg for trimming game clips for a while. His workflow is: opening a video in a video player, making note of start and stop times, a
by willis936 7y ago
My friend has been using ffmpeg for trimming game clips for a while. His workflow is: opening a video in a video player, making note of start and stop times, and plugging the times into his ffmpeg script.
Avidemux is a FOSS video editing tool I ran into that implements ffmpeg. Since this workflow requires a human to manually evaluate points in time in a video, a single tool seems like a better choice.
https://en.wikipedia.org/wiki/Avidemux https://en.wikipedia.org/wiki/Avidemux
- narag 7y agoI wrote a graphical tool with Lazarus that invokes ffmpeg. I used it to create clips to report cheaters in an online game, from videos created with OBS. A word of warning: ffmpeg can't always cut where you want. Sometimes cutting in a certain point gives you a few blank (black screen) seconds. I guess it's because codecs work by storing what's different from previous frames. If someone uses Lazarus (or maybe Delphi) it's as simple as: s := Format('"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -i "%s" -ss %s -c copy -t %s "%s"', [InputFile, Start, Duration, OutputFile]); Memo1.Lines.Text := s; WinExec(PChar(s), SW_SHOWDEFAULT); With the parameters taken from TEdit controls. The TMemo was used to visualize what I was sending to ffmpeg.
- cm2187 7y agoThat’s where .net (if you use windows) is super useful. You can create a wpf app with a video player and some shortcuts to fast forward or mark timestamps in a few lines of code. I did that to solve a similar problem (and use ffmpeg to execute the editing too - extract segments and remerge them).