Sponsored Content
Top Forums Shell Programming and Scripting Need a script for automation the convert a lot number audio files to another format Post 302958461 by sea on Thursday 22nd of October 2015 10:41:53 AM
Old 10-22-2015
Hi,

For just the encoding of many files, i had written VHS (Video Handler Script).
But it does much more, as it uses ffmpeg as backend.

I dont know how the aiff codec is named in this matter, so i'll give you an example with ogg.
Assuming you have these files in homedir in subdir audio/mp3.
Code:
cd ~/audio/mp3
vhs -e ogg */*/*

Obviously it requires ffmpeg and the related codecs on your system.
sri-arjuna/vhs

Then to install:
Code:
./configure --prefix=$HOME/local
./make-install

Hope this helps
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Want To convert script in Linux format

I have scripts which I want to convert in Linux format. Note these scripts are in txt format.But I want to convert them in Linux, as DBA's will be using this script. Any command or utility which converts tht files in proper Linux format. Thanks in Adavce. Kunal (1 Reply)
Discussion started by: niceboykunal123
1 Replies

2. Shell Programming and Scripting

convert files into csv format using perl

Hi all perl gurus, I need your help to get the desired output in perl. I have a file which has text in it in the format Connection request start timestamp = 12/08/2008 00:58:36.956700 Connect request completion timestamp = 12/08/2008 00:58:36.959729 Application idle time ... (10 Replies)
Discussion started by: azs0309
10 Replies

3. Shell Programming and Scripting

Rename a lot of files using shells script

Hi This is the list file that i have : The files is more than this. I will rename one by one file become like this : So just change the time stamp 200906 become 200905. Is it possible using script ? Thanks (3 Replies)
Discussion started by: justbow
3 Replies

4. Shell Programming and Scripting

How to convert date format such as 7/18/2015 to the number of month

How to convert date format such as 7/18/2015 to the number of month from requesting date 'date' in sh scripting ? Let say I have output in my log.txt -> 7/18/2015. How I convert it to the full number of month starting from 'date' till 7/18/2015 in shell scripting ? Thanks in advance. (1 Reply)
Discussion started by: amerabest
1 Replies

5. Shell Programming and Scripting

Python script to convert date to iso format

Hi , This is my 1st program in python never tried any python before. i am trying to write a python script which reads a .tsv file line by line and in each line it should look for mm/dd/yyyy formate and convert it to yyyy-mm-dd formate . can some one provide be some sample code to do that. (2 Replies)
Discussion started by: vikatakavi
2 Replies

6. Shell Programming and Scripting

Sed/awk command to convert number occurances into date format and club a set of lines

Hi, I have been stuck in this requirement where my file contains the below format. 20150812170500846959990854-25383-8.0.0 "ABC Report" hp96880 "4952" 20150812170501846959990854-25383-8.0.0 End of run 20150812060132846959990854-20495-8.0.0 "XYZ Report" vg76452 "1006962188"... (6 Replies)
Discussion started by: Chinmaya Kabi
6 Replies

7. Shell Programming and Scripting

Convert a lot of files in subdirectories automatically

Hi, I have a huge structure of directories and subdirectories contsining some data. The lowest folders contain a file "image.png" which need to be converted to "folder.jpg". But how can I do that for all these files automatically? That's what I alredy have find /path -type f -name... (1 Reply)
Discussion started by: KarlKarpfen
1 Replies

8. Shell Programming and Scripting

Help need to convert bi-lingual files in sub-title format

I have a large number of files in the standard subtitle format with the additional proviso that the files are bi-lingual i.e. English and a second language: in this case Hindi. A small sample is given below: 00 04 07 08 00 04 11 00 I mean very high fever... He even vomited. 00 04 07 08 00... (6 Replies)
Discussion started by: gimley
6 Replies
audiotool(1)								OST							      audiotool(1)

NAME
audiotool - manipulate audio data files. SYNOPSIS
audiotool -append [-offset=pos] target audiofiles... audiotool -build [-encoding=codec] target audiofiles... audiotool -chart [-silence=value] [-framing=msec] audiofiles... audiotool -codecs audiotool -info audiofile audiotool -notation audiofile [``new-string''] audiotool -play audiofiles... audiotool -plugins audiotool -soundcard [index] audiotool -strip [-silence=value] [-framing=msec] audiofiles... audiotool -trim [-silence=value] [-framing=msec] [-padding=frames] audiofiles... audiotool -version DESCRIPTION
Audiotool is used to copy, manipulate, and examine the contents of audio files. These audio files may be raw headerless audio data or audio stored in common data files such as .wav or .au files. In the near future audiotool will also support packetized audio files such as .mp3 and .ogg. -append appends the content of other audio files into an existing audio file. The offset to save within the existing file may be specified. If nessisary the content of the specified files will be re-encoded in the codec of the file being appended to. -build Build a brand new audio file from scratch and then copy content from existing audio files into it. The encoding of the new audio file will either be based on the file extension, the audio file that is being copied into it, or by specifying the encoding format directly. -chart This is used to generate an energy chart profile of the audio file frame by frame. A * indicates solid audio content, a ^ indicates what might be a lead or trailer section of partial content, and a . indicates relative silence. Soon a autotrim option will be added to audiotool to remove silent frames. -codecs List all active codec objects. If you have plugins which are loaded that creates codec objects which match a built-in codec, the plugin will be selected first. -info The info command gives you basic information on the audio file, including what format it is stored as, what codec the audio data is encoded in, how much data is in the file, what the bit rate used is, etc. -notation Notation can be used to either set or display the annotation stored in audio files which support annotations, such as .au and .wav files. -play Plays the content of the audio file to the default system audio device (soundcard). Play is supported on w32 and posix systems that support oss audio. Future work will expand to additional platforms. -plugins This simply returns the path to the plugins directory. All plugins are loaded with Audio::init(). Plugins are not supported when building with static linkage. -strip Strips out all silent frames from an audio file. Silent frames are those which fall below a threashold and that have no peak impulse above the threashold. -trim Removes leading and trailing "silence" from a file. The -padding option may be used to add additional silent frames at the end of the file after it has been trimed, as this may be needed for files that will later be used to join together phrases. BUGS
At this time audiotool does not perform and ccaudio does not support sample rate conversion. Appending and building from files which are encoded at different sample rates could have ammusing results. AUTHOR
Written by David Sugar. REPORTING BUGS
Report bugs to <dyfet@gnu.org>. COPYRIGHT
Copyright (C) 2004 Open Source Telecom Corp. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. GNU ccAudio Tool October 2004 audiotool(1)
All times are GMT -4. The time now is 07:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy