Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yringler/split-mpeg

ffmpeg based script to split an mpeg file into multiple parts based on config file
https://github.com/yringler/split-mpeg

Last synced: about 1 month ago
JSON representation

ffmpeg based script to split an mpeg file into multiple parts based on config file

Awesome Lists containing this project

README

        

split-mpeg
==========

ffmpeg based script to split an mpeg file into multiple parts
based on config file
* the original file is unchanged *

usage: split-mpeg configfile
config file:
cut: m t s m t f
where m=minute s=second and t=tenth of start and end
c (for continue) can be used unstead of the first mst set
and will use last end as new start
end can be used for 2nd mst set, and will go to end of video
file is the name of the section-file (must be mp4)
eg: 0 2 5 20 31 78 out.mp4
where the 7 and 4 are the start_tenths and end_tenths
any amount of whitespace can be used
Any number of cuts can be used
Cuts do not have to be in order
load video: eg: load in_file.mp4
makes in_file.mp4 the new file to cut