Sponsored Content
Top Forums Shell Programming and Scripting bash. convert mpeg adts to normal mp3 Post 302195876 by stahoo23 on Friday 16th of May 2008 05:38:24 AM
Old 05-16-2008
I use debian and shell - bash.
I tested this:
Code:
lame -h plik.mp3 1.mp3

and

Code:
mplayer -nojoystick -nolirc -nortc -vo null -vc dummy -af resample=44100 -ao pcm:waveheader:file=1.wav plik.mp3
lame -h 1.wav 2.mp3

and results are same - MPEG ADTSSmilie
 

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
MP3WRAP(1)						      General Commands Manual							MP3WRAP(1)

NAME
mp3wrap -- Utility for mp3 wrapping SYNOPSIS
mp3wrap [options] OUTPUTFILE f1.mp3 f2.mp3 [f3.mp3]... DESCRIPTION
Mp3Wrap is a free command-line utility, which wraps two or more mp3 files in one large playable file, without losing filename and ID3 informations. It's useful to make large files easy to download on internet and then easy to split again in few seconds. You can split orig- inal files using mp3splt: http://mp3splt.sourceforge.net Mp3Wrap will create a file named: OUTPUTFILE_MP3WRAP.mp3. It's important you don't remove the MP3WRAP string, because this will tell the split program Mp3Splt that the file is wrapped and can be splitted just with -w option. There is also the possibility to specify a custom extension to created file (such as "OUTPUTFILE - MP3WRAP - wrapped by me.mp3"). This can be done using config file (see below), just adding the line "EXT=my ext.mp3" into it. Note that your custom extension must contain MP3WRAP string anywhere, otherwise program will add it by itself. Mp3Wrap will also add to the file a ID3v2 containing informations on how to split the file; you can change Title and Album tags but PLEASE DO NOT REMOVE THE COMMENT. OPTIONS
-a Add specified files to an existing Mp3Wrap file. Files are appended and the index is updated. -l List all files wrapped into a Mp3Wrap file. Doesn't extract anything -v Verbose mode. Mp3Wrap will display additional informations on process and, when using list option (-l) it will show many extra infos on wrapped files. CONFIGURATION FILE
For Linux version valid configuration files are: ~/.mp3wrap (in home directory) .mp3wrap (in the dir you are in that moment). For WIN32 version: PROG_DIR/mp3wrap.ini (dir where mp3wrap.exe is) mp3wrap.ini (in the dir you are in that moment). FILE FORMAT The file consists of key-value pairs in the form KEY=value where key contains no whitespace and no equal signs. value will be all of the text after the equal sign until (but not including) the end- ing newline. Beware of extra spaces at the end of the line! They will probably be interpreted as part of the option value. Valid option keys are: EXT The extension mp3wrap will append to created files. Here is an example: EXT=_MP3WRAP_wrapped by me.mp3 EXAMPLES
mp3wrap album.mp3 file1.mp3 file2.mp3 file3.mp3 file4.mp3 mp3wrap -v album.mp3 file*.mp3 mp3wrap -a album.mp3 file5.mp3 file6.mp3 mp3wrap -l album.mp3 mp3wrap -lv album.mp3 BUGS
Report any bugs you find to Author (see below). Advices and info requests are welcome. SEE ALSO
mp3splt(1) AUTHOR
Matteo Trotta <mtrotta@users.sourceforge.net>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License. This can be found as COPYING in mp3wrap directory. MP3WRAP(1)
All times are GMT -4. The time now is 01:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy