[FFmpeg-user] 'moov atom not found' during concat for mp4s that seem fine

Moritz Barsnick barsnick at gmx.net
Fri Nov 18 22:17:37 EET 2016


On Fri, Nov 18, 2016 at 10:41:22 -0800, Zamir Khan wrote:
> /$ ffmpeg -f concat -safe 0 -protocol_whitelist file,http,https,tcp,tls -f mp4 -i segments.txt -c copy output
[...]
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f9b99010600] moov atom not found
> segments.txt: Invalid data found when processing input/

You're telling ffmpeg that segments.txt is an MP4 file ("-f mp4"), but
it isn't. "-f concat" was the correct choice, please drop the "-f mp4".

> These videos are hosted on an S3 bucket, so I initially addressed them at
> those addresses, but when I got this error, I downloaded and addressed them
> locally, so the location of the videos appears to not be the issue.

They should probably be accessible if you provide the whitelist option
you used above.

Cheers,
Moritz


More information about the ffmpeg-user mailing list