I extract the audio from a bunch of flv files as an MP3. This works great:
ffmpeg -i video.flv -vn -acodec copy audio.mp3
However, some audio that I extract have durations that are longer than they should be and some MP3 files keep looping the audio! Also in some audio players like Windows Media Player, the seekbar gets stuck at one point but plays the mp3.
I have found out this is due to Xing headers not being correct or set (?). I was hoping someone could help me edit the above command so this is fixed and maybe some explanation of why this happens so I can learn.
Any help highly appreciated