Skip to content

This script is a bash script that uses the FFmpeg command-line tool to convert a series of MP3 audio files to MP4 video files with a static image as a background. The resulting videos will have the same name as the original audio files with the addition of ".mp4" extension.

License

Notifications You must be signed in to change notification settings

fahad4x4/convert-a-mp3-to-mp4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This script will iterate over all the mp3 files in the current directory, and for each file, it will create an mp4 video file with the same name as the mp3 file, using a static image named "photo.png" as the video background. The output video file will be named with a prefix number followed by the original mp3 file name. Finally, a message will be printed before and after the conversion process to indicate its progress and completion.

هذا سكريبت يستخدم أداة ffmpeg لتحويل ملفات الصوت بامتداد mp3 إلى ملفات فيديو بامتداد mp4، حيث يتم دمج ملف الصوت مع صورة ثابتة باستخدام خاصية -loop في ffmpeg. يقوم السكريبت بتكرار عملية التحويل لكل ملف mp3 في نفس المجلد، حيث يستخدم قيمة متغير i لإسناد اسم ملف مختلف لكل ملف mp4 الناتج عن التحويل.

About

This script is a bash script that uses the FFmpeg command-line tool to convert a series of MP3 audio files to MP4 video files with a static image as a background. The resulting videos will have the same name as the original audio files with the addition of ".mp4" extension.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages