c2pa-rs
c2pa-rs copied to clipboard
Some c2patool-generated HLS/fmp4 video file cannot be probed by ffmpeg - I got "moov atom not found"
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:
- 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.
- 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.
- I used c2patool 0.19.1 to add the manifest to those 4 HLS individually.
- 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.