Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
--extract-audio option doesn't create Xing header #513
Comments
|
I think LAME makes his own variation of header. Reopen if there is something we can do to solve this (without adding other dependencies). |
|
I understand LAME makes it's own variation and it always comes out malformed so that it causes some players to either crash or continually loop the song. Unfortunately the only way we can solve it is by adding other dependencies like the package you suggested. Does mp3diags have a command-line tool that works on ubuntu (I wasn't able to find one), or can you recommend any other command line mp3 repairing tools for ubuntu? |
I'm using the default
--extract-audiooption which on my system (ubuntu 12.04 with ffmpeg) does the followingffmpeg -y -i input.flv -vn -acodec libmp3lame -ab 128K -- output.mp3However this doesn't create the Xing header on the .mp3 when going from aac->libmp3lame. For older media players this causes the audio to loop due to the discrepancy between the song length in the header and the actual song length.
Does anyone know the correct syntax to create Xing headers?
You can close this issue as libmp3lame doesn't have the capability to create xing headers (you need another program like taglib to do that)