Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Get the grid info
- ffprobe -loglevel trace "C:\Users\arsen\Downloads\23094872309478\20250926_175705.heic" 2>&1 | Select-String "grid_row"
- #Process original to save as tiles
- ffmpeg -i "C:\Users\arsen\Downloads\23094872309478\20250926_175705.heic" -map 0 "C:\Users\arsen\Downloads\23094872309478\tile_%d.png"
- #Combining tiles together
- ffmpeg -i "C:\Users\arsen\Downloads\23094872309478\tile_%d.png" -vf "tile=8x6" -frames:v 1 -update 1 "C:\Users\arsen\Downloads\23094872309478\20250926_175705_full.png"
- #Removing... or at least trying to remove the black edges cuz tiles was extracted wrong I think
- ffmpeg -i "C:\Users\arsen\Downloads\23094872309478\20250926_175705_full.png" -vf "crop=4032:3024" "C:\Users\arsen\Downloads\23094872309478\20250926_175705_cropped.png"
- #Just rotates the image
- ffmpeg -i "C:\Users\arsen\Downloads\23094872309478\20250926_175705_full.png" -vf "transpose=1,crop=3024:4032:0:0" "C:\Users\arsen\Downloads\23094872309478\20250926_175705_final.jpg"
Advertisement
Add Comment
Please, Sign In to add comment