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

Max video length input not being adhered to #36

Closed himynamesdave closed 9 months ago

himynamesdave commented 9 months ago

27 this mode does not seem to work as expected.

Trying this test

Video mode (single mp4) -> Image mode -> Video output

Extract frames from video input at 0.5 FPS and rebuild video with 20 second max (100 frames)

python3 gopro2gsv.py \
    --input_video tests/ski/GS016843.mp4 \
    --path_to_nadir stock_nadirs/without_gopro/trek_view_full_nadir.png \
    --extract_fps 2 \
    --max_output_video_secs 20 \
    --output_filepath tests/output/test3/GS016843.mp4

187 * 2 = 374 frames = 375 / 5 = 75 seconds final output. Thus expect 4 videos output.

However, only one video is produced with length of 00:01:15.

fqrious commented 9 months ago

done