arsen4k

Commands that I used manually with FFmpeg

Sep 26th, 2025
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. #Get the grid info
  2. ffprobe -loglevel trace "C:\Users\arsen\Downloads\23094872309478\20250926_175705.heic" 2>&1 | Select-String "grid_row"
  3.  
  4. #Process original to save as tiles
  5. ffmpeg -i "C:\Users\arsen\Downloads\23094872309478\20250926_175705.heic" -map 0 "C:\Users\arsen\Downloads\23094872309478\tile_%d.png"
  6.  
  7. #Combining tiles together
  8. 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"
  9.  
  10. #Removing... or at least trying to remove the black edges cuz tiles was extracted wrong I think
  11. ffmpeg -i "C:\Users\arsen\Downloads\23094872309478\20250926_175705_full.png" -vf "crop=4032:3024" "C:\Users\arsen\Downloads\23094872309478\20250926_175705_cropped.png"
  12.  
  13. #Just rotates the image
  14. 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"
Tags: Commands
Advertisement
Add Comment
Please, Sign In to add comment