#394: Errors when decoding, stream content kinds and MP3
------------------------+---------------------------------------------------
Reporter: mrpingouin | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone: 1.0
Component: Liquidsoap | Version:
Keywords: | Mac: 1
Linux: 1 | Netbsd: 1
Other: 1 | Freebsd: 1
------------------------+---------------------------------------------------
We just encountered a file that liquidsoap failed to decode (for my
record, "/home/savourey/musique/Portishead/Roseland NYC Live/ 01
Humming.mp3") and it took me some expertise to figure out why; I'm afraid
a normal user would have been lost.
The issue was that the MP3 file starts with stereo but has a mono frame
somewhere near the beginning, so that its decoding gets interrupted.
First, the only informative error message is in the global log, not in the
request log. Second, the message is not so informative (says "mono instead
of stereo") unless we set up a mono_to_stereo decoder in which case it
becomes "non-uniform content type". Last, should we try to allow that kind
of quirk (I think there's a reason to avoid it but can't remember) and
should we try to fix it silently for the simple and common case of MP3?
The MP3 file is played OK on most players, as expected.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/394>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac