x75 / mp3asm

Command line tool to cut/extract parts of mp3 files at frame boundaries without requiring decoding or re-encoding. Imported from abandoned Sourceforge project 2020-09-09.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README:
-------
Overall whine:
--------------
  (/me just loves the sound of his own voice)

  Quite a usefull lil app in my honest opinion.

  Why?

  Well, most ppl probably prefer decoding, wav editing, reencoding, but
that has consequences.
  Encoders use advanced filtering to create audio data thats easy to
compress so that ppl can hardly tell the difference (depending on BR
offcourse) and then they compress that filtered audiodata. Now filtering
once from original full range unfiltered audio will provide the nicest
result. Every subsequent filtering will result in more loss of data, cos
the only real difference between encoders is the filterbanks.
  And offcourse, u dont have to waste precious cycles on the whole lengthy
process.
  Yes indeed, with wavediting programs u can edit right up to the
millisecond, or even better. But to be honest, an 128kbps mpeg 1 layer 3
file has 25 frames per second, which means u can cut right down to
40ms. If u dont mind the quality of a 128kbps file, how can u mind a few
millisecs?
  So when this app is up and running theres no more reason to waste a
perfectly good rip cos of a few bad starting frames or a long lead out.
At this point i even believe it should be possible to provide for fading
in/out, i aint certain yet actually :)
 I have no clue whatsoever on why Olli fromme halted development back in '97.
Maybe cos mp3s were a rarity back then? Maybe some personal reason. I will
prolly never know. What I do know is that he had an unbelievable idea and he
wrote a program that did the job very well.

Usage:
------

 Ok, for starters, get urself mpg123... U can use -k/n to choose which frames to play.
This helps u pinpoint which frames u can actually discard. Then feed those boundaries
into mp3asm and it will do it for u.
 If u, for example want 500 frames, u will probably get 501 frames, cos mp3asm often adds
an empty frame (only when needed) to the start of the stream in order to decently format
the stream. This is a valid practice which all encoders do, i often see rips which have
80+ empty frames. I believe this is done for id3v2, which has all the id3 frames burried
inside the wasted space of a stream. Please be carefull with -v & -l, with
verbosity >= 10 mp3asm generates huge logfiles.
Most of the time this program should be used to remove ticks/blips or to
remove lead in/outs that r annoying. Sometimes u get these bad rips with
the mistery track followin after 5 mins of silence... that sort of stuff.

State of the program:
---------------------

 It is able to discard chosen frames from a stream and write them to a new
file or it can be used to make several streams into 1. I still have to
test for the validity of fading in/out by writing the gain values. After
that ill implement mpglib & alsa 0.9.0 support, and if im still in the
mood ill build a petite gtk frontend for it.

Installation:
-------------

 Plain ./configure, make & make install should do the trick. This program has only been
tested on standard x86 linux, so be warned. Any hints on making it more portable will always
be very welcome. There should not be feared for input files. Mp3asm dusnt overwrite old files.
In this preliminary version that could be quite a hazard for ur original files. 

Enjoy ur mp3s!

About

Command line tool to cut/extract parts of mp3 files at frame boundaries without requiring decoding or re-encoding. Imported from abandoned Sourceforge project 2020-09-09.

License:GNU General Public License v2.0


Languages

Language:C 99.6%Language:Makefile 0.4%