ffmpeg mp4 splitting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cwd
    Confirmed User
    • Feb 2006
    • 1955

    #1

    ffmpeg mp4 splitting

    Hello,
    I'm looking for a ffmpeg command to split a mp4 file without re-encoding it.
    Someone here have done that?
    Thanks
  • - Jesus Christ -
    Confirmed User
    • Mar 2003
    • 7197

    #2
    I use Avidemux

    btw it took me 2 seconds on google to find answers for what you just ask...
    Last edited by - Jesus Christ -; 06-27-2012, 05:35 AM.

    Amen

    Comment

    • cwd
      Confirmed User
      • Feb 2006
      • 1955

      #3
      I know, I searched on google but I forgot to mention that I need the command line to work with ElevatedX, my bad.

      Comment

      • Why
        MFBA
        • Mar 2003
        • 7230

        #4
        -ss 1:00:00 -t 2:00:00 -acodec copy -vcodec copy

        where 1:00:00 is the start time and 2:00:00 would be the end time.
        -ss and -t need to remain in THAT order and need to be at the beginning of the command line. even before your -i.

        i dont know the specifics of what other videos you are delivering so i cant help you with the full command line input. if you have an existing one youd like to port, post it here and i can fix it for you.

        Comment

        • fris
          Too lazy to set a custom title
          • Aug 2002
          • 55679

          #5
          Originally posted by cwd
          Hello,
          I'm looking for a ffmpeg command to split a mp4 file without re-encoding it.
          Someone here have done that?
          Thanks
          use the copy command so it doesnt re-encode like so

          Code:
          ffmpeg -ss 00:00:00 -t 00:50:00 -i largefile.mp4 -acodec copy -vcodec copy smallfile.mp4
          Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

          Comment

          • cwd
            Confirmed User
            • Feb 2006
            • 1955

            #6
            Thanks Why and Fris, I will transfert this to Elevatex X and see if they can integrate it.

            Comment

            Working...