LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-11-2007, 08:42 AM   #1
cornellg
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
How do I convert avi to mpeg 1 with a maximum file size?


Hi there!

I wanted to upload some videoclips to a smugmug gallery. They have to be mpeg1 files with a maximum size of 8 MB.
I managed to convert the avi files my camera shoots to mpeg using tovid, but then noticed that those are probably mpeg2, which won't do.

What programme or programmes will let me convert avi to mpeg 1 allowing me to set a maximum size? Ease of use and a gui would be nice, if possible.

Any help is much appreciated.
Cornell

PS Platform is Ubuntu Dapper Drake

Last edited by cornellg; 06-12-2007 at 08:05 AM.
 
Old 06-11-2007, 09:35 AM   #2
chuckbuhler
Member
 
Registered: Oct 2005
Distribution: SuSe
Posts: 95

Rep: Reputation: 17
I don't know about the maximum file size, but you could use ffmpeg to do the conversion. Try -

ffmpeg -i myfile.avi newfile.mpg

or something similar.
 
Old 06-12-2007, 08:05 AM   #3
cornellg
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Tanks Chuck, it worked! The compression rate is so high that most of the clips are below the maximum of 8MB.

Still, I would like to be able to set the size manually as the quality is now often suffering needlessly. I checked ffmpeg's man page, but didn't see anything that would let me set a file size. Or do I need to calculate a bit rate that would result in a file close to 8MB? That seems tedious, there must be some programme that does this automatically. Anyone?
 
Old 09-09-2007, 07:07 PM   #4
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

Try here for many thoughts and many questions about image saving. http://books.google.com/books?id=OZV...#PRA1-PA109,M1
 
Old 09-10-2007, 04:19 AM   #5
cornellg
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, I'll give it a read!
 
  


Reply



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
Convert MPEG4 to AVI or MPEG mikerouse Linux - Software 1 05-02-2007 06:38 PM
avi to mpeg, reduce size of mpeg? gunnix Linux - General 5 03-04-2007 05:55 PM
Convert AVI to MPEG? mrgrieves Linux - Software 1 07-10-2004 03:04 PM
How to convert the MPEG file to AVI file? stiphon General 3 06-08-2004 07:22 PM
convert avi to mpeg xgreen Linux - Software 7 11-30-2003 09:45 AM

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

All times are GMT -5. The time now is 06:42 AM.

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