LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-08-2003, 01:13 AM   #1
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Ubuntu
Posts: 389

Rep: Reputation: 30
convert avi to mpeg


anybody knows how to convert avi files to mpeg using mplayer
 
Old 11-08-2003, 01:19 AM   #2
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
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.
 
Old 11-08-2003, 02:08 AM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 11-08-2003, 02:42 AM   #4
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Ubuntu
Posts: 389

Original Poster
Rep: Reputation: 30
i have download avidemux-2.0.18 but got error when installing

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

Thanks
 
Old 11-08-2003, 07:02 AM   #5
DirtDart
Member
 
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
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.
 
Old 11-08-2003, 07:39 AM   #6
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
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.
 
Old 11-30-2003, 09:30 AM   #7
DaveQB
Member
 
Registered: Oct 2003
Location: Sydney, Australia.
Distribution: PCLinuxOS 2010.12, Debian Lenny
Posts: 387

Rep: Reputation: 38
that script would be nice thanx

<< Linux newbie
 
Old 11-30-2003, 09:45 AM   #8
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Program which can convert RMVB to MPEG or AVI AoiSora Linux - Software 1 08-29-2005 09:59 PM
Convert AVI to MPEG? mrgrieves Linux - Software 1 07-10-2004 03:04 PM
Mplayer issues. Trying to convert WMV to AVI or MPEG mandika Linux - Software 3 06-20-2004 05:12 PM
How to convert the MPEG file to AVI file? stiphon General 3 06-08-2004 07:22 PM
How to convert mpeg file in mpeg-PS or TS hawkgreatelf Linux - Software 1 05-01-2003 06:09 AM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration