Results 1 to 10 of 13

Thread: how to split mp3 files

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    UK
    Beans
    278
    Distro
    Kubuntu

    how to split mp3 files

    Can anyone give me an example?

    I want to split audio files at cirtain point in time.

    Thanks

  2. #2
    Join Date
    Jan 2009
    Location
    Flanders
    Beans
    Hidden!

    Re: how to split mp3 files

    Audacity can do the trick.

    Code:
    sudo aptitude install audacity
    audacity
    You do need the mp3 codecs to edit mp3's. If you can play mp3, you have the codecs.

  3. #3
    Join Date
    Mar 2009
    Location
    UK
    Beans
    278
    Distro
    Kubuntu

    Re: how to split mp3 files

    Thanks for the suggestion.

    I'm looking for a command line to do the job

    Bill Lancaster

  4. #4
    Join Date
    Mar 2009
    Location
    UK
    Beans
    278
    Distro
    Kubuntu

    Re:using ffmpeg

    OK, ffmpeg looks interesting, here is what I got


    bill@ubuntu:~$ ffmpeg -f mp3 -i /home/bill/classic.mp3 -t 00:10:00 -ss 00:20:00 - o /home/bill/save.mp3

    FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
    libavutil 49.15. 0 / 49.15. 0
    libavcodec 52.20. 1 / 52.20. 1
    libavformat 52.31. 0 / 52.31. 0
    libavdevice 52. 1. 0 / 52. 1. 0
    libavfilter 0. 4. 0 / 0. 4. 0
    libswscale 0. 7. 1 / 0. 7. 1
    libpostproc 51. 2. 0 / 51. 2. 0
    built on Mar 4 2010 12:35:30, gcc: 4.4.3
    Input #0, mp3, from '/home/bill/classic.mp3':
    Duration: 02:52:16.05, start: 0.000000, bitrate: 127 kb/s
    Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s
    Unable to find a suitable output format for 'pipe:'

    Any ideas?

    Bill Lancaster

  5. #5
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: how to split mp3 files

    This command should be OK:-
    Code:
    ffmpeg -i /home/bill/classic.mp3 -t 00:10:00 -ss 00:20:00 -acodec copy /home/bill/save.mp3
    Edit
    The above command should start 20 minutes in with 10 minutes duration.
    Last edited by ron999; October 5th, 2010 at 05:51 PM. Reason: Explanation about times.

  6. #6
    Join Date
    Mar 2009
    Location
    UK
    Beans
    278
    Distro
    Kubuntu

    Re: how to split mp3 files

    Ron999 - it works a treat.
    Many thanks

  7. #7
    Join Date
    Jul 2009
    Beans
    380

    Re: how to split mp3 files

    Quote Originally Posted by bill-lancaster View Post
    I want to split audio files at cirtain point in time.
    split an audio file using ffmpeg

    About Cinelerra

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •