> > In that case, what are some video editor software does with the videos? > They can cut some frames from the original video and create a new MP4 file. > Are these software just decode and uncompress everything, then remove some > frames, then re-encode and re-compress the remaining video? >
That clearly is a XY problem - https://en.wikipedia.org/wiki/XY_problem :-) Of course ffmpeg can trim without reencoding. Basically using "-c copy" does the trick but you might want to read more documentation to specify e.g. which tracks will end-up in the output file. And you can use -t (or -to) to drop the end of the file. Vincent _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".