bilde2910 / stitch-gear360

Stitching tool for 360° videos captured by the Samsung Gear 360 (SM-C200)
MIT License
12 stars 4 forks source link

SOLVED: Support for Gear 360 (2017) #2

Open tkalfaoglu opened 1 year ago

tkalfaoglu commented 1 year ago

Hello. Is it possible to add support for the 2017 version of the camera? I'm sick of using the windows software just to stitch the videos :( Perhaps I could help out?

tkalfaoglu commented 4 months ago

SOLVED: Since the difference in resolution between the two cameras is very small, I made the following changes to the script:

Add the mkdir after this comment:

# Validate input files and put them in an array.
mkdir resized

comment out the whole code that checks the resolution. then right after that, add this:

    echo_ok
    INPUTS+=("resized/$1")
    ffmpeg -i $1 -vf scale=3840:1920 resized/$1

summary: I create a resized directory and resize each input file there, and the inputs() array contains the 'resized/yourfilename' list now.. so the rest of the code just uses this new version.. you may want to also add:

rm -rf resized

at the end of your script to clean up.

tkalfaoglu commented 4 months ago

here is what I'm using:

stitch-gear360-2017.zip