Results 1 to 6 of 6

Thread: Merging mpg Files

  1. #1
    Join Date
    Feb 2007
    Beans
    110
    Distro
    Ubuntu 9.10 Karmic Koala

    Question Merging mpg Files

    Does anyone know of a good program to join a series of mpg files end to end? Either that, or is there a setting in k9copy I'm missing that would do it for me (ripping from a DVD)?

  2. #2
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Merging mpg Files

    Quote Originally Posted by 42Wired View Post
    Does anyone know of a good program to join a series of mpg files end to end? Either that, or is there a setting in k9copy I'm missing that would do it for me (ripping from a DVD)?
    avidemux
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  3. #3
    Join Date
    Jan 2008
    Beans
    4,305

    Re: Merging mpg Files

    If you like command line ffmpeg might help you.

  4. #4
    Join Date
    Feb 2007
    Beans
    110
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Merging mpg Files

    avidemux seems to make the audio choppy and out of sync, and doesn't like to append all of them when it asks me. I'll try manually appending them sometime when I have two hours to watch the movie to make sure they're in the correct order.

    I didn't find any commands to join mpg files on the man page for ffmpeg. Is there something I'm missing?

  5. #5
    Join Date
    Sep 2006
    Beans
    3,713

    Re: Merging mpg Files

    You can try using cat. The mpg format is usually cat friendly:
    Code:
    cat video1.mpg video2.mpg video3.mpg > joined.mpg
    If it doesn't play back very well you can use FFmpeg to place the video and audio into a new container:
    Code:
    ffmpeg -i all.mpg -acodec copy -vcodec copy joineded.mpg
    Neither of these commands will re-encode your video and audio and therefore will preserve the quality.

  6. #6
    Join Date
    Feb 2007
    Beans
    110
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Merging mpg Files

    Quote Originally Posted by FakeOutdoorsman View Post
    You can try using cat. The mpg format is usually cat friendly:
    Code:
    cat video1.mpg video2.mpg video3.mpg > joined.mpg
    If it doesn't play back very well you can use FFmpeg to place the video and audio into a new container:
    Code:
    ffmpeg -i all.mpg -acodec copy -vcodec copy joineded.mpg
    Neither of these commands will re-encode your video and audio and therefore will preserve the quality.
    cat is exactly what I was looking for. Thanks!

Tags for this Thread

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
  •