Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: HOWTO: easily join separate mpeg files into one file.

  1. #11
    Join Date
    Mar 2005
    Beans
    147

    Re: HOWTO: easily join separate mpeg files into one file.

    If you have transcode installed you can use avimerge to merge multiple avi files together: avimerge -o big.avi -i file1.avi file2.avi file3.avi

    As for converting the avi to vcd, avidemux is a good program for this. It will allow you to convert the file, and choose the bit rate in order to ensure that the outputed file will fit on a cd or dvd (whichever you choose). I used this tutorial: http://forum.videohelp.com/viewtopic.php?t=242455 to convert some avi movies into dvd format. There is an option in the conversion dialog to convert to vcd.

  2. #12
    Join Date
    Jun 2005
    Location
    South Africa
    Beans
    259
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: easily join separate mpeg files into one file.

    thank you! i will try it out... and.. merry christmas!

  3. #13
    Join Date
    Aug 2005
    Beans
    43
    Distro
    Dapper Drake Testing/

    Re: HOWTO: easily join separate mpeg files into one file.

    you can also use mpgtx (install it via APT)...

    then just " mpgtx -j file01.mpg file02.mpg -o output_name.mpg " ...

  4. #14
    Join Date
    Apr 2005
    Location
    Sheffield UK
    Beans
    61
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: HOWTO: easily join separate mpeg files into one file.

    I've just tried this on realmedia files on dapper, it doubles the file size but dosen't join the files simply over writes one why the file size increase I don't know. anybody any ideas on how to handles realmedia files?
    Thanks
    Linux user #387904

  5. #15
    Join Date
    Jun 2006
    Location
    Red Sox Nation
    Beans
    40
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: easily join separate mpeg files into one file.

    Quote Originally Posted by poptones
    It will also work on ANY AVI files so long as you have mplayer installed. After joining some arbritrary group of AVI files via "cat," tell mplayer to rebuild the index

    mencoder -forceidx -oac copy -ovc copy infile.avi -o outfile.avi
    Sweet...this will come in handy; thanks for the info.

  6. #16
    Join Date
    Jun 2005
    Location
    bonn, germany
    Beans
    49

    Re: HOWTO: easily join separate mpeg files into one file.

    or easier:

    Code:
    mencoder -oav copy -ovc copy -o output.avi 1.avi 2.avi
    i must cease the senseless sucking

  7. #17
    Join Date
    Aug 2007
    Location
    Saint Louis, MO. USA
    Beans
    209
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: easily join separate mpeg files into one file.

    Quote Originally Posted by bluebyt View Post
    Thank you very much! I was looking for that since I installed Ubuntu 1 month ago.

    cat Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.001 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.002 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.003 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.004 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.005 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.006 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.007 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.008 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.009 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.010 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.011 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.012 Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg.013 > Madonna\ -\ Hung\ up\ (live\ at\ EMA).mpg
    bash: syntax error near unexpected token `('

    Where is the syntax error, please?
    You need to change directory into the \Madonna file by entering 'cd Madonna' in the terminal. Then you don't have to put the directory in for every file. That's probably your syntax error.

  8. #18
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    761
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question Re: HOWTO: easily join separate mpeg files into one file.

    I am trying to join multiple mpg files using
    Code:
    cat MpegA.MPG MpegB.MPG > MpegAB.MPG
    but the resulting file only shows the data from MpegA, and nothing from MpegB.

    Any ideas?

    Thank you, this would be cool if I could get it to work.
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

  9. #19
    Join Date
    Aug 2007
    Location
    Saint Louis, MO. USA
    Beans
    209
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: HOWTO: easily join separate mpeg files into one file.

    I have the same issue. It only shows the data from the first mpeg file. Haven't found a way to fix that issue yet without considerably degrading the audio quality.

  10. #20
    Join Date
    Nov 2011
    Location
    Portugal - Chaves
    Beans
    177
    Distro
    Lubuntu

    Re: HOWTO: easily join separate mpeg files into one file.

    IM not sure but maybe with lxsplit you can do this joining try-

    lxsplit -j /path to first file

    (atention all files parts of this mpeg files needs are in same directory.)

Page 2 of 3 FirstFirst 123 LastLast

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
  •