Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #205086

Re: how to select part of old mp3 and create new one

From Long Wind <longwind2@yahoo.com>
Newsgroups linux.debian.user
Subject Re: how to select part of old mp3 and create new one
Date 2019-02-07 10:20 +0100
Message-ID <xoO0F-7WN-1@gated-at.bofh.it> (permalink)
References <xoLYS-6Ke-5@gated-at.bofh.it> <xoLYS-6Ke-3@gated-at.bofh.it> <xoNnX-7tz-1@gated-at.bofh.it> <xoNHj-7Av-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Thank tomas!i've just tested your command, it's OK
Thank crane and Michael too! 

    On Thursday, February 7, 2019 4:55 PM, "tomas@tuxteam.de" <tomas@tuxteam.de> wrote:
 

 On Thu, Feb 07, 2019 at 08:33:15AM +0000, mick crane wrote:
> On 2019-02-07 07:08, Long Wind wrote:
> >i want to copy part of old mp3 file and create a new oneat first, i
> >install lame, but it doesn't seem to have such abilityi try mencoder,
> >it doesn't eitherthen i try qmp3cut, it says "no valid header
> >found"though i can play the mp3 file and it's OK
> >what should i do next? Thanks!
> 
> ffmpeg
> 
> don't have exact syntax to hand

ffmpeg's man page is pretty complete, but pretty daunting too. Here's
a command line to help jump-start things (corrections/enhancements
welcome):

  ffmpeg -i input.mp3 -ss 10 -t 20 -acodec mp3 output.mp3

This is assuming you want to have your result as .mp3 too (consider
a free codec like vorbis or flac, if you want lossless).

Here's a rundown of the above command line:

  -i input.mp3  -- the input file. Replace by "your" name

  -ss 10        -- the start time (in seconds). You can use a
                  duration in the hh:mm:ss.ffff format (cf.
                  man page ffmpeg-utils(1)

  -t 20        -- the duration (just leave it out if you want
                  copy all to the end). Format as above.

  -acodec mp3  -- the audio codec for output. See ffmpeg man
                  page for possibilities (audio & video codecs
                  have options of their own, lots of fun for
                  long winter afternoons :-)

  output.mp3    -- your desired output file name

Cheers
-- t

   

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

how to select part of old mp3 and create new one Long Wind <longwind2@yahoo.com> - 2019-02-07 08:10 +0100
  Re: how to select part of old mp3 and create new one mick crane <mick.crane@gmail.com> - 2019-02-07 09:40 +0100
    Re: how to select part of old mp3 and create new one <tomas@tuxteam.de> - 2019-02-07 10:00 +0100
      Re: how to select part of old mp3 and create new one Long Wind <longwind2@yahoo.com> - 2019-02-07 10:20 +0100
        Re: how to select part of old mp3 and create new one <tomas@tuxteam.de> - 2019-02-07 10:40 +0100
      Re: how to select part of old mp3 and create new one Nicolas George <george@nsup.org> - 2019-02-07 10:30 +0100
        Re: how to select part of old mp3 and create new one tomas@tuxteam.de - 2019-02-07 10:40 +0100
          Re: how to select part of old mp3 and create new one Jude DaShiell <jdashiel@panix.com> - 2019-02-07 18:40 +0100
            Re: how to select part of old mp3 and create new one tomas@tuxteam.de - 2019-02-07 18:50 +0100
              Re: how to select part of old mp3 and create new one Jude DaShiell <jdashiel@panix.com> - 2019-02-07 19:00 +0100
        Re: how to select part of old mp3 and create new one Long Wind <longwind2@yahoo.com> - 2019-02-07 11:00 +0100
  Re: how to select part of old mp3 and create new one Michael Lange <klappnase@freenet.de> - 2019-02-07 10:00 +0100
  Re: how to select part of old mp3 and create new one songbird <songbird@anthive.com> - 2019-02-07 12:20 +0100
    Re: how to select part of old mp3 and create new one Long Wind <longwind2@yahoo.com> - 2019-02-07 13:20 +0100
      Re: how to select part of old mp3 and create new one songbird <songbird@anthive.com> - 2019-02-07 13:50 +0100
    Re: how to select part of old mp3 and create new one Curt <curty@free.fr> - 2019-02-07 13:30 +0100
      (solved)Re: how to select part of old mp3 and create new one Long Wind <longwind2@yahoo.com> - 2019-02-07 13:50 +0100

csiph-web