markus101 Posted January 13, 2009 Share Posted January 13, 2009 I got mplayer (for mencoder) and ffmpeg all setup on a stock unraid test box (using pre-packaged slack tgz files), despite it all being pre-compiled and ready for install it was 1 solid hour of downloading testing and then rinse and repeat, but it work and combining multiple AVI movies should be a snap...I hope, test files went smooth. I'm still very much a linux n00b, so pre-packaged was by far the easiest for me to accomplish this task. Here is the step-by-step instructions... Download the Following 28 31, yes 28 31 packages. I used a few Slackware sites, http://www.linuxpackages.net, http://packages.slackware.it and finally http://slackware-current.net So here is the list of packages: ffmpeg-20081102-i486-1gds.tgz mplayer-1.0rc2try4-i486-1kjz.tgz twolame-0.3.12-i486-1kjz.tgz faac-1.26-i486-1gds.tgz x264-20081031-i486-1gds.tgz xvidcore-1.1.3-i486-3gds.tgz lame-3.98.2-i486-1kjz.tgz libpng-1.2.27-i486-1.tgz libjpeg-6b-i486-5.tgz libungif-4.1.4-i486-4.tgz alsa-lib-1.0.15-i486-1.tgz cdparanoia-III10pre0-i486-1.tgz freetype-2.3.5-i486-1.tgz fontconfig-2.4.2-i486-2.tgz lzo-2.02-i486-1.tgz libmad-0.15.1b-i486-3.tgz speex-1.2rc1-i486-2kjz.tgz libtheora-1.0beta2-i486-1.tgz libogg-1.1.3-i486-2.tgz libmpcdec-1.2.6-i486-2gds.tgz faad2-2.6.1-i486-2gds.tgz a52dec-0.7.4-i486-2gds.tgz libvorbis-1.2.0-i486-1.tgz libdv-1.0.0-i486-2gds.tgz libX11-1.1.1-i486-4.tgz libxcb-1.0-i486-2.tgz libXau-1.0.3-i486-1.tgz libXdmcp-1.0.2-i486-1.tgz ibdc1394-2.0.2-i486-1gds.tgz libXext-1.0.4-i486-1.tgz libraw1394-2.0.0-i486-1gds.tgz Once you have all those, copy them to your unRAID flash drive (\\unraid\flash most likely in Windows). Then install them 1-by-1, this is the order that mencoder complained they were missing, so I just followed it along. installpkg ffmpeg-20081102-i486-1gds.tgz installpkg mplayer-1.0rc2try4-i486-1kjz.tgz etc, etc, until all 28 31 are installed... Then running mencoder will complain about a couple files missing, using the same packages as above you will have newer files, so the easiest is to symlink them. I needed to symlink 4 different files. ln -s /usr/lib/libx264.so.65 /usr/lib/libx264.so.59 ln -s /usr/lib/libx264.so.65 /usr/lib/libx264.so.54 ln -s /usr/lib/libavformat.so.52 /usr/lib/libavformat.so.51 ln -s /usr/lib/libavcodec.so.52 /usr/lib/libavcodec.so.51 Now running mencoder should return no errors. This is where I thought I was out of the woods, but had first off used an old ffmpeg which caused me issues, (I've listed the proper, working ffmpeg above), so give it a whirl, I used the following to test mencoder doing an AVI combine, which is my goal for this. mencoder -forceidx -ovc copy -oac copy -o /mnt/user/completed/output.avi /mnt/user/completed/input1.avi /mnt/user/completed/input2.avi Which combines input1.avi and input2.avi into a single file named output.avi There you go, mencoder + ffmpeg to convert whatever you want/need, with the included codecs of course. Hopefully this helps someone else out. --Markus 101-- *EDIT* Had to add a couple more packages, as the new ffmpeg needed a bit more than the previous version, up to 31 packages in total. Quote Link to comment
NAS Posted January 13, 2009 Share Posted January 13, 2009 Nice post. Can i suggest you add it to the wiki for posterity... over time it will get puched further and further away from the forefront on the forum. Quote Link to comment
markus101 Posted January 13, 2009 Author Share Posted January 13, 2009 Thanks NAS, added to the wiki. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.