LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-08-2005, 09:27 AM   #1
drumvudu
Member
 
Registered: Jul 2004
Location: Houston, Texas USA
Distribution: Linux Mint
Posts: 57

Rep: Reputation: 15
How to create AVI's that are not so big


Hey guys, i use motv to record off my composite input but i am having trouble trying to figure out what the best way to record a feature length movie without the file being several gigs. I see files all the time on the p2p networks that are entire movies that will fit on a single cd. How do you accomplish this in linux? I have tried several file formats including raw and then encoding with the mjpegtools suite to no avail. Well, I guess i should say that it helped a little but the files are still way to large. Could someone give me a few suggestions. I am certainly not married to motv if you can give me a better solution. Thanks, Peter
 
Old 02-08-2005, 11:41 AM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
There is *much* to learn in this area ... Far too much for a post here. I'd suggest you read some of the docs on Doom9 and then investigate transcode or mencoder.

The short answer is that you'll want to compress them to DivX, XviD, or something similar.
 
Old 02-08-2005, 01:56 PM   #3
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
In Acidrip, there's a little box in the preferences in the GUI tool that comes with it for customizing the size of you en-product AVI file.
 
Old 02-08-2005, 02:03 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Keyword in size of movie type files.. bitrate
 
Old 02-08-2005, 02:44 PM   #5
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Quote:
Originally posted by trickykid
Keyword in size of movie type files.. bitrate
The codec is more of a factor than the bitrate, but yeah, that too.
 
Old 02-08-2005, 02:57 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
how abuot we just say that they are BOTH important for different reasons.... no need to fight!

and also let's say acidrip can easy handle both.
 
Old 02-08-2005, 03:01 PM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hey what about scaling the moving down to little lower scale

that would also reduce the size i think

regards
 
Old 02-08-2005, 03:06 PM   #8
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Quote:
Originally posted by acid_kewpie
how abuot we just say that they are BOTH important for different reasons.... no need to fight!

and also let's say acidrip can easy handle both.
Uuuum, Ok. I was only making a statement of fact, not trying to ruffle anyone's feathers. Apologies if it came across wrong

masand's suggestion is a good one too. I usually take my DVD res recordings (ReplayTV is great) down to 512x362 (or something like that).

Last edited by sigsegv; 02-08-2005 at 03:08 PM.
 
Old 02-08-2005, 03:11 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally posted by masand
hey what about scaling the moving down to little lower scale

that would also reduce the size i think

regards
no it wouldn't, not directly at least. with the same bitrate and codec, a smaller picture would simply mean that it was better quality, not a smaller file. you just then have the ability to reduce the bitrate inline, which is where a smaller file would come from...
 
Old 02-08-2005, 03:15 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally posted by sigsegv
Uuuum, Ok. I was only making a statement of fact, not trying to ruffle anyone's feathers. Apologies if it came across wrong

masand's suggestion is a good one too. I usually take my DVD res recordings (ReplayTV is great) down to 512x362 (or something like that).
no no, i was just in a dumb mood.....

but really... again the codec won't directly affect the size of the file, just the bitrate that that codec is encoding at. but a low compression codec will obviously suck more than a high compression one on a lower bitrate... i'm being far far too picky huh?
 
Old 02-08-2005, 03:18 PM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
sometime back
i had created an avi file after changing the codec
and as i made new ones wth less scale and same codec the size as well quality decreased

also i have seen many clips on the internet with size difference and what diference they have is, of scale

although ,changing the codec and bit rate will reduce the size upto a great extent

regards
 
Old 02-08-2005, 03:32 PM   #12
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Quote:
Originally posted by acid_kewpie
no no, i was just in a dumb mood.....

but really... again the codec won't directly affect the size of the file, just the bitrate that that codec is encoding at. but a low compression codec will obviously suck more than a high compression one on a lower bitrate... i'm being far far too picky huh?
Compress a 60 minute 352x240 video clip in MPEG1 and then do it in XviD at the same bitrate and tell me which file is smaller. That was my only point.

Last edited by sigsegv; 02-08-2005 at 03:33 PM.
 
Old 02-08-2005, 10:11 PM   #13
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by sigsegv
Compress a 60 minute 352x240 video clip in MPEG1 and then do it in XviD at the same bitrate and tell me which file is smaller. That was my only point.
But why use either of those when avi is by far the better quality of any I've used. Sure they're a little bigger at times, but its all about quality, hard drive space is cheap these days..
 
Old 02-08-2005, 10:47 PM   #14
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
AVI is a container which holds a video and an audio stream (such as XviD and MP3 ) just like OGM or MKV. You can put video created by DivX, XviD, theora, Huff, MJPEG, DV or a whole host of other codecs in the container. AVI is technically inferior in a lot of ways to the others out there, but that's a whole other discussion.

You can put an MPEG video stream into an AVI, but you don't typically want to as hardly anything will play it.

As for size -- If size was no object I'd just have a ton of 4GB MPEG2's ripped straight from DVDs on my disks (no recompression), but disks aren't *that* cheap
 
Old 02-09-2005, 01:29 AM   #15
drumvudu
Member
 
Registered: Jul 2004
Location: Houston, Texas USA
Distribution: Linux Mint
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks for all the input guys. I'll check out a few of the suggestions here. Obviously, this is a little more complicated than I first thought. Oh, well, I'm sure I'll figure it out just like everything else after reading the mans and the docs.../p
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Big O, Big Omega, and Big Theta oulevon Programming 7 05-26-2010 07:18 AM
create big file system dev_mohamed Linux - General 4 10-03-2005 04:33 PM
SuSe and AVI's ITTOscar Linux - Software 2 03-15-2004 08:38 AM
AVI's for RedHat9 lucas2676 Linux - Software 5 10-23-2003 11:07 AM
can i cat .avi's together? rickenbacherus Linux - General 5 09-04-2003 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:00 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