[FFmpeg-user] MP4s for music
Mark Filipak
markfilipak.imdb at gmail.com
Sun Jun 8 01:41:23 EEST 2025
I ask for advice from the learned folk of FFmpeg. The following script works. The mp4 plays -- even
PowerDVD plays it. Song selection is available via chapters. However, I wonder about the wisdom of
my approach and whether there's a better, more comprehensive method.
ffmpeg^
-i "c:\chapters.txt"^
-i c:\01.WAV^
-i c:\02.WAV^
-i c:\03.WAV^
-i c:\04.WAV^
-i c:\05.WAV^
-i c:\06.WAV^
-i c:\07.WAV^
-i c:\08.WAV^
-filter_complex "[1:0][2:0][3:0][4:0][5:0][6:0][7:0][8:0]concat=n=8:v=0:a=1[out]"^
-map_metadata 0 -map "[out]"^
-c libmp3lame -compression_level 0^
"g:\Music\Ashra, Belle Alliance [1980].mp4"
8 wav files total 466,343,152 bytes.
The entire mp4 is 42,705,917 bytes.
Can that be true with '-c libmp3lame -compression_level 0'? Or is FFmpeg fibbing about compression
level?
They're obviously compressed, compressed quite a bit, more than x/10, but are they lossless?
If so, I had no idea lame could compress so much without loss.
Would anyone with experience care to comment? I'm a novice in this realm.
--Mark.
More information about the ffmpeg-user
mailing list