What's new

Register Now! Find useful tips, Interact /w Community Members and join the part the Best Community on the Internet!

Guides error using ffmpeg to convert mkv to mp4


Junior Member
Hello guys.
I use the command below on ffmpeg to convert mkv to mp4.

for f in *.mkv; do ffmpeg -i "$f" -c:v copy -c:a copy -map 0:0 -map 0:1 -map 0:2 -movflags faststart -metadata title="PlayClides - Qualidade Acima de Tudo" "${f%.mkv}.mp4"; done && rm *.mkv

however, at the end of the process I received the following message on the screen

[mp4 @ 0x55bcbaa8d100] Starting second pass: moving the moov atom to the beginning of the file
[mp4 @ 0x55bcbaa8d100] Unable to re-open S01E02.mp4 output file for the second pass (faststart)
Error writing trailer of S01E02.mp4: No such file or directory

can anyone help?


Full Member
I have not used it, but aware that on their Version 9, they are testing on each app. You may have to contact the author about the container.


Junior Member
I have not used container to make the installation of ffmpeg. i can only convert to mp4 without errors just inside my vps. if i use in mnt/gdrive doesn't work.

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Top NZB NewsGroups!

Members - Up To a 58% Discount!

Development Donations


Online statistics

Members online
Guests online
Total visitors