Feature Requests item #1706072, was opened at 2007-04-23 11:33 Message generated for change (Comment added) made by robs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360706&aid=1706072&group_id=10706
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Reuben Thomas (rrt) Assigned to: Nobody/Anonymous (nobody) Summary: Push file detection into libmagic and use that Initial Comment: SoX's discrimination would be useful in libmagic (the library on which file(1)) is based, so let's not keep it to ourselves. It also will have (slight) benefits for us: we'll be able to detect sound formats we don't support (that other people add to libmagic), not to mention users trying to use SoX on other files like pictures. Because libmagic deals in MIME types, it will also make it easier to use SoX with more modern frameworks that are MIME type driven. Due diligence: libmagic is license-compatible (BSD) and highly portable. ---------------------------------------------------------------------- >Comment By: robs (robs) Date: 2013-02-03 02:45 Message: It's at the top of formats.c ---------------------------------------------------------------------- Comment By: Jan StarĂ½ (janstary) Date: 2013-02-02 14:17 Message: magic seems to know a few audio formats, at least here on OpenBSD 5.2. If I wanted to push SoX's binary knowledge of audio file formats into magic, where in the SoX codebase would I start looking for that knowledge? ---------------------------------------------------------------------- Comment By: Reuben Thomas (rrt) Date: 2008-07-17 01:10 Message: Logged In: YES user_id=50145 Originator: YES Surely it's useful in any situation where the input is seekable? Anyway, hot stuff! ---------------------------------------------------------------------- Comment By: robs (robs) Date: 2008-07-17 00:52 Message: Logged In: YES user_id=27473 Originator: NO Embryonic libmagic support now in CVS branch `magic'; detects mp3, but not much use yet without FR #2003121. ---------------------------------------------------------------------- Comment By: Reuben Thomas (rrt) Date: 2008-06-26 05:23 Message: Logged In: YES user_id=50145 Originator: YES There is another reason to do this: libmagic does detection of MP3, which SoX currently doesn't. I have a use case for this: playing URLs without extensions which can be either .ogg or .mp3. Of course, I'd also need auto-filetype detection on non-seekable streams (FR #2003121) for this to work. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=360706&aid=1706072&group_id=10706 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel