feature request

The place to discuss creating, porting and modifying Celestia's source code.

Moderator: selden

feature request

Postby ncc1701d » Fri Jan 01, 2010 1:06 am

I have not had much luck with using the full frames uncompressed movies. They dont seem to always be readable on my differnt machines.
I dont know why. Other compression formats work but arent my favorite choice.... so the question is for future celestia version maybe there could be an export option for bitmap sequence so we can compress movies on our own? Is that hard to do programatically verses current methods?

Maybe someone out their has created a script to create a jpg screen capture sequence? Anyone know of one?
thanks.
ncc1701d
 
Posts: 27
Joined: Fri Jan 20, 2006 11:08 pm

Re: feature request

Postby duds26 » Wed Jan 06, 2010 10:34 am

Full frame uncompressed movies is actually quite close to that.
You just need to separate the frames and pour them into images.

Writing such an exporter isn't difficult, but making it work efficiently and gracefully takes some time.
About the image format choice: jpg is a lossy format and there for a very bad decision, it would be better to use a lossless format such as e.g. png or jpeg-LS (jpeg lossless).


Or you can transcode the video to a sequence of images with this free converter:
By using virtualdub: http://virtualdub.sourceforge.net/
Here is a discussion about doing that with someone explaining how to do it with virtualdub:
http://www.videoforums.co.uk/general-so ... mages.html

Using Avidemux: http://avidemux.sourceforge.net/

Or search one here:
http://wareseeker.com/free-video-to-image-sequence/


Another way out is using a general screen capture program.
Which is specially designed for this task.
They can capture any screen/window/region with a better choice of codec/output files than Celestia itself.
duds26
 
Posts: 328
Joined: Mon Feb 05, 2007 11:11 am
Location: Europe, Belgium

Re: feature request

Postby posfan12 » Fri Jul 02, 2010 10:41 am

PNG works well when the image contains large areas where the colors don't change much, such as screenshots of Notepad, simple educational graphics and so forth. In cases where the image is "busy" and contains lots of detail like in a photograph then JPEG is better.
posfan12
 
Posts: 16
Joined: Wed Jun 30, 2010 8:56 pm

Re: feature request

Postby t00fri » Fri Jul 02, 2010 10:53 am

posfan12 wrote:PNG works well when the image contains large areas where the colors don't change much, such as screenshots of Notepad, simple educational graphics and so forth. In cases where the image is "busy" and contains lots of detail like in a photograph then JPEG is better.


PNG is a lossless graphics format, unlike lossy JPG! Hence a comparison between PNG and JPG better focusses on somewhat different aspects.

Fridger
Image
User avatar
t00fri
 
Posts: 8782
Joined: Fri Mar 29, 2002 5:53 am
Location: Hamburg, Germany

Re: feature request

Postby Fenerit » Sat Jul 03, 2010 3:15 pm

posfan12 wrote:PNG works well when the image contains large areas where the colors don't change much, such as screenshots of Notepad, simple educational graphics and so forth. In cases where the image is "busy" and contains lots of detail like in a photograph then JPEG is better.


This is completely false. JPEG is used in photography because it's (lossy) format save space on memory cards. Try to convert a good PNG to JPEG and then zoom in it. In the JPEG you will see the textels while in the PNG not.
Never at rest.
Massimo

Mirror site
User avatar
Fenerit
 
Posts: 1793
Joined: Mon Mar 26, 2007 1:43 pm
Location: Tuscany, Thyrrenian sea

Re: feature request

Postby Chuft-Captain » Sun Jul 04, 2010 1:10 am

In professional photography where quality is the issue, and post-processing is required, RAW and lossless formats are mandatory. JPG is only ok for consumer snapshots (ie. point and shoot compact cameras, cell-phone cameras, etc) or where no editing will ever be required.
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

O'NEILL COLONY
LAGRANGE POINTS
User avatar
Chuft-Captain
 
Posts: 1668
Joined: Sun Dec 18, 2005 1:26 am

Re: feature request

Postby john Van Vliet » Mon Jul 05, 2010 2:12 pm

as an old published pro
jpg should BE ILLEGAL

I would NEVER use jpg for a wedding

as it was i HATED iso 400 film, that stuff was bad .
now the Kodak iso 25 ( that was some nice stuff )
OpenSUSE 12.2 x86_64 & ScientificLinux 6.4 x86_64
Celestia SVN 5217
User avatar
john Van Vliet
 
Posts: 2354
Joined: Wed Aug 28, 2002 3:08 pm

Re: feature request

Postby duds26 » Tue Jul 06, 2010 5:18 am

Why did Joint Photographic Expert group came up with it?
I mean, don't they care about the quality of the work of their members?
duds26
 
Posts: 328
Joined: Mon Feb 05, 2007 11:11 am
Location: Europe, Belgium

Re: feature request

Postby t00fri » Tue Jul 06, 2010 5:41 am

The highly compressed, lossy JPG format has it's clear merits when (file size AND quality) require a good compromise. Lossless formats are indispensable in pro environments, where quality is the ONLY constraint.

See also my explanations here:

viewtopic.php?f=3&t=15997

I discuss there, how JPG format can be of excellent quality (including text!) despite compact file size, if the settings are chosen properly. Most people simply ignore that there are crucial settings (besides the somewhat better known "quality" setting).


Fridger
Image
User avatar
t00fri
 
Posts: 8782
Joined: Fri Mar 29, 2002 5:53 am
Location: Hamburg, Germany

Re: feature request

Postby Chuft-Captain » Tue Jul 06, 2010 9:05 am

duds26 wrote:Why did Joint Photographic Expert group came up with it?
I mean, don't they care about the quality of the work of their members?
They created it because it has it's uses (...if I remember rightly, the emergence of the WWW was one of the primary motivations for the creation of this format, as an efficient means of sharing images over computer networks).
Consumer Digital Camera's adopted the JPG format at a later stage.
In fact, I think most of the original digital cameras (which typically were digital backs for professional cameras), created lossless formats as huge files, not JPG's.
The main thing, is that you have an understanding of JPG's limitations and use it appropriately. It's small size /high compression ratios are good for WEB publication as images will require less bandwidth and pages will load faster, but it is a very bad practice to produce jpegs at intermediate steps in POST production as further editing operations on JPGS will result in artifacts and loss of information. These will accumulate at each intermediate step.
Fine as a final output though, depending on the application.

A professional photographer will generally also avoid capturing in JPG like the plague. Camera RAW formats contain a lot of extra information which cannot be encoded in a JPG, which provides many essential advantages in POST, including, to list just a few:
    the ability to fix over or under exposed images
    recover lost highlights and shadow detail
    adjust White Balance and correct color casts
    etc...

The best analogy with the old film days is to say that the RAW file is analogous to a negative, and the JPG is analogous to a print.
ie. You can always produce a JPG from a RAW, but not the other way around.
The process of post-production on a computer in the digital realm is analogous to what happens in the Photo-LAB to convert your negative into a print.

PRO's will insist on producing prints from TIFF's or other lossless formats (if they don't, they're probably not a PRO).
They won't object to producing JPG's for WEB use though.

Hope this clarifies it for you.
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

O'NEILL COLONY
LAGRANGE POINTS
User avatar
Chuft-Captain
 
Posts: 1668
Joined: Sun Dec 18, 2005 1:26 am

Re: feature request

Postby john Van Vliet » Tue Jul 06, 2010 2:28 pm

in the not so distant past the SIZE of the image file was a VERY big problem

just try sending a small 5 meg bmp on a 24 k dial up or a 56 k dial up
then do the same for a 100k jpg of that 5 meg bmp and then store them on a 30 meg drive ( this was a VERY big drive not to long ago )

so jpg got popular on the net

but a non compresed .jpg 1x1x1 float will be much bigger than a level 4 compressed .png

so the use of jpg's is for the most part habit ( a bad one at that ) and profit for the telecoms less data transferred on there networks at a overly high price at a per/month rate .
OpenSUSE 12.2 x86_64 & ScientificLinux 6.4 x86_64
Celestia SVN 5217
User avatar
john Van Vliet
 
Posts: 2354
Joined: Wed Aug 28, 2002 3:08 pm

Re: feature request

Postby Chuft-Captain » Tue Jul 06, 2010 10:26 pm

john Van Vliet wrote:so the use of jpg's is for the most part habit ( a bad one at that ) and profit for the telecoms less data transferred on there networks at a overly high price at a per/month rate .

Interesting that you mention the telco's role, because that brings to mind my favorite rant about how the telcos invented the idea of txting and then convinced an entire generation of people that it should be the preferred mode of communication. :roll:
Typically the $cost of a text is maybe 1/4 to 1/2 the cost of a voice call (YMMV), but in terms of network cost it's a tiny fraction (a few bytes per txt), compared to a few kilobytes/sec for the audio of a voice call.

It's no surprise then that telcos make some of the biggest profits of any companies.
TXTs == pure profit

It's unfortunate that a whole generation (< 20yrs?) doesn't seem to realize that a 30sec (duplex) voice call can communicate a vastly larger and richer content, far more efficiently (at least in terms of our own precious time) than 10-15 minutes of (simplex) TXT's firing back and forward. :mrgreen:

IMHO, TXT's are very bad value for money (not to mention time, and associated medical costs, RSI, deformed thumbs, etc... :wink: )

... but definitely a marketing triumph for the telcos!

End of rant.

PS. I wonder if each generation is dumber than the one that came before it.... :wink:
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

O'NEILL COLONY
LAGRANGE POINTS
User avatar
Chuft-Captain
 
Posts: 1668
Joined: Sun Dec 18, 2005 1:26 am

Re: feature request

Postby Fenerit » Wed Jul 07, 2010 2:02 am

Chuft-Captain wrote:
PS. I wonder if each generation is dumber than the one that came before it.... :wink:


From few smarts (prehistoric men) to more dumber (now). It's just Thermodynamics. :wink:
Never at rest.
Massimo

Mirror site
User avatar
Fenerit
 
Posts: 1793
Joined: Mon Mar 26, 2007 1:43 pm
Location: Tuscany, Thyrrenian sea

Re: feature request

Postby t00fri » Wed Jul 07, 2010 3:28 am

Fenerit wrote:
Chuft-Captain wrote:
PS. I wonder if each generation is dumber than the one that came before it.... :wink:


From few smarts (prehistoric men) to more dumber (now). It's just Thermodynamics. :wink:


Correct ;-) ...ever increasing Entropy.

F.
Image
User avatar
t00fri
 
Posts: 8782
Joined: Fri Mar 29, 2002 5:53 am
Location: Hamburg, Germany

Re: feature request

Postby VikingTechJPL » Wed Jul 07, 2010 10:12 am

Fridger wrote:
Correct ...ever increasing Entropy.

I believe the younger generation spells that Etnorpy. :D
1.6.1, Dell Studio XPS, AMD 2.7 GHz, 8 GB RAM, Win 7 64-bit, ATI Radeon HD 5670
1.6.0, Dell Inspiron 1720, Intel Core Duo 2 Ghz, 3 GB RAM, Win Vista, NVIDIA GeForce 8600M G/GT
1.4.1, Dell Dimension 4700, Pent-4 2.8 GHz, 512 MB RAM, Win XP SP2, Radeon X300
User avatar
VikingTechJPL
 
Posts: 88
Joined: Thu Mar 04, 2010 11:41 am

Next

Return to Development

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron