Convert MP4 Videos to MP3 Automatically — With Artwork and Tags

Many people download questionable “free converter” apps just to turn a video into an MP3 file. Unfortunately, many of those programs come bundled with ads, trackers, or worse.

There’s a much cleaner and safer way.

With one small batch file and a trusted tool called FFmpeg, Windows can automatically:

• Convert MP4 videos to MP3 audio
• Create a separate MP3 folder
• Add metadata such as title and artist
• Embed album artwork
• Clean up temporary files

All with a simple double-click.

This method uses FFmpeg, a trusted open-source tool, and avoids installing unknown “free converter” software that may include ads or hidden risks.

Let’s walk through it.


Step 1 — Install FFmpeg

Right-click the Start button on your Windows taskbar and select Windows Terminal.

Then type this command and press Enter:

winget install ffmpeg

Windows will automatically download and install FFmpeg.


Step 2 — Create a Working Folder

Create a folder and place your MP4 files inside it.

Example:

Music Files
Song1.mp4
Song2.mp4
Song3.mp4

Step 3 — Add the Batch File

Create a new text file and rename it:

ConvertMP4toMP3.bat

Copy and paste the following code into that file.


Important: Copy everything exactly as shown below, including all lines.

The Batch File

@echo off
setlocal EnableExtensions EnableDelayedExpansion

if not exist "MP3" mkdir "MP3"
if not exist "TEMPART" mkdir "TEMPART"

set count=0

echo Converting MP4 files to MP3 with metadata and artwork...

for %%F in (*.mp4) do (
if not exist "MP3\%%~nF.mp3" (

ffmpeg -y -ss 00:00:02 -i "%%F" -frames:v 1 "TEMPART\%%~nF.jpg"

if exist "TEMPART\%%~nF.jpg" (
ffmpeg -y -i "%%F" -i "TEMPART\%%~nF.jpg" -map 0:a -map 1:v -codec:a libmp3lame -b:a 192k -codec:v mjpeg -id3v2_version 3 ^
-metadata title="%%~nF" ^
-metadata artist="Bob the Cyber-Guy" ^
-metadata album="Bob G Creations" ^
-metadata date="2026" ^
-metadata genre="Original" ^
-metadata:s:v title="Album cover" ^
-metadata:s:v comment="Cover (front)" ^
"MP3\%%~nF.mp3"
) else (
ffmpeg -y -i "%%F" -vn -codec:a libmp3lame -b:a 192k ^
-metadata title="%%~nF" ^
-metadata artist="Bob the Cyber-Guy" ^
-metadata album="Bob G Creations" ^
-metadata date="2026" ^
-metadata genre="Original" ^
"MP3\%%~nF.mp3"
)

if exist "MP3\%%~nF.mp3" set /a count+=1
)
)

rmdir /s /q TEMPART

echo.
echo %count% file(s) converted successfully.

start "" "MP3"

pause



After pasting, save the file as:
ConvertMP4toMP3.bat
(Make sure it does NOT end in .txt)


Step 4 — Run It

Now your folder should look like this:

Music Files
Song1.mp4
Song2.mp4
ConvertMP4toMP3.bat

Simply double-click the batch file.

The script will:

• Convert your MP4 videos to MP3
• Extract artwork from the video
• Embed the artwork into the MP3
• Add metadata
• Create an organized MP3 folder

When it finishes, your folder will look like this:

Music Files
Song1.mp4
Song2.mp4
ConvertMP4toMP3.bat
MP3
Song1.mp3
Song2.mp3

Bob the Cyber-Guy Tip

Whenever possible, avoid downloading random “free converter” software from the internet.

Using trusted tools like FFmpeg keeps your system cleaner and safer.

Sometimes the smartest solution is the simplest one.


Closing

A small batch file… doing a big job.

Simple. Clean. Safe. 

The following video shows this new tool in action: https://youtube.com/shorts/h82GViZfRiU

Comments

Popular posts from this blog

8-9-2024 Breaking Security News