iFocus.Life News News - Breaking News & Top Stories - Latest World, US & Local News,Get the latest news, exclusives, sport, celebrities, showbiz, politics, business and lifestyle from The iFocus.Life,

How to Convert AVI to MPG in Ubuntu

104 40

    VLC Media Player

    • 1). Download and install the VLC Media Player software (see "Resources" section for link). You can get the VLC software through the Synaptic package manager or directly from the VideoLan website.

    • 2). Open a terminal window. The terminal window will be found under the "Accessories" section of the main "Applications" menu.

    • 3). Type the command "cd Video" to navigate to the directory where your ".avi" file is stored. Replace the word "Video" with the correct name of the directory.

    • 4). Type the command "vlc input.avi --sout='#transcode{vcodec=mp1v, acodec=mpga}:std{access=file, mux=mpeg1,url=output.mpg}'" to convert the video. Replace "input.avi" and "output.mpg" with the correct file names.

    • 5). Type the command "exit" to close the terminal window.

    Mencoder

    • 1). Download and install the MPlayer utility (see Resources). You can get Mplayer through the Synaptic package manager or directly from the MPlayer website.

    • 2). Open a terminal window. The terminal window will be found under the "Accessories" section of the main "Applications" menu.

    • 3). Type the command "cd Video" to navigate to the directory where your ".avi" file is stored. Replace the word "Video" with the correct name of the directory.

    • 4). Type the command "mencoder original.avi -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o final.mpg -oac lavc -lavcopts acodec=mp2:abitrate=224 -ovc lavc -lavcopts vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3" to convert the file. Change "original.avi" and "final.mpg" to the correct file names.

    • 5). Type "exit" to close the terminal window or command prompt window when the conversion is complete.

    WinFF

    • 1). Download and install the WinFF software through the Synaptic package manager or directly from the WinFF website (see "Resources" section for link).

    • 2). Open the WinFF program. It will be found under the "Sound and Video" section of the main "Applications" window.

    • 3). Click the "Add" button and locate the ".avi" file that you want to convert.

    • 4). Choose the "VCD" option from the "Convert To" drop-down list.

    • 5). Choose the correct values for your region from the "Device Presets" drop-down list.

    • 6). Click the "Convert" button.

Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time
You might also like on "Technology"

Leave A Reply

Your email address will not be published.