LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   convert avi to mpeg (http://www.linuxquestions.org/questions/linux-software-2/convert-avi-to-mpeg-113664/)

xgreen 11-08-2003 01:13 AM

convert avi to mpeg
 
anybody knows how to convert avi files to mpeg using mplayer

Muddy 11-08-2003 01:19 AM

use avidemux2. It's way easy and Open Source!

http://fixounet.free.fr/avidemux/

I've been using it to clean up my mythtv recordings and remove the commericals, then convert them to svcd. Works very well.

MasterC 11-08-2003 02:08 AM

Could you expand on the process you've mentioned above, and maybe a bit on how to use the tools you've been using ;) Thanks!

Cool

xgreen 11-08-2003 02:42 AM

i have download avidemux-2.0.18 but got error when installing

config.status: error: cannot find input file: po/Makefile.in

Thanks

DirtDart 11-08-2003 07:02 AM

Quote:

use avidemux2. It's way easy and Open Source!

http://fixounet.free.fr/avidemux/

Thanks for the link...I'll have to check that out.

Muddy 11-08-2003 07:39 AM

Yea, AviDemux is very nice. You load up the file you want, being a mythtv .nuv or avi or whatever. Then use the frame seek buttons or scroll to the points you want to edit out or cut or join or whatever. When you done editing the video you save the edit list. Which is great because it does not affect the original video at all so if you mess it up you've harmed nothing. Then you reload the edl edit list and setup your video and audio codec and filters (many great options) and save the video and audio and then you can use mjpegtools or transcode to join the files together.

What I got working now is I can batch process many recordings at once while I'm at work with a nice little script I wrote. If anyone is interested I'll write out the details and post the script.

Also avidemux's website has many helpful walkthrough's and an active forum.

DaveQB 11-30-2003 09:30 AM

that script would be nice thanx :)

<< Linux newbie :D

Muddy 11-30-2003 09:45 AM

all I did was make a file called edl_script and I put the following in it.

#!/bin/bash
# Muddy's Avidemux2 EDL Script

avidemux2 --load video1.edl --video-process --save video1.m2v --quit
mplex -f 4 -V -s 2324 -p 1 -o video1.mpg video1.mp2 video1.m2v
avidemux2 --load video2.edl --video-process --save video2.m2v --quit
mplex -f 4 -V -s 2324 -p 1 -o video2.mpg video2.mp2 video2.m2v
#avidemux2 --load video3.edl --video-process --save video3.m2v --quit
#mplex -f 4 -V -s 2324 -p 1 -o video3.mpg video3.mp2 video3.m2v
#avidemux2 --load video4.edl --video-process --save video4.m2v --quit
#mplex -f 4 -V -s 2324 -p 1 -o video4.mpg video4.mp2 video4.m2v
#avidemux2 --load video5.edl --video-process --save video5.m2v --quit
#mplex -f 4 -V -s 2324 -p 1 -o video5.mpg video5.mp2 video5.m2v
#avidemux2 --load video6.edl --video-process --save video6.m2v --quit
#mplex -f 4 -V -s 2324 -p 1 -o video6.mpg video6.mp2 video6.m2v
#avidemux2 --load video7.edl --video-process --save video7.m2v --quit
#mplex -f 4 -V -s 2324 -p 1 -o video7.mpg video7.mp2 video7.m2v
#avidemux2 --load video8.edl --video-process --save video8.m2v --quit
#mplex -f 4 -V -s 2324 -p 1 -o video8.mpg video8.mp2 video8.m2v


chmod 755 the file and either uncomment or comment the lines you need for it to work.
You first must have the edl file saved and the audio (ie... .mp2) file also saved.
All this script will do is make the video file and mux it to the audio making the final mpeg file.


All times are GMT -5. The time now is 02:48 AM.