skip to Main Content

I have just updated ffmpeg on centos 7 to version 3.4.9, i am having issues since the update converting mov to mp4, it keeps giving me the following error and i’m not sure how to solve it

[mov,mp4,m4a,3gp,3g2,mj2 @ 0x831ec0] moov atom not found
/home/user/api/private_uploads/chat/3d721e80-3a70-11ec-a302-b7cf4598d93b.mov:
Invalid data found when processing input

EDIT

I uninstalled the libraries it mentions above and the correct version installed, but i still get the same problem with 3.2.4!

2

Answers


  1. Chosen as BEST ANSWER

    It turns out the video file was being corrupted when uploading with node. I changed the following:

    fs.writeFile(pathToFile,data.file.file,()=>{});

    To:

    fs.writeFileSync(pathToFile,data.file.file);

    And it's now all working. I think what was happening was i was using async and trying to convert the file before it finished uploading/writing to the file


  2. Try to skip the check signature with this command:

    yum install --nogpgcheck ffpmeg-3.2.4
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search