creating movies from still images

This is a discussion on creating movies from still images within the Linux General forums, part of the Linux Forums category; Hello, I try to create (using mencoder) movies from a bunch of images, but I found some anomaly I cannot ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-24-2006
Vilmos Soti
 
Posts: n/a
Default creating movies from still images

Hello,

I try to create (using mencoder) movies from a bunch of images,
but I found some anomaly I cannot explain.

I have two sets of 3000 images (jpeg). The two sets are exactly
the same except on was resized to quarter size (half each dimension.)
The fr is the original size, and the hr is the reduced size.

$ identify fr/00001.jpg
fr/00001.jpg JPEG 480x384 DirectClass 2kb 0.000u 0:01

$ identify hr/00001.jpg
hr/00001.jpg JPEG 240x192 DirectClass 1kb 0.000u 0:01

Here is the disk usage for the directories:

$ du fr hr
73380 fr
33548 hr

I use the following command to create the movies:

$ mencoder mf://fr/* -mf fps=25:type=jpg -ovc lavc -o fr.avi
$ mencoder mf://hr/* -mf fps=25:type=jpg -ovc lavc -o hr.avi

My problem is that the two resulting avi files are almost the same size:

$ ls -l ??.avi
-rw-r--r-- 1 vilmos vilmos 12099726 2006-03-24 15:22 fr.avi
-rw-r--r-- 1 vilmos vilmos 11711996 2006-03-24 15:23 hr.avi

If I dump the images to png from the avi files, then the full
sized is four times as big as the other, which is what I would expect.

BTW if I use different compression methods, then the filesizes
are far bigger (sometimes even 10x as big).

What's going on? How it is possible that the avi created from
the images which are quarter of the original ones is almost
as big as the big ones? Did I miss something?

Thanks, Vilmos
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:21 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0