What's new
PGBlitz.com

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

Discussion ffmpeg. How to convert multiple mkv files to mp4 (without converting video) using just one command line on linux

esspereira

Blitz 3rd Class
Hello guys.

I use have my emby on a lunux vps. I'm converting movies from mkv to mp4 (without converting video) using the following command inside movie directory: for i in .mkv; do ffmpeg -i "$i" -movflags faststart -c copy -map 0 "${i%.}.mp4"; done
Works perfectly converting the files inside the directories. Now I want to do the same thing in files located in several other folders. for example:
  • Servidor (type the command here)
    Filme1
    Filme1.mkv
    Filme2
    Filme2.mkv
    Filme3
    Filme3.mkv
Does anyone know how to do this?
 
Last edited:

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.


Development Donations

 

Trending

Top