LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-14-2005, 08:40 PM   #1
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Rep: Reputation: 30
AVI to MPG convertor?


So I got myself a DVD burner. I have an avi file that I want to burn to a DVD so I can play it on a stand alone DVD player; however I understand that the avi file must be converted to mpg first before I can burn it into a format that a stand alone player will understand. Is there an avi to mpg convertor for linux? Command line or GUI is fine. Will the video quality suffer somewhat if I convert it to mpg?
 
Old 06-15-2005, 01:29 AM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
You likely will have a bit of quality dropoff...

You can do this with mencoder...
You might take a look at this thread for a little help, and mencoder manual page for more information.
 
Old 06-16-2005, 07:32 PM   #3
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Original Poster
Rep: Reputation: 30
Hmmmm, I'm confused. I tried using mencoder to convert an avi to mpg. I used the command:

Code:
mencoder -oac copy -ovc lavc -lavcopts vcodec=mpeg4 -o cyclism.mpg Cyclism28May.avi
However, K3B won't burn the resulting mpg when I try to create a video disc. Instead it gives me the message:

Code:
Only MPEG1 and MPEG2 video files are supported
When I try to convert the avi to mpg using the mpeg2video codec in mencoder I get the following error:

Code:
videocodec: libavcodec (576x432 fourcc=3267706d [mpg2])
[mpeg2video @ 0x85b4ee0]MPEG1/2 doesnt support 2997/100 fps
Could not open codec.
FATAL: Cannot initialize video driver.
How do I get mencoder to convert the avi file to an mpg file that is burnable to a video disc (VCD or SVCD)?

I also tried using tovid to do the conversion, but it too gives me an error part way through the conversion process.
 
Old 10-29-2005, 02:42 PM   #4
formosan2008
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
>mencoder -oac copy -ovc lavc -lavcopts vcodec=mpeg4 -o cyclism.mpg Cyclism28May.avi
add this parameter on to yours,
-ofps 3000/100
 
Old 10-29-2005, 05:51 PM   #5
z9_87
Member
 
Registered: Dec 2004
Location: Urbana, IL
Distribution: Ubuntu 6.10
Posts: 118

Rep: Reputation: 15
check out tovid. Great set of scripts, make this very easy.

http://tovid.sourceforge.net/
 
Old 10-29-2005, 08:01 PM   #6
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
How about avidemux?
http://avidemux.sourceforge.net/
 
Old 10-30-2005, 06:30 PM   #7
z9_87
Member
 
Registered: Dec 2004
Location: Urbana, IL
Distribution: Ubuntu 6.10
Posts: 118

Rep: Reputation: 15
I tried avidemux but the audio never matched the video. Just my experience with it though.
 
Old 10-30-2005, 10:08 PM   #8
trawler
Member
 
Registered: Oct 2005
Distribution: Ubuntu 5.10
Posts: 50

Rep: Reputation: 15
try this manual:
http://forums.gentoo.org/viewtopic.php?t=117709

i used it, step by step, and its excellent - worked for a newbie like me, which is quite remarkable
 
Old 10-30-2005, 10:16 PM   #9
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Quote:
Originally posted by z9_87
I tried avidemux but the audio never matched the video. Just my experience with it though.
I think you'll find the Timeshift option in Audio Filter settings fixes that.
In many cases (I think with mpegs) avidemux will notify you if the sound is out of sync.
 
  


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
DVD to MPG/AVI ahz10 Linux - Software 1 08-31-2005 03:27 PM
avi to mpg conversion Seifer Linux - Software 2 03-08-2005 09:23 PM
converting .avi to .mpg!? ungua Linux - Software 6 02-06-2005 06:05 PM
need to compress an .mpg to .avi drawhla Linux - Software 1 11-03-2004 07:39 AM
Converting avi to mpg OR creating an SVCD from an avi MasterC Linux - Software 5 03-28-2003 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration