Skip to content

Instantly share code, notes, and snippets.

@alejandrofloresm
Created September 6, 2020 14:53
Show Gist options
  • Save alejandrofloresm/ed1748bbcc6563cd0d9df54cafc03443 to your computer and use it in GitHub Desktop.
Save alejandrofloresm/ed1748bbcc6563cd0d9df54cafc03443 to your computer and use it in GitHub Desktop.
FFMPEG Notes

FFMPEG notes

Cortar un video

El comando corta el video {input} desde {from} con la duración {length} y lo almacena en {output}. Este método no garantiza que se vaya a cortar el video en el momento exacto. Sin embargo es muy rápido.

# comando 
ffmpeg -ss {from} -i {input} -to {length} -c copy {output}

# ejemplo
ffmpeg -ss 00:00:00 -i ./zoom_0.mp4 -to 02:15:22 -c copy ./zoom_0_output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment