feature request

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
ncc1701d
Posts: 29
Joined: 21.01.2006
With us: 18 years 9 months

feature request

Post #1by ncc1701d » 01.01.2010, 08:06

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.

duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Re: feature request

Post #2by duds26 » 06.01.2010, 17:34

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.

posfan12
Posts: 24
Joined: 01.07.2010
With us: 14 years 4 months

Re: feature request

Post #3by posfan12 » 02.07.2010, 17:41

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.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: feature request

Post #4by t00fri » 02.07.2010, 17:53

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

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 7 months
Location: Thyrrenian sea

Re: feature request

Post #5by Fenerit » 03.07.2010, 22:15

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

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 10 months

Re: feature request

Post #6by Chuft-Captain » 04.07.2010, 08:10

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)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: feature request

Post #7by John Van Vliet » 05.07.2010, 21:12

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 07:41, edited 1 time in total.

duds26
Posts: 328
Joined: 05.02.2007
Age: 34
With us: 17 years 9 months
Location: Europe

Re: feature request

Post #8by duds26 » 06.07.2010, 12:18

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?

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: feature request

Post #9by t00fri » 06.07.2010, 12:41

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

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 10 months

Re: feature request

Post #10by Chuft-Captain » 06.07.2010, 16:05

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)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: feature request

Post #11by John Van Vliet » 06.07.2010, 21:28

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 07:40, edited 1 time in total.

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 10 months

Re: feature request

Post #12by Chuft-Captain » 07.07.2010, 05:26

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)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 7 months
Location: Thyrrenian sea

Re: feature request

Post #13by Fenerit » 07.07.2010, 09:02

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

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: feature request

Post #14by t00fri » 07.07.2010, 10:28

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

VikingTechJPL
Posts: 105
Joined: 04.03.2010
With us: 14 years 8 months

Re: feature request

Post #15by VikingTechJPL » 07.07.2010, 17:12

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

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 10 months

Re: feature request

Post #16by Chuft-Captain » 07.07.2010, 18:38

VikingTechJPL wrote:[I believe the younger generation spells that Etnorpy. :D
V gd, but IMO, tha wud spel it: NTRO P :wink:
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: feature request

Post #17by John Van Vliet » 07.07.2010, 19:15

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 07:39, edited 1 time in total.

VikingTechJPL
Posts: 105
Joined: 04.03.2010
With us: 14 years 8 months

Re: feature request

Post #18by VikingTechJPL » 08.07.2010, 02:57

CC,

I thinque wee hadd thuh saim speling teechur.


John V V,

Your links induced a true OMG experience. OMG! You're probably also aware of the stories about state legislatures trying to legislate the value of pi. Some are myths, but this site purports to have the real story:
http://scienticity.net/wiki/Legislating_the_Value_of_Pi
Check out the links in Notes near the bottom.

-G
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

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 10 months

Re: feature request

Post #19by Chuft-Captain » 08.07.2010, 06:04

VikingTechJPL wrote:CC,

I thinque wee hadd thuh saim speling teechur.
That was actually my attempt at TXTlish. :wink:
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 7 months
Location: Thyrrenian sea

Re: feature request

Post #20by Fenerit » 08.07.2010, 08:39

john Van Vliet wrote:well in the UK the people DO want the 2d law repealed
http://yourfreedom.hmg.gov.uk/repealing ... dynamics-1

http://science.slashdot.org/story/10/07 ... modynamics

Usually the Economics and the economists are against the Thermodynamics; since they are based upon "pre-theory of heat" Adam Smith's statements of "balance" and "invisible hand". One should look at such from a physical point of view. But nonetheless, how to sell they? The economics' message is that of a world ruled by the law of economics, on other hand economics is ruled by the laws of physics; and this doesn't like to the economists. A rought analogy with the 2nd law is that in a global economics (one isolated source of heat) is impossible to make work (occupation).
Never at rest.
Massimo


Return to “Development”