c2pa-rs icon indicating copy to clipboard operation
c2pa-rs copied to clipboard

Some c2patool-generated HLS/fmp4 video file cannot be probed by ffmpeg - I got "moov atom not found"

Open weihuaqd opened this issue 6 months ago • 2 comments

Both ffmpeg 6.1.2 and 7.1.1 returns the error "[mov,mp4,m4a,3gp,3g2,mj2 @ 000001a8c47d3fc0] moov atom not found". This only happens to a specific video AND a specific manifest definition file. Please contact me for the video file.

Here's what I did:

  1. I have a .mp4 file that has 2 audio tracks. I used ffmpeg 6.1.2 to transcode it to 4 HLS/fmp4. 2 of them are for the audio. The other 2 are to 256P and 720P video only.
  2. I created a manifest definition file (see attached) based on the .mp4 file. The definition file states that the .mp4 file is the parent ingredient.
  3. I used c2patool 0.19.1 to add the manifest to those 4 HLS individually.
  4. I got the "moov atom not found" error when I tried to probe the file individually using ffmpeg.

Note 1: The generated HLS is ok if I switch the manifest definition file to a simpler one, for example, to the sample manifest file provided by c2pa Note 2: The generated HLS is ok if I use a different video. Note 3: c2patool 0.20.0 and 0.21.0 do not work for me because I cannot run them on linux/x86.

9fbcfe67-b32d-4107-a26e-ec4d396c91b6-AudioTracks.zip

weihuaqd avatar Aug 26 '25 16:08 weihuaqd