LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-28-2010, 12:07 AM   #1
SChipS
Member
 
Registered: Mar 2005
Posts: 56

Rep: Reputation: 15
smaller video file size with guvcview?


I'm looking for some suggestions to create smaller size video files with the following equipment:

Logitech Webcam C200 (USB), 640 x 480 resolution, 30 fps, using guvcview software.

I'm new to doing video and wish to make short, up to 10 minute, clips. The above configuration puts out only .avi files and those files are huge. One small 30 second clip will cost 30 to 35 MB.

I have a friend using a Flip video camera putting out 30 second clips at 3 or 4 MB tops and the video quality is head over heels better than mine. His Flip system puts out MPEG-4(mp4) files.

Other than buying a Flip video cam is there any way I can produce smaller file sizes? Maybe better quality too?

Using Ubuntu 8.10

Thanks,

Last edited by SChipS; 03-01-2010 at 02:02 PM.
 
Old 02-28-2010, 06:59 AM   #2
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
Convert to ogg theora or mp4 using ffmpeg to determine ratio, speed, etc
 
Old 02-28-2010, 09:18 AM   #3
SChipS
Member
 
Registered: Mar 2005
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks Mr-Bisquit,

Your reply is a bit more than I was expecting and beyond me at this point.

I find it outlandish that a 30 clip would take 30 plus megabytes when most full length movies in .avi format are using 5 or 6 megabytes per minute.

I'm satisfied with the .avi format, just can't accept the cost in megabytes for such a small video clip. So I was hoping perhaps there would be some way to get the file smaller without doing any file conversion.
 
Old 03-01-2010, 12:09 AM   #4
Mr-Bisquit
Member
 
Registered: Feb 2009
Distribution: FreeBSD, OpenBSD, NetBSD, Debian, Fedora
Posts: 770
Blog Entries: 52

Rep: Reputation: 68
You're not going to get any other solution than this.
A file that large seem to be raw video and needs to be converted- that is if you want to save space.
 
Old 03-01-2010, 10:55 AM   #5
SChipS
Member
 
Registered: Mar 2005
Posts: 56

Original Poster
Rep: Reputation: 15
Mr-Bisquit,

I had asked for suggestions and I certainly appreciate your answers.

At this time I am quite unfamiliar with the workings of digital video. Guess I was looking for a short answer :-)

I will be looking into working with ffmpeg now as I'm sure your suggestion will render a viable solution.

Thank you very much for your attention to my problem,
 
Old 03-01-2010, 11:18 AM   #6
assisp
LQ Newbie
 
Registered: Mar 2010
Distribution: Debian sid
Posts: 1

Rep: Reputation: 1
Hi,

guvcview (1.2.2) uses libavcodec (part of ffmpeg) to do all it's encoding.
supported codecs are mjpg, wmv, flv, mpg1, mpg2, mpg4 (ASP and AVC) for video and pcm, mp2, mp3, ac3 and aac for audio.
It also supports both AVI and Matroska containers.

Just make sure your libavcodec (ffmpeg) installation has all of this enabled (some binary distributions provide a libavcodec unstripped or extra package)

If you want real small video files, please try mpg4 on a matroska container.
By default mjpg and avi are used (this produces very large files)

You can select the encoder and the container formats in the video tab
(for the audio encoder check the audio tab :-) )


Best regards,
Paulo
 
Old 03-01-2010, 01:57 PM   #7
SChipS
Member
 
Registered: Mar 2005
Posts: 56

Original Poster
Rep: Reputation: 15
Mr-Bisquit and Paulo,

Again, I thank you for the attention to my problem and especially your answers.

I have taken Mr-Bisquit's advice and looked into using ffmpeg to do a file conversion. Here's what I was able to come up with:

ffmpeg -i inputfile.avi -r 25 -b 768 -ar 24000 -ab 64 -s 640x480 outputfile.mp4

This command line statement successfully converted a 31.8 MB .avi file into a 3.2 MB .mp4 file.

I'm happy :-)

Last edited by SChipS; 03-01-2010 at 02:01 PM. Reason: added "I'm happy :-)"
 
  


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
How can I make PDF documents smaller (In file size)? vdemuth Linux - Software 7 11-05-2011 10:39 AM
Smaller Font Size In HTML runnerpaul Programming 3 06-13-2007 07:20 AM
make mpg file size smaller secretlydead Linux - Software 2 02-14-2005 09:42 AM
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 10:58 PM
Why is my screen size smaller? pablowablo Red Hat 5 05-25-2004 10:20 AM

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

All times are GMT -5. The time now is 08:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration