![]() Medipack trim input.mp4 -s 01:04 -t 13:04 -o output.mp4 ![]() You can achieve trimming your video using these commands: medipack trim input.mp4 -s 01:04 -e 14:08 -o output.mp4 Medipack is a very simple command-line app as a wrapper over ffmpeg. You'll have to replace orginalfile and newfile with actual file names, the later is the name of the file that is created to hold the cut out part.įor reference see and "7. Say that you want to cut out a part starting at 00:00:30 into the original file with a 5 seconds length and that it shouldn't be re-encoded (if you want to re-encode it you'll have to replace copy with audio and video codecs, for a list of available codecs issue ffmpeg -formats -E), then you issue: ffmpeg -ss 00:00:30 -i orginalfile -t 00:00:05 -vcodec copy -acodec copy newfile You'll have to replace orginalfile and newfile with actual file names, the latter is the name of the file that is created to hold the cut-out part. Say that you want to cut out a part starting at 00:00:30 into the original file with a 5 seconds length and that it shouldn't be reencoded (if you want to re-encode it you'll have to replace copy with audio and video codecs, for a list of available audio codecs issue mencoder -oac help, for a list of available video codecs issue mencoder -ovc help), then you issue: mencoder -ss 00:30:00 -endpos 00:00:05 -oac pcm -ovc copy originalfile -o newfile ![]() This can be done using mencoder or ffmpeg. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |