ffmpeg -i juq988_5Mbps.mp4 \
-metadata title="My Project – Episode 1" \
-metadata comment="Updated 2026-04-15" \
-metadata encoder="FFmpeg 6.0" \
-c copy juq988_tagged.mp4
If obfuscation is needed, maintain a lookup table or database mapping hashed names to original paths.
| Pitfall | Symptom | Fix |
|---------|---------|-----|
| Accidental re‑encode at low quality | Visible artifacts after “update” | Use -c copy whenever you only need to change container/metadata. If you must re‑encode, specify a high enough bitrate or use a lossless codec. |
| Metadata loss | Tags disappear after transcoding | Include -map_metadata 0 (or -metadata options) in the ffmpeg command. |
| Audio desync | Audio drifts from video | Keep original audio (-c:a copy) or set -async 1 when re‑encoding. |
| Checksum mismatch | File corrupted during copy | Verify using sha256sum before and after each step; use rsync with --checksum for reliable transfers. |
| Incompatible codec for target platform | Playback fails on device | Test with the exact device or player, or consult the platform’s codec matrix. | fhdarchivejuq988mp4 upd
ffmpeg -i juq988_working.mp4 -c copy juq988_mkv.mkv