Avidemux: converting from .avi to .mp4
Hey all, I have been having troubles trying to convert a certain avi file on my computer to the format used by the iPod so I can put it on there. ive searched quite a bit, but none seem to be very helpful. anyways, how exactly do I use avidemux to convert from avi to mp4 (i think thats the right file.)?
ps, the 'auto' thing on the menu bar keeps saying 'Cannot select the MPEG-4 SP codec.' so that would help me a lot to know what that means... thanks all!
Re: Avidemux: converting from .avi to .mp4
If you dont get Avidemux working, here are some alternative methods.
Winff
In the Terminal run:
Code:
sudo apt-get install ffmpeg winff
Quote:
WinFF is probably the most user-friendly tool for converting videos and extracting audio from videos in GNU/Linux. Avidemux is a popular and useful video editing application, which makes it quite simple to cut and crop videos to your liking, and much more.
Tip: To make a video for a mobile phone in WinFF, select 3g2 as the type of video you want to make, but change the extension from ".3g2" to ".mp4" when the video is complete. To increase the audio quality of the video, click on "Options" within WinFF, and in the option labelled "Audio Bitrate", type "96000" (default is 64000, which is 64kbps). However, your phone may not play it properly with the audio at 96kbps, depends really. Test it yourself.
Just plain FFMPEG
Enable Medibuntu repository.
In a Terminal run:
Code:
sudo apt-get install ffmpeg
Download this script and save it to /tmp
pypodconv
In a Terminal run these three (3) commands one at a time.
Code:
sudo apt-get install gpac
sudo mv /tmp/pypodconv /usr/local/bin/pypodconv
sudo chmod +x /usr/local/bin/pypodconv
Then the command to convert the video would be:
Code:
pypodconv -i INPUT_FILE -o OUTPUT_FILE
This by defaults to a 200kbit/s 320xNNN 2-pass H.264 video, for iPod viewing. If you want to make 500kbit high-definition encodes:
Code:
pypodconv -i INPUT_FILE -o OUTPUT_FILE --hd -b 500
Re: Avidemux: converting from .avi to .mp4
You might also try the Unix-like channel on the Avidemux Forums.
Good Luck :)
Re: Avidemux: converting from .avi to .mp4
Quote:
Originally Posted by
duanedesign
Medibuntu only offers FFmpeg for Ubuntu Hardy Heron. Newer versions of Ubuntu have other options:
HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoding in FFmpeg
If you're going to encode often, then I recommend compiling your own FFmpeg. Development of FFmpeg is incredibly active and by compiling it yourself you can take advantage of bug fixes and new features such as the iPod preset for the H.264 encoder (libx264). Easy to follow instructions to compile are linked to in the URL above. Here's an example command using a recent FFmpeg:
Code:
ffmpeg -i input.avi -acodec libfaac -ac 2 -ab 128k -vcodec libx264 -vpre hq -vpre ipod640 -s 640x480 -crf 26 -threads 0 output.mp4
Re: Avidemux: converting from .avi to .mp4
Any solution to this? I'm running Karmic and I have the exact same problem...
Re: Avidemux: converting from .avi to .mp4
Posted by Whaevr on avidemux fourms
"This is an issue with the gtk interface, use the qt interface and it'll work fine."
Re: Avidemux: converting from .avi to .mp4
Quote:
Originally Posted by
beowulf62381
Posted by Whaevr on
avidemux fourms
"This is an issue with the gtk interface, use the qt interface and it'll work fine."
NICE! Thank you!:popcorn:
Re: Avidemux: converting from .avi to .mp4
Hello I have found out that Avidemux GTK+ does not work with the I pod,
I have used this instead:
Code:
apt install avidemux-qt
and this guide:
http://www.linuxondesktop.in/2008/05...udiovideo.html