Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2123953
  • 博文数量: 229
  • 博客积分: 7217
  • 博客等级: 上校
  • 技术积分: 3224
  • 用 户 组: 普通用户
  • 注册时间: 2009-02-19 17:23
个人简介

个人主页https://xugaoxiang.com,微信公众号: Dev_Club 或者搜索 程序员Club

文章分类

全部博文(229)

文章存档

2017年(1)

2016年(20)

2015年(23)

2013年(1)

2012年(23)

2011年(68)

2010年(62)

2009年(31)

分类: LINUX

2010-09-24 20:12:24

There is a very beautiful song named i will be your shelter,which was popular a few years ago.I kept it so long and set it as my phone rings or incoming message rings.I like the first 22 seconds rhythm best but it lasts 3 minutes and 44 seconds.So,I try to find a way to cut the whole song and only retain the beginning 22 seconds.There mp3wrap is coming.

sudo apt-get install mp3wrap

1 Split the file

djstava@Thinkpad:~$ mp3splt i\ will\ be\ your\ shelter.mp3 0.0 0.22 0.44
mp3splt 2.2.5 (16/05/09) - using libmp3splt 0.5.6
    Matteo Trotta
    Alexandru Munteanu
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
 Processing file 'i will be your shelter.mp3' ...
 info: MPEG 1 Layer 3 - 44100 Hz - Joint Stereo - FRAME MODE - Total time: 3m.44s
 info: starting normal split
   File "i will be your shelter_00m_00s__00m_22s.mp3" created                
   File "i will be your shelter_00m_22s__00m_44s.mp3" created                
 Processed 1685 frames - Sync errors: 0
 file split

2 Merge two files into one

djstava@Thinkpad:~$ mp3wrap merged.mp3 i\ will\ be\ your\ shelter_00m_22s__00m_44s.mp3 i\ will\ be\ your\ shelter_00m_00s__00m_22s.mp3
Mp3Wrap Version 0.5 (2003/Jan/16). See README and COPYING for more!
Written and copyrights by Matteo Trotta -
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

  50 %    --> Wrapping i will be your shelter_00m_22s__00m_44s.mp3 ... OK
  100 %    --> Wrapping i will be your shelter_00m_00s__00m_22s.mp3 ... OK

  Calculating CRC, please wait... OK

merged_MP3WRAP.mp3 has been created successfully!
Use mp3splt to dewrap file; download at !



djstava
阅读(2143) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-09-27 08:06:47

很高兴认识你,看看我的博客中的文章吧,对生活很有好处,下面是一些推荐的链接。 电脑一族必看的科学饮食 http://blog.chinaunix.net/u3/119126/showart_2337806.html 抵御电脑辐射从吃开始 http://blog.chinaunix.net/u3/119126/showart_2337785.html 上班族的五种防病食物 http://blog.chinaunix.net/u3/119126/showart_2337764.html 哪些人群最应该喝酸奶 http://blog.chinaunix.net/u3/119126/showart_2337734.html 计算机族必喝的健康饮料 http://blog.chinaunix.net/u3/119126/showart_2337676.html

chinaunix网友2010-09-26 15:12:17

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com