Get clips off the phone safely
Copy phone clips into one folder untouched, check each one and get a clear naming plan.
See it work
Youlook.shClaude
- 2A line for every clip
You give it
Below is the output of a script that lists every clip from one shoot, with codec, frame rates, length and recording time in UTC. The shoot was for No. 4 face oil. Cameras: A is Farah's iPhone 15 (the IMG files), B is Ravi's Pixel 8 (the PXL file). Our time zone: IST, UTC+5.30.
1. Propose a new name for each clip in this pattern: YYYY-MM-DD_HHMM_CAMERA_person-subject, with the time in our time zone. If you cannot tell the person or subject from what I gave you, write ASK in that part. Do not guess.
2. Flag every clip whose set frame rate and average frame rate differ.
3. Write a bash script that fills 02_edit-copies under the new names. A clip whose two rates match is copied with cp -n. A clip whose rates differ gets an ffmpeg command, with -n, that writes a constant-rate copy at its set rate instead. Never move, rename or delete anything in 01_original.
4. Stop after the table and the script, so I can check them.
The listing:
IMG_4127.MOV | hevc,1920,1080,30/1,30/1 | 48.210000s | 2026-10-12T10:41:07.000000Z
IMG_4128.MOV | hevc,1920,1080,30/1,30/1 | 12.050000s | 2026-10-12T10:44:52.000000Z
IMG_4131.MOV | hevc,1920,1080,30/1,2987/100 | 9.400000s | 2026-10-12T10:52:30.000000Z
PXL_20261012_105803.mp4 | h264,1920,1080,30/1,30/1 | 61.700000s | 2026-10-12T10:58:03.000000Z
You get back
All four clips were recorded on 12 October 2026. I added 5 hours 30 minutes to each UTC time to get IST.
1. Proposed names
| Original | Camera | UTC | IST | New name |
|---|---|---|---|---|
| IMG_4127.MOV | A, Farah's iPhone 15 | 10:41 | 16:11 | 2026-10-12_1611_A_ASK |
| IMG_4128.MOV | A | 10:44 | 16:14 | 2026-10-12_1614_A_ASK |
| IMG_4131.MOV | A | 10:52 | 16:22 | 2026-10-12_1622_A_ASK |
| PXL_20261012_105803.mp4 | B, Ravi's Pixel 8 | 10:58 | 16:28 | 2026-10-12_1628_B_ASK |
The person and subject are ASK on all four. Nothing in the listing says who is on camera or what each clip shows. The lengths may jog your memory: IMG_4127 runs 48 s, IMG_4128 12 s, IMG_4131 9.4 s and the Pixel clip 61.7 s.
2. Frame rates that differ
- IMG_4131.MOV: set to 30/1, but the average is 2987/100 (29.87 fps). This is variable frame rate, so it gets a constant-rate copy.
- The other three match at 30/1.
3. The script
Fill in each ASK before you run it, so the copies land under their final names.
First part of a run in Claude (Opus 5.5), Nov 2026
off-the-phone-and-into-one-folder.md
Everything on this page, as a Markdown file.
Copy these
Look at every clip before you import itTerminal
# look.sh: one line per clip in 01_original. Run from the shoot folder: bash look.sh
# Prints the codec, size, the set frame rate and the real average, the length, and when it was recorded (UTC)
for f in 01_original/*; do
v=$(ffprobe -v error -select_streams v:0 -show_entries stream=codec_name,width,height,r_frame_rate,avg_frame_rate -of csv=p=0 "$f")
d=$(ffprobe -v error -show_entries format=duration -of csv=p=0 "$f")
t=$(ffprobe -v error -show_entries format_tags=creation_time -of csv=p=0 "$f")
echo "$(basename "$f") | $v | ${d}s | $t"
doneSave it as look.sh in the shoot folder and run bash look.sh once the clips are in 01_original.
A constant-rate edit copy, then a proxyTerminal
# Constant 30 fps copy at full size, for clips whose two rates differ. The original is only read. ffmpeg -n -i 01_original/IMG_4127.MOV -vf fps=30 -c:v libx264 -preset medium -crf 18 -pix_fmt yuv420p -c:a aac -b:a 192k -ar 48000 02_edit-copies/2026-10-12_1611_A_meera-interview.mp4 # A 540p proxy of the edit copy, for a slow laptop and for claude.ai's 30 MB file cap ffmpeg -n -i 02_edit-copies/2026-10-12_1611_A_meera-interview.mp4 -vf "scale=-2:540" -c:v libx264 -preset veryfast -crf 28 -g 15 -pix_fmt yuv420p -c:a aac -b:a 96k -ac 1 03_proxies/2026-10-12_1611_A_meera-interview_proxy.mp4
Use the first command for a clip whose two frame rates differ and the second for a small proxy, with your own file names.
Ask Claude for a naming planText
Below is the output of a script that lists every clip from one shoot, with codec, frame rates, length and recording time in UTC. The shoot was for [BRAND OR PROJECT]. Cameras: [WHO FILMED ON WHICH PHONE]. Our time zone: [TIME ZONE, E.G. IST, UTC+5.30]. 1. Propose a new name for each clip in this pattern: YYYY-MM-DD_HHMM_CAMERA_person-subject, with the time in our time zone. If you cannot tell the person or subject from what I gave you, write ASK in that part. Do not guess. 2. Flag every clip whose set frame rate and average frame rate differ. 3. Write a bash script that fills 02_edit-copies under the new names. A clip whose two rates match is copied with cp -n. A clip whose rates differ gets an ffmpeg command, with -n, that writes a constant-rate copy at its set rate instead. Never move, rename or delete anything in 01_original. 4. Stop after the table and the script, so I can check them. The listing: [PASTE THE OUTPUT OF LOOK.SH]
Paste the output of look.sh at the end, then read every proposed name before you run the script it writes.
How to use
- On an iPhone, choose Settings, Apps, Photos, Keep Originals before you import, then copy every clip into a folder called 01_original.
- Save the look.sh script above in the shoot folder and run bash look.sh.
- Press Copy on the naming prompt above, replace the words in [CAPITALS], paste the look.sh output at the end and send it.
- Fill in every ASK yourself and check each name before you run the script Claude writes.
- If your laptop is slow or a file is over the Claude app's 30 MB cap, make a proxy with the second command above.
Tips
- Two different frame rates on one line of look.sh mean a variable frame rate, so make a constant-rate copy before editing.
- Ask for clips as a document, over a cable or through a shared drive, since WhatsApp and Google Photos Storage saver may not keep the file untouched.
- Put any separate mic files in the same folder, named to match the camera clip they belong to.