Re: variable bit rate decoding?
Ben Winslow <[email protected]>
| Newsgroups | gmane.comp.multimedia.xmms.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2003-11-27 at 09:59, Mandar Mitra wrote: > Can XMMS play variable bit-rate encoded mp3 files? > > When I play certain mp3 files using xmms, the duration > displayed in the playlist keeps fluctuating, sometimes > quite drastically. Could this be because the file is > encoded using VBR? xmms can play them, although the behavior will be a bit erratic (as you've seen) unless the mp3s have a header written at the start in the style the Xing mp3 encoder writes (LAME also writes these headers.) The Xing header contains the number of mp3 frames, the total file size, and a table of seek points (so that an approximate point within the mp3 file can be found without searching through the whole thing.) When the Xing header is not present, xmms will estimate the song length based on the file size and the size the current frame (which will vary, sometimes drastically, in a VBR mp3.) This is the behavior you're describing. A little experimentation with Xine shows that it seems to have some trouble as well, but it looks as though it's trying to smooth out the transitions a bit (possibly using the average bitrate from the last X seconds.) Hope that provides some insight, -- Ben Winslow <[email protected]> _______________________________________________ xmms-devel mailing list [email protected] http://lists.xmms.org/mailman/listinfo/xmms-devel
signature.asc
(application/pgp-signature, 900 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Fingerprint: 17F8 0D02 A7DA 7C7F A661 183D 6E2A 04FD 410A 2DCF iQIVAwUAP8aCLG4qBP1BCi3PAQJzBRAAog7RlTbfjq6GScX3r48mDc45VI0vgEg/ T3ctxzLaZOlroSu0JpxAyl5R8l+siiBqbyYaggxii1dOO+6zzlCqikETxzDzc6gp kvJHsootdQAyOblVylWuYdI1GVBv1fjCNUNkHsoqUDxf6NtibMofM76r7lYRaQ0A QoMpubUlc5WGT+rbVjew9tURErFXTIDjDEF9vH2HG1OYqMaHRP9sSnBj/Bt3YYyc JMTJ4HM/Go38okU6AHBf3+Sxinq8UDyjn05rhCEy6hAeQTiZK5lqr45YUgppnsLx fF1u1LDdTUwoklHDSRXT9enhVZnd5XN8PRDoGFK4nRyQtyJj4Pwoum7HySeyrEms NWE3Z24O3UF2jQBwklPbqMbr5T32chWha4wnotOwU3jMD3lnQDaJ8EB4HXmqBN51 xJ7ICVWVHxqmkEpJDTF5CAauCOnmMl85a2aTJnZjnAcczSAfLYPxMHCzguptAbjX So8nUgEkCIdLYZvd6AkV5CMvvAyvVad88lPp2OKNM0c3Qg6jOli1tFB7qLl6cPaE cs9sVhc4peMLxVCrd4S/umQMMdrXnIHOs1sBNzjak1CY9DrjteZZF/T1Ahpnhr1P KnRpTcRpJGau/mxJYsMPRZNbRHSwyV+Xbh+My6DuaMN6afdOMWeOHQDFxDp+V8Ax 79H2Y4pbIMI= =/sJU -----END PGP SIGNATURE-----