Re: [LAU] Discovering file format

From: Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net>
Date: Sat Sep 19 2015 - 23:23:37 EEST

On Sat, 19 Sep 2015 21:13:41 +0100, Will Godfrey wrote:
>I have about 150 uncompressed audio files that I want to properly
>categorise, relatively quickly.
>
>The very oldest were recorded as 16bit 44.1k, more recent ones were
>16bit, 48k and the latest ones 24bit 48k.
>
>I've moved them all into the same directory, so is there a simple
>script I can run that will scan this and list the name and details of
>each file?
>
>I can find plenty of programs that can change the format, but can't
>find any that will just tell me what it is :(

[rocketmouse@archlinux ~]$ exiftool /home/music/musicstudio_robo´s_harp/
======== /home/music/musicstudio_robo´s_harp/robo´s_harp_raw_f#_at.wav
ExifTool Version Number : 10.00
File Name : robo´s_harp_raw_f#_at.wav
Directory : /home/music/musicstudio_robo´s_harp
File Size : 133 kB
File Modification Date/Time : 2015:04:20 12:44:37+02:00
File Access Date/Time : 2015:04:20 13:54:01+02:00
File Inode Change Date/Time : 2015:04:20 18:12:11+02:00
File Permissions : rw-r--r--
File Type : WAV
File Type Extension : wav
MIME Type : audio/x-wav
Encoding : Microsoft PCM
Num Channels : 1
Sample Rate : 44100
Avg Bytes Per Sec : 88200
Bits Per Sample : 16
Duration : 1.54 s
======== /home/music/musicstudio_robo´s_harp/robo´s_harp_syn_f#.wav
ExifTool Version Number : 10.00
File Name : robo´s_harp_syn_f#.wav
Directory : /home/music/musicstudio_robo´s_harp
File Size : 349 kB
File Modification Date/Time : 2015:04:19 20:32:57+02:00
File Access Date/Time : 2015:04:19 21:52:11+02:00
File Inode Change Date/Time : 2015:04:20 06:23:30+02:00
File Permissions : rw-r--r--
File Type : WAV
File Type Extension : wav
MIME Type : audio/x-wav
Encoding : Microsoft PCM
Num Channels : 2
Sample Rate : 44100
Avg Bytes Per Sec : 176400
Bits Per Sample : 16
Duration : 2.02 s
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Sep 20 00:15:02 2015

This archive was generated by hypermail 2.1.8 : Sun Sep 20 2015 - 00:15:02 EEST