Wonderland
Search…
FFmpeg
Maybe I can handle every media with ffmpeg...

Usage

Cut Video

1
ffmpeg -ss 00:00:07.2 -to 00:00:12 -i input.mov output.mp4
Copied!
Some people will have problems with the black frames at the beginning/end of the procedure video, the parameter -c copy may be the trouble-maker. the following reason may help you fix the problem.
When specifying -c copy, ffmpeg will cut the video without modifying the actual bitstream. In other words, it will take the frames as-is and copy them to the output file. In some cases (simply put, when the starting time does not correspond to an I-frame), ffmpeg needs to include some more frames that are needed to properly decode the first frame to be displayed. Those will get a negative timestamp, so they shouldn't be shown.

Video to GIF

1
ffmpeg -i output.mp4 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif
Copied!
I simply use the answer from google, and this works well, no in-depth research.