Skip to content

Instantly share code, notes, and snippets.

@alfeg
Created November 5, 2018 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alfeg/eb63c4c0beb9d0eb30e6cba12fe62140 to your computer and use it in GitHub Desktop.
Save alfeg/eb63c4c0beb9d0eb30e6cba12fe62140 to your computer and use it in GitHub Desktop.
Split m4v video file at some point of time
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