Skip to content

Instantly share code, notes, and snippets.

@tncbbthositg
Last active August 5, 2019 06:40
Show Gist options
  • Save tncbbthositg/1bab06dbf823dfcb8f31f899512fd61c to your computer and use it in GitHub Desktop.
Save tncbbthositg/1bab06dbf823dfcb8f31f899512fd61c to your computer and use it in GitHub Desktop.
Stitching 360 videos from mi sphere
# ffmpeg -i steep_turn_corrected.MOV -acodec copy -vcodec copy steep_turn_corrected.mp4
# exiftool -ProjectionType="equirectangular" photo.jpg
ffmpeg -i hatcher_birthday1.MOV -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate0.ts
ffmpeg -i hatcher_birthday2.MOV -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i "concat:intermediate0.ts|intermediate1.ts" -c copy -bsf:a aac_adtstoasc hatcher_birthday.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment