Random ...
July 2018
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Tags ...

Linux++:::: ripping part of audio from mpeg file
Posted at 13.Dec,2007 12:20  Comments 0 / Trackbacks 0 / Like this post!
Technorati tag(s):

Got tired of my standard message tone. Decided to rip part of the intermission music from One Piece and make that into my message alert tone.

Here's how. Start the mplayer with the mpeg file, and look where to start ripping, and when to stop.

In my case, it starts at about 884s and lasted for 6 seconds. So, we dump the audio first:

  mplayer -dumpaudio mpegfile.mp4 -dumpfile mine.mp3
  MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
  CPU: Intel(R) Pentium(R) M processor 1.73GHz (Family: 6, Model:   13, Stepping: 8)
  CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
  Compiled with runtime CPU detection.
  mplayer: could not connect to socket
  mplayer: No such file or directory
  Failed to open LIRC support. You will not be able to use your remote  control.

  Playing mpegfile.mp4.
  AVI file format detected.
  [aviheader] Video stream found, -vid 0
  [aviheader] Audio stream found, -aid 1
  VIDEO:  [FMP4]  1280x720  24bpp  23.976 fps  1232.3 kbps  (150.4 kbyte/s)
  Core dumped ;)

  Exiting... (End of file)

If we want aac, just replace mine.mp3 with mine.aac

That's it. Now just transfer the file to your mobile phone.

Oh, if you're looking for One Piece intermission music for your standard alert tone, get it here

Bookmark and Share

Is this entry helpful? Comments/Donate/Click some google ads.  
Trackback is http://myzope.kedai.com.my/blogs/kedai/165/tbping 

Post a comment