LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-26-2004, 02:44 PM   #1
delos
Member
 
Registered: Jun 2004
Posts: 38

Rep: Reputation: 15
mp3 merging


i need to merge a number of small mp3-s into bigger files. is there any software to do it fast and easy in linux?
 
Old 11-26-2004, 06:15 PM   #2
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
cat 1.mp3 2.mp3 N.mp3 > merged.mp3
 
Old 11-26-2004, 06:21 PM   #3
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
Just so you know, that "prints" out the contents of all 3 mp3 files and then writes them to one new file, merged.mp3

It works, it's elegant. Nice
 
Old 11-28-2004, 04:41 PM   #4
nccperks
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Merge mp3 with conditional

I want to merge 3 mp3s, but I only want 1 to play each time I play it. For instance, I have x.mp3, y.mp3, and z.mp3. I want to make the 3 files one file, but when I start the song I randomly want only 1 of the 3 to play.

Does anyone know how I can do this?
 
Old 11-26-2006, 09:28 AM   #5
kirtimaan_bkn
Member
 
Registered: Aug 2004
Location: INDIA
Distribution: Various Distros
Posts: 203

Rep: Reputation: 31
Quote:
Originally Posted by J_Szucs
cat 1.mp3 2.mp3 N.mp3 > merged.mp3
Will this work for MP3 file with different bit rates ? How different type of Mp3 files (Mono, stereo) will be handled.

Thanks, Kirtimaan
 
Old 05-03-2009, 12:43 AM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by kirtimaan_bkn View Post
Will this work for MP3 file with different bit rates ? How different type of Mp3 files (Mono, stereo) will be handled.

Thanks, Kirtimaan
Code:
apt-cache search mp3
there a program for that but i forgot hte name.

I use it already but dont recall...
 
Old 05-03-2009, 12:49 AM   #7
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by frenchn00b View Post
Code:
apt-cache search mp3
there a program for that but i forgot hte name.

I use it already but dont recall...
I found this. Is it what you want?
I dont know much about index stuffs.

Quote:
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 downâ
load on internet and then easy to split again in few seconds. You can split original 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 ending 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
 
1 members found this post helpful.
Old 05-03-2009, 01:33 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
Using a playlist might be better.
That's what they're for.

Last edited by jschiwal; 05-04-2009 at 06:39 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging Interfaces MBH Linux - Networking 1 02-12-2005 07:08 PM
merging files using perl pantera Programming 1 06-03-2004 12:56 PM
Splitting then Merging Pres Linux - General 2 03-01-2004 09:03 AM
merging log files help please digitalgravy Linux - Newbie 3 12-10-2003 02:26 PM
Merging partitions Chrissi Linux - General 7 06-08-2003 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration