Error: Can't yet handle sidx box when writing

Started by sulphate, June 30, 2025, 05:37:01 AM

Previous topic - Next topic

sulphate

I'm trying to embed metadata such as "creator" to an mp4 file, but I face two errors when running this command:

exiftool -preserve -overwrite_original -creator=user ./video.mp4 -v
The output:
Warning: Improperly formed structure for XMP-iptcExt:Creator
======== ./video.mp4
Rewriting ./video.mp4...
  FileType = MP4
  FileTypeExtension = MP4
  MIMEType = video/mp4
  Editing tags in: MOV PDF PostScript XMP
  Rewriting Movie
  Rewriting MovieHeader
  Rewriting Meta
  Error = [minor] Terminator found in Meta with 128 bytes remaining
  Deleting Meta
  Rewriting Track
  Rewriting TrackHeader
  Rewriting Media
  Rewriting MediaHeader
  Rewriting MediaInfo
  Rewriting DataInfo
  Rewriting DataRef
  Rewriting SampleTable
  Error = Can't yet handle sidx box when writing
Error: [minor] Terminator found in Meta with 128 bytes remaining - ./video.mp4
    0 image files updated
    1 files weren't updated due to errors

System: Linux
Exiftool version: 13.30

The video in question.

Phil Harvey

Fragmented movies like this are not very common, and it would be a pain to implement writing of these, but thanks for the sample and I'll look into this when I get some time.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

sulphate

Thank you.

Quote from: Phil Harvey on June 30, 2025, 03:32:01 PMFragmented movies like this are not very common
For context, I was using gallery-dl to download stories from Instagram, which relies on yt-dlp for the download portion. I think sites often serve the audio and video streams separately (at least the best versions of them), so yt-dlp downloads them individually and then merges them with ffmpeg, which might explain why it's so fragmented and how often I encounter this issue.