- This topic has 2 replies, 2 voices, and was last updated May 29-12:52 pm by kaye.
-
AuthorPosts
-
May 26, 2020 at 8:01 am #36329Member
kaye
Hello Friends!
I have an mp3 file named e.mp3
If I play it in XMMS, I can see that it is two minutes and forty five seconds long (2:45).
I added fade out effect with this command:
ffmpeg -i e.mp3 -af “afade=t=out:st=160:d=6” e2.mp3
Notice I saved the new file as e2.mp3
If I play this new file, XMMS now shows the song to be five minutes and thirty seconds long (5:30)
Nothing wrong with the audio though, it still sounds great. And the music still stops at 2:45, even though XMMS is showing that it’s 5:30
If I play this edited song in Quod Libet, the duration of the song is correctly indicated as 2:45
Not a big deal to me, I was just wondering what you guys think about that.
Thanks!!!
- This topic was modified 2 years, 11 months ago by kaye.
- This topic was modified 2 years, 11 months ago by kaye.
May 28, 2020 at 3:05 am #36402Forum AdminSamK
::If I play it in XMMS, I can see that it is two minutes and forty five seconds long (2:45).
I added fade out effect…
XMMS now shows the song to be five minutes and thirty seconds long (5:30)
…the music still stops at 2:45, even though XMMS is showing that it’s 5:30
There is not a simple answer to that because there are many possible causes. A web search about different reported MP3 file lengths will turn up a large number of posts.
Some generalities…
-
• Constant bit rate (CBR) MP3 files do not exhibit this behaviour.
• Variable bit rate (VBR) MP3 files can show this length discrepancy.
• The wide range of MP3 encoders can produce different results.
• Sometimes the VBR id information is not added to the file. That can be fixed with apps such as vbrfix, mp3-diags, kid3-qt.
• Some reports indicate the manner in which the MP3 file tags are created may be an influence.
• Music playing apps have different abilities to handle VBR files. Recent players tend to do it better than older ones.
The benefits/quality of VBR v CBR can generate heated opinions. These tend to be theoretical v real world actual. Be guided by your own hearing experiences/abilities.
One way to avoid the reported MP3 file length discrepancies, on all music playing apps, is to ensure they are encoded using a relatively high CBR. You may be surprised by how small is the perceived difference (if any at all) compared to VBR.
May 29, 2020 at 12:52 pm #36478Memberkaye
-
AuthorPosts
- You must be logged in to reply to this topic.