Skip to main content

ffmpeg: Notes

Using ffmpeg to covert mp3 files to mp4 files
Using ffmpeg to covert mp3 files to mp4 files

Download ffmpeg for Windows and extract to D:\software\ffmpeg folder.

Run cmd

CD (change directory) to folder storing mp3 files

Run this command to convert all mp3 files to mp4 files

forfiles /m *.mp3 /c "cmd /c D:\software\ffmpeg\bin\ffmpeg.exe -loop 1 -i image.jpg -i @fname.mp3 -c:a copy -c:v libx264 -shortest @fname.mp4"

Popular posts from this blog

Install Microsoft .NET Core SDK

.NET Core Software Development Kit (SDK) is a set of libraries and tools that allow developers to create .NET Core applications and libraries.

Powershell: head and tail command

Use head or tail to skim the first or last 5 lines.