Is there a (at best free) solution to merge AVI-Files in Mac OS X Lion without the need to recode them? (Until Snow Leopard I used D-Vision 3, which won't run on Lion because it's PPC.)
7 Answers
To make your copy of avidemux2.app work, simply open the application bundle (show package contents in finder) and remove the files libxml.2.dylib and libiconv.2.dylib from the Contents/Resources/lib folder.
This will make avidemux2 use the versions that ship with Lion and which seem to work just fine.
-
1Thanks, good information. Did not know I could delete them instead of replacing them.– ChrisCommented Aug 13, 2011 at 22:49
This works for me:
cat part1.avi part2.avi part3.avi > tmp.avi && mencoder -forceidx -oac copy -ovc copy tmp.avi -o output.avi && rm -f tmp.avi
Then output.avi should not only have the whole content but also have the indexes recalculated so the whole movie plays.
-
1
-
1NB: The command line is quite long so be careful when copying it. Commented Mar 9, 2013 at 10:59
-
1
-
2-bash: mencoder: command not found. Download ffmpegXbinaries20060307.zip unzip and then copy mencoder to /usr/local/bin and then above works wonderful. THANKS! Commented Jun 29, 2013 at 17:03
-
2@westondeboer If you've got macports installed,
sudo port install mplayer
Commented Sep 5, 2013 at 1:29
Avidemux is an open source tool for editing/combining videos, and there is a Mac port:
-
2Thanks. Avidemux does not support Lion at the moment. Avidemux uses a lion-incompatible version of the library libiconv.2.dylib. I got it working by replacing the library with a patched version from GnuCash: bugzilla.gnome.org/attachment.cgi?id=192432– ChrisCommented Aug 5, 2011 at 10:44
Try this Lion-compatible Version of D-Vision 3: D-Vision 3 (Intel)
-
1Where did you get this version from? I'm not that comfortable with downloading programs from unknown sources.– ChrisCommented Aug 12, 2011 at 17:49
-
Actually the author's site has a universal binary: objectifmac.com/dvision.php– w00tCommented Aug 13, 2011 at 15:01
-
@w00t: You're right. In fact the D-Vision main app works on Lion, while joining AVIs with D-Vision does not. You can start it, select the tool to join AVIs, select your AVI-files and start the task. I checked "delete source files when task is finished" (as always) and then I got the Rosetta-error and also lost my source-files.– ChrisCommented Aug 13, 2011 at 22:48
-
@Chris: actually I just copied the universal-binary-files from the newest D-Vision 4 beta into the old D-Vision 3 App-Bundle.– fheuselCommented Aug 18, 2011 at 7:31
D-Vision will work with OS X Lion. Just use mencoder
and not the default avimerge
.
- Download newest version of ffmpegX.
- Right click “Show Package Contents”
- Copy avimerge located in Contents > Resources > avimerge.
- Paste the avimerge file in the same location within D-Vision.app file. To do this, right click “Show Package Contents” at the "D-vision.app" icon and paste it in "Contents > Resources".
D-Vision will then work a treat in Lion OS X.
Here is a way that requires absolutely no additional software. If you have OS X, you can do this. Open Terminal and do this:
cat /path/to/part1.avi /path/to/part2.avi > /path/to/where/you/want/whole.avi
-
-
What do you mean by "it doesn't work"? You'll have to be more specific if you want some help.– bernkCommented Dec 4, 2012 at 9:36
-
This is great accept it doesn't work for me either.... I end up with only the first video in the output file (Mountain Lion) Commented Feb 1, 2013 at 21:14
-
1This would probably only work for files that don't require any kind of header. To my knowledge, .avi files have a header so basically, this would only append the 2nd .avi file to the end of the first but the header information won't be there for it to be played. Commented Mar 9, 2013 at 10:16
-
The output file has the size of the combined input files, but only the first video file plays. The avi player ignores the rest of the data.– SMBiggsCommented Jan 26, 2022 at 6:55
ffmpeg
the tool for this.