Results 1 to 8 of 8

Thread: Avidemux: converting from .avi to .mp4

  1. #1
    Join Date
    Mar 2009
    Beans
    30

    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!

  2. #2
    Join Date
    Oct 2008
    Location
    Tulsa,Ok
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    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
    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
    Last edited by duanedesign; October 18th, 2009 at 06:57 PM.

  3. #3
    Join Date
    Oct 2008
    Location
    Tulsa,Ok
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Avidemux: converting from .avi to .mp4

    You might also try the Unix-like channel on the Avidemux Forums.

    Good Luck

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

    Re: Avidemux: converting from .avi to .mp4

    Quote Originally Posted by duanedesign View Post
    ...
    Just plain FFMPEG
    Enable Medibuntu repository.
    In a Terminal run:
    Code:
    sudo apt-get install ffmpeg
    ...
    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

  5. #5
    Join Date
    Mar 2007
    Location
    127.0.0.1
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Avidemux: converting from .avi to .mp4

    Any solution to this? I'm running Karmic and I have the exact same problem...
    Registered user267386
    Answear a post if you got time or if you just want to avoid doing something else...
    Underestimated help just as this little friend.
    Don't forget to close the threads once answered.

  6. #6
    Join Date
    Apr 2005
    Beans
    18
    Distro
    Xubuntu 6.06 Dapper

    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."

  7. #7
    Join Date
    Dec 2008
    Beans
    21

    Re: Avidemux: converting from .avi to .mp4

    Quote Originally Posted by beowulf62381 View Post
    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!

  8. #8
    Join Date
    Jun 2011
    Location
    Bratislava, SVK
    Beans
    25
    Distro
    Ubuntu 11.04 Natty Narwhal

    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

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
  •