Re: sox vs libmagic

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

 



On Sep 23 11:42:45, mans@xxxxxxxxx wrote:
> Jan Stary <hans@xxxxxxxx> writes:
> 
> > On Sep 22 13:10:41, mans@xxxxxxxxx wrote:
> >> The built-in detection works on non-seekable streams.  There is no way
> >> to do that using file(1) in a shell script.
> >
> > ~$ ftp -V -o - http://amp.cesnet.cz:8000/cro-d-dur.ogg | file -
> > /dev/stdin: Ogg data, Vorbis audio, stereo, 48000 Hz, created by: Xiph.Org libVorbis I
> 
> Now show me how to rewind that stream so sox can read it from the start.

You cannot rewind that stream, with or without --magic.
What does this have to do with t?

http://amp.cesnet.cz:8000/cro-d-dur.ogg
is a non-seakable, non-rewindable stream.
See above for how to run file(1) on it for detection,
which you say cannot be done.


------------------------------------------------------------------------------
_______________________________________________
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