Sponsored Content
Top Forums Shell Programming and Scripting bash. convert mpeg adts to normal mp3 Post 302195690 by Smiling Dragon on Thursday 15th of May 2008 07:12:05 PM
Old 05-15-2008
It's likely to be beyond the capabilities of bash to convert an audio format sorry.
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to convert from korn shell to normal shell with this code?

well i have this code here..and it works fine in kornshell.. #!/bin/ksh home=c:/..../ input=$1 sed '1,3d' $input > $1.out line="" cat $1.out | while read a do line="$line $a" done echo $line > $1 rm $1.out however...now i want it just in normal sh mode..how to convert this?... (21 Replies)
Discussion started by: forevercalz
21 Replies

2. Shell Programming and Scripting

How to Convert scientific notation to normal ?

Hell friends, I wrote a script gets the summation of particular column using awk. The awk output is given in scientific notation. How do I convert the scientific notation to normal. My awk syntax : awk '{sum += $2} END { printf sum }' temprep.txt Out put is like 1.5365e+07 I want it as... (2 Replies)
Discussion started by: maheshsri
2 Replies

3. Programming

New to C... questions about this code... ADTs...

Hi, In a file called itemADT.c I have specified the itemType data type to contain a listADT (having already written this library) and an integer, which will eventually represent the no. of times the word that is stored in the listADT has occurred (when I do this, and write code to insert... (2 Replies)
Discussion started by: eva
2 Replies

4. Shell Programming and Scripting

Convert Epoch time format to normal date time format in the same file

I have a file named "suspected" with series of line like these : {'protocol': 17, 'service': 'BitTorrent KRPC', 'server': '219.78.120.166', 'client_port': 52044, 'client': '10.64.68.44', 'server_port': 8291, 'time': 1226506312L, 'serverhostname': ''} {'protocol': 17, 'service': 'BitTorrent... (3 Replies)
Discussion started by: rk4k
3 Replies

5. Programming

Convert Bash script to C

dear all, i need your advice for convert bash shell to C programming INDEX=/zpool1/NFS/INDEX/${1} SCRIPT=/zpool1/NFS/script/${1} LIST=SAMPLE cd ${SCRIPT} for i in `cat ${LIST}` do GETDATE=`echo ${i}|awk '{print substr($1,9,8)}'` /usr/xpg4/bin/awk -F ":" '{close(f);f=$4}{print >>... (2 Replies)
Discussion started by: zvtral
2 Replies

6. Shell Programming and Scripting

AIX : Need to convert UNIX Timestamp to normal timestamp

Hello , I am working on AIX. I have to convert Unix timestamp to normal timestamp. Below is the file. The Unix timestamp will always be preceded by EFFECTIVE_TIME as first field as shown and there could be multiple EFFECTIVE_TIME in the file : 3.txt Contents of... (6 Replies)
Discussion started by: rahul2662
6 Replies

7. Shell Programming and Scripting

Bash to convert to m-d-yyyy

I am using bash that when run downloads a file a verifies that there is data in it. What I am not able to do is have a user enter a date in any format they wish and have it converted to m-d-yyyy. Thank you :). Bash printf " Welcome to NGS analysis, checking for new files and creating a... (2 Replies)
Discussion started by: cmccabe
2 Replies
FAAD(1) 																   FAAD(1)

NAME
faad -- Process an Advanced Audio Codec stream SYNOPSIS
faad [options] [-w | -o <output_filename> | -a <output_filename>] input_filename DESCRIPTION
This utility provides a command line interface to libfaad2. This program reads in MPEG-4 AAC files, processes, and outputs them in either Microsoft WAV, MPEG-4 AAC ADTS, or standard PCM formats. OPTIONS
-a <filename>, --adtsout <filename> Sets the processing to output to the specified file in MPEG-4 AAC ADTS format -b <number>, --bits <number> Set the output (individual) sample format. The number takes one of the following values: 1: 16-bit PCM data (default). 2: 24-bit PCM data. 3: 32-bit PCM data. 4: 32-bit floating-point data. 5: 64-bit floating-point data. -d , --downmix Set the processing to downsample from 5.1 (surround sound and bass) channels to 2 channels (stereo). -f <number>, --format <number> Set the output file format. The number takes one of the following values: 1: Microsoft WAV format (default). 2: Raw PCM data. -g Set the processing to not perform gapless decoding. -h , --help Shows a usage summary. -i , --info Shows information about the about the input file. -l <number>, --objecttype <number> Sets the MPEG rofile and object type for the processing to use. The number takes one of the following values: 1: Main object type. 2: Low Complexity (LC) object type (default). 4: Long Term Prediction (LTP) object type. 23: Low Delay (LD) object type. -o <filename>, --outfile <number> Sets the filename for processing output. -q , --quiet Quiet - Suppresses status messages during processing. -t , --oldformat Sets the processing to use the old MPEG-4 AAC ADTS format when outputting in said format. -w , --stdio Sets the processing output to be sent to the standard out. AUTHOR
Matthew W. S. Bell <matthew (at) bells23.org.uk> SEE ALSO
faac(1) faad 2.5 October 2006 FAAD(1)
All times are GMT -4. The time now is 10:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy