On Sun, Feb 22, 2009 at 2:45 PM, Max Kellermann <m...@duempel.org> wrote:
> On 2009/02/22 18:50, Avuton Olrich <avu...@gmail.com> wrote:
>> Here's a copy of the output from ffmpeg (20090201), I realize this
>> probably isn't complete, but the only way I can imagine getting better
>> results is to probe formats.
>
> Currently, the MPD decoder API expects a compile-time fixed list of
> extensions and MIME types, so this would be the way to go.  Having too
> many formats in there doesn't hurt (except for little performance
> degradation), so just add everything which is supported by latest
> ffmpeg.
>
> Care to convert this list to a MPD patch? (only audio formats) - you
> could write a small perl script to convert the output.. and then
> delete those which don't have audio.

I don't mind at all making a patch, but this will be mostly manual.
This script simply exposes all the formats, I'll have to grok the
internet to get the applicable extensions, since ffmpeg doesn't even
have some extensions, it simply probes for the correct information.
-- 
avuton
--
|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to