ultramango / gear360pano

Simple script to create equirectangular panorama by stitching images from Samsung Gear 360
MIT License
226 stars 55 forks source link

Time Lapse does not seem to keep the 10fps it was recorded at #63

Open yoshiwars opened 2 years ago

yoshiwars commented 2 years ago

Hello,

Thank you for these scripts as the action director that you can get from Samsung just makes my videos and images just black or grey solid. When using this on my time-lapse video, it seems to make it at 25 FPS instead of the 10 FPS it was recorded at. Any help would be appreciated! Thank you!

Here is the output from the script starting at the video section: `"Reencoding video..." ffmpeg version 5.0-essentials_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11.2.0 (Rev5, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband libavutil 57. 17.100 / 57. 17.100 libavcodec 59. 18.100 / 59. 18.100 libavformat 59. 16.100 / 59. 16.100 libavdevice 59. 4.100 / 59. 4.100 libavfilter 8. 24.100 / 8. 24.100 libswscale 6. 4.100 / 6. 4.100 libswresample 4. 3.100 / 4. 3.100 libpostproc 56. 3.100 / 56. 3.100 Input #0, image2, from 'C:\Users\GameBox\AppData\Local\Temp\frames_stitched\image%05d_pano.jpg': Duration: 00:00:27.32, start: 0.000000, bitrate: N/A Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 3840x1920 [SAR 1:1 DAR 2:1], 25 fps, 25 tbr, 25 tbn Stream mapping: Stream #0:0 -> #0:0 (mjpeg (native) -> hevc (libx265)) Press [q] to stop, [?] for help x265 [info]: HEVC encoder version 3.5+21-3898a4996 x265 [info]: build info [Windows][GCC 11.2.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main profile, Level-5 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(30 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3 x265 [info]: Keyframe min / max / scenecut / bias : 10 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / off / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-18.0 / 0.60 x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp x265 [info]: tools: b-intra strong-intra-smoothing lslices=8 deblock sao Output #0, mp4, to 'D:\UserRoot\yoshiwars\Documents\gear360pano-master\html\data\360_0630_pano.mp4': Metadata: encoder : Lavf59.16.100 Stream #0:0: Video: hevc (hev1 / 0x31766568), yuvj420p(pc, bt470bg/unknown/unknown, progressive), 3840x1920 [SAR 1:1 DAR 2:1], q=2-31, 10 fps, 10240 tbn Metadata: encoder : Lavc59.18.100 libx265 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 275 fps=1.7 q=14.8 Lsize= 36081kB time=00:00:27.20 bitrate=10866.6kbits/s dup=0 drop=408 speed=0.17x x video:36074kB audio:0kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 0.018831% x265 [info]: frame I: 3, Avg QP:14.79 kb/s: 37074.05 x265 [info]: frame P: 58, Avg QP:14.85 kb/s: 23566.89 x265 [info]: frame B: 214, Avg QP:19.15 kb/s: 6901.77 x265 [info]: Weighted P-Frames: Y:12.1% UV:3.4% x265 [info]: consecutive B-frames: 3.3% 3.3% 6.6% 13.1% 73.8%

encoded 275 frames in 160.40s (1.71 fps), 10745.75 kb/s, Avg QP:18.20 Video written to D:\UserRoot\yoshiwars\Documents\gear360pano-master\html\data\360_0630_pano.mp4`