[ 
http://dev.sourcefabric.org/browse/LS-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=29680#action_29680
 ] 

Samuel Mimram commented on LS-553:
----------------------------------

I think that the most simple thing is to add "bogus" mimes to the decoders. For 
instance

set("decoder.mime_types.mad",["audio/mpeg","audio/MPA","application/octet-stream"])

will make the mad decoder try to decode application/octet-stream files (and of 
course if it is an AAC and not an mp3, it should fail).

> media file format detection based on provided metadata
> ------------------------------------------------------
>
>                 Key: LS-553
>                 URL: http://dev.sourcefabric.org/browse/LS-553
>             Project: Liquidsoap
>          Issue Type: New Feature
>          Components: Liquidsoap
>            Reporter: okay_awright
>
> Bypass the libmagic process for file format resolution if some special 
> metadata (e.g. ("format", "AAC+")) are provided by the user with a request. A 
> specific decoder is then only selected based on the value associated with 
> this tag.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à