Skip to content

Instantly share code, notes, and snippets.

@InnovArul
Created February 9, 2021 01:43
Show Gist options
  • Save InnovArul/3643da9d1e5634fd3d0891cdb59c4de5 to your computer and use it in GitHub Desktop.
Save InnovArul/3643da9d1e5634fd3d0891cdb59c4de5 to your computer and use it in GitHub Desktop.
to preprocess dvp video lectures
mv Day.. day_ # move Day folder to day_ folder
# move MTS files to root dir
mv ./01/2019/* .
# to concate MTS files into MP4
ffmpeg -i "concat:$(echo *.MTS | tr ' ' '|')" -strict -2 concat_out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment