trek-view / gopro2gsv

Processes .jpg images and .mp4/.360 videos shot on GoPro MAX or Fusion cameras and uploads to Google Street View.
Apache License 2.0
4 stars 0 forks source link

Add dual fisheye .mp4 mode (Fusion) #30

Open himynamesdave opened 1 year ago

himynamesdave commented 1 year ago

Another video mode, this time will accept dual mp4 videos shot in fisheye.

GoPro Fusion cameras also produce a dual .mp4 video format (two fisheye videos that can be stitched together to create a single equirectangular 360).

For GoPro Fusion Unprocessed Video mode (dual mp4s):

GoPro2GSV validates the 2x .mp4 inputs before processing as follows;

For processing, the same flags as .mp4 video mode can be used, and the processing is somewhat similar to mp4.

ffmpeg first extracts frames from each video. However, corresponding frames from each video need to be joined converted to equirectangular projection.

This will be the same as #31 from this point

In this mode, a user should be able to set --keep_extracted_frames which will also store a copy of the extracted images used to create final video (with geotags). If not set, frames extracted will be removed on completion.

===== below docs

dual fisheye mp4 video -> timelapse frames -> final video (for Fusion cameras)

fqrious commented 1 year ago

So, in this mode --fusion will have to be passed along with --input_video twice

Cool?