Re: sox vs libmagic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Stary <hans@xxxxxxxx> writes:

>> > I am proposing to remove libmagic from SoX, because
>> >
>> > 1. It is of questionable utility. Next time you encounter
>> >    a missnamed or unrecognizable audio file, just run file(1) on it.
>> >    That's what file(1) is for. 
>> 
>> Wrong.  How would you do that in an automated fashion?
>
> I don't understand the question -
> cannot file(1) be scripted just like sox?

Further to what I've already said, the detection can't be done
separately if the input is a pipe or otherwise non-seekable.

-- 
Måns Rullgård

------------------------------------------------------------------------------
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux