Created
November 5, 2018 08:16
-
-
Save alfeg/eb63c4c0beb9d0eb30e6cba12fe62140 to your computer and use it in GitHub Desktop.
Split m4v video file at some point of time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param([string] $i, [string] $time, [string] $output) | |
ffmpeg -i $i -acodec copy -vcodec copy -to $time "$output-1.m4v" | |
ffmpeg -i $i -acodec copy -vcodec copy -ss $time "$output-2.m4v" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment