M Database Inspector (cheetah)
|Not logged in. Login|
|Wed, May 24 2006||100||Video Processing - codecs||
ok, (after our conversation on the phone)
time for a quick lecture,
mostly for a shopping list, not to shop, but
for sequence of operations.
By now you know that are are codecs, emphasis on the the s,
as in plural. over time many compression systems were
invented and codecs are in fact small (relativly) libratries
of code (as in source code, libraries, everything you know of software)
and programs like winamp, media player and virtualdub must have the software (the codecs)
installed on the computer in order to display videos, and as each movie
might have a different codec, a diffrent codec might need to be there.
This is why you can watch downloaded movies and do everything for a while, and suddnely
discover that a certain movie doesn't work, all you see is black, or
you see it perfectly, only without sound, as sound codecs are separate.
Mp3 if you remember my verbiage, is a name of a codec, its short for Mpeg Layer three
in your travels you will see the word mpeg appearing many different
ways and may even discover its a video descendant of jpeg, an older compression
scheme for pictures, and mpeg4 which like divx handles video.
Just to make things complicated, bill gates wanted, at some point in ancient past of a few
years ago to control this market and possessing code to a codec he will make the world use
he can charge for software using this codec, and so if a movie on the Internet has
this codec, you can only view it in media player and everybody thinks "oh, must be a better program" it plays what everybody else doesn't" hence the control on the marketing side.
neat trick, but the Internet crowd has a collective brain of their own, and it didn't quite work,
the download community is mostly on a coo with codecs that don't work everywhere, and needless
to say with codecs that are not distributed for free.
as with all history of computer software, the better one survives, the rest become extict (Darwin)
and by now divx is dominant while most others are on their way to extinction, except,
that history of free software is long enough by now to know that some basics of evolution
normally unnoticed by the biologists,
are very dominant in how programs spread in the community.
Once something is made good enough and has established fitness to survive reaching dominance, such as dinosaurs and humans (Darwin would laugh at me and say,
comparing 65,000,000 years with 100,000 is simply not scientific to a point of childishness)
Divx is made a standard by habit of use,
and will not move or change to the better,
so better things might
not be able to wipe standards easily from the past,
this is the case with Philips and the digital recording, the silly cda audio files on a cd,
the http protocol, countless other examples in the history of standards in computer software,
and countless examples in Nature, like the tale bone you are still carrying
because you are too hung up on your mother, who in ancient times was a fish,
and the tail was the standard means of transportation at the time.
All in all its like this, divx is a standard still in the process of making all the others extinct,
and there are now countless codecs going around still,
and while ogg theora is probably
much better, it is still in development, and is not likely to survive mostly because
divx is a standard by now.
there are countless devices such as your LG that tomorrow
will read theora, maybe, but now they don't, and that is what really counts.
ok, to practice:
goal is divx in video and mp3 in audio, these are the de-facto stadards
for which it is easy to find content, i.e. movies, which in the end of day is what we really care about.
when you do the search, in emule you want to be concious of this goal.
you don't really want to start searching for codecs after a movie arrived after 2 months downloading.
this doesn't mean you can control it, stastistics do, we just go with the flow,
but the naming conventions of files on emule often have the codec written in (parenth..)
as part of the name of the file.
|Fri, Jul 13 2007||155||Gauss||
His true genious was to connect mathematics and reality,
by prooving and classifying from reality,
the true axioms of mathematics.
In math, we first take axioms for granted to be true.
If we use a system of logic where the axioms are not true,
then the system can only be used for teaching logic:
What is true then, in an axiom, if we can not proove it is true,
to make it different from the axioms that lead to
no Aristotelian logic constructs that we will ever use?
This is in fact the difference. They pertain to reality,
and Gauss has shown us that,
In complexity theory -
a field in computer science theory that deals with
the complexisty of computer programs -
there is this set of very complex problems called
These are defined by means of a concept called Reduction.
A reduction is a logical transofrmation of one problem
If one can reduce problem A to problem B,
then B must be a harder problem or equal,
and if B were soleved,
then A is considered solved,
because it is reducible to a solved problem.
Computer science theorist have collected a large set
of such problems, showing reductions in both directions,
thereby establishing equivalence of the problems,
without ever solving any.
They are too complex, probably, to be actually solved.
But if one is ever solved in the future,
then automatically all others are solved too.
From a theoritical standpoint,
this concept is very powerful.
A world of logic consturcts with many reductions
after long research, has been built,
atop a foundation yet to be discovered.
Reduction is a mathematical construct, not just a concept.
It is a methemtical description of what logically
constitutes what is termed by this, and proof
of why it is logically correct.
Gauss connects math to reality. It is implied
by looking at his conclusions from the mathematical point
of view of reductions, and follow aristotelian logic.
The primary concept is obvious:
Reality can be counted,
and pure mathematical deductions can be drawn.
But if a certain demographic of reality can be
prooven statistically to be correct,
whereas we know this fact also to be correct
from other observations of reality,
then we can take the statistical conlusion from Gauss
to be inhetrently correct, because we know it to be true
from other sources.
This being the case we start a process of reduction
that will in the end up saying the follwing:
The axioms are prooven to be true, (in as far as reality is true,)
in all cases where the conclusions regarding reality,
which we otherwise know to be true somehow,
where the axioms are used in mathematically
arriving at the same known conclusion.
The details of the reduction process itself are not important
in this case, but it is worth noting
that the same can probably be prooven
by other means, even though mathematical proofs
in general do not necesserily work if you reverse
the order of deduction.
"A prooves B" does not necessarily imply "B prooves A",
and so a reversal may or may not be logically correct.
In other words, Gauss has classified the axioms
of mathematics that were used for prooving the central
limit theorem as correct.
The axiom, and the thorem are equivalent,
to the extent that conclusions from the theorem,
can be shown from other means to be correct.
For example, if election poles match statistical predictions,
then it is proof that A+B always equals B+A.
|Wed, May 24 2006||300||Video Processing - of thumb||
in any case you don't judge by this, but rather by the popularity of the file itself
for each particular file (movie)
so you search for a file, you see a list of different files with that same movie,
and mostly look for the following:
from this list, which is, common and has many copies on the net, meaning
download will occur from many users, and
the language it speaks is the one I want.
language is important, one of the comporomize divx and all other compression
methods make, to save space and the 14 gig special burners it requires to produce
a genuine dvd, is that movies in files (almost still) always posess just one audio language and one subtitle which can not be taken off.
since the USA is dominant in this market, just make sure its english with no subtitles at all.
On the internet this is kind of obscure because those exactly are the files that do not
have in their name something like:
rule 2: always get only files with the .avi extension, except if in breech of rule one.
that is if there is a movie you want and you can't find it in avi, do get it,
but you chance asking me for help for how to handle it later,
and I might not even be able to. and since it takes moving 700mb across the country
its not like e-mail that can resolve things quickly.
It might be comforting to know that your LG is not really a divx player.
In fact they try to compress into this box as many popular codecs as possibles and
as many formats as possible, and by the way if you re-read this text you find out that the expression
"Korre tzruvim" is total bull invented by sales people in electronic stores.
incidentally, it should be obvious to any one who knows that store DVDs don't
really shower from the skies, somebody has burnt those too, or they wouldn't be.
Every device is a "korre tzruvim" because there is nothing else, and the question is
how many different kinds, and does it matter !!!
rule 3: download about 100 movies all at once in e-mule,
this seems to be optimal, from experience of myself and many others.
the trade off is like this:
with too few movies your computer is sitting idle in line to download later most of the time
which is ineffective.
with too many movies, they compete with one another on resources and it take
long for each individual movie to arrive in whole on your computer.
this should have been no problem, because what you really want to maximize
is th amount of data streaming into your apartment from the outside,
and you could care less if it takes 2 or 4 months to arrive,
files shared have a life of their own and it is common for rare files to show up,
be shared by quite a few people and later disappear.
so if the life span of a file is 3 months, the difference between 2 and 4 month
can be fatal.
For this, Emule guys have given even more thought than the Kazaa makers
(by the way the Kazaa makers also made Skype)
and more controls are given in the program to combat this issue.
rule 4: always be watchful of the amount of data remaining to be transferred
and of the time the file has last been seen complete, but only trust
this last bit of info if you e-mule has been running for a while.
it is smart to forget and never look closely at anything if you just started e-mule.
start it, wait an hour at least before you look at anything.
Emule should be always running anyway, including overnight, and if its not, the only thing
you want to do with it right after you started it is search start new downloads.
For me, this is the only way to put a movie on my 'todo list'
it is simply the download list, but this may conflict with rule 3, which is more important.
use the information you see to play with
B. source handling.
you can gain experience with this,
read some help files or ask me on this in a separate occasion.
(his e-mail is just a shopping list so its important to list)
|Wed, May 24 2006||700||Video Processing - Virtuosity||
there are a few things you will find useful in Virtualdub:
Most importantly, you can resize the frame (of the whole movie)
thereby also possibly changing the proportion, like they used
to do on the silver screen for westerns, and like is almost always
done in the edited-for-TV version of the movie.
But you are not the first one to do that, and not the first to err,
and not the first not notice the error, as an experienced computer programmer,
and not the first to have just finished waiting for ages for Pazollini's Canterbury Tales,
and now that it arrived, not only the picture is not quite in focus, but the proportions are
way off to a point of excruciating pain, and it doesn't quite matter because you
can hear them speak what you have read from their lip motions just a few dozens of seconds ago.
|Wed, May 24 2006||900||Video Processing - Heisenberg||
So all this can be rehashed using Virtualdub , except that when it comes to non-lossless
compression, you cant really make a picture better by compressing and recompressing
it for the purpose of bettering it.
This is a general problem in architecting of complex computing systems, and is well
known in the hacking community, simply as "The Heisenberg Principle"
most obviously exemplified by a program that counts time it takes to travel in a loop
by timing it each round and adding the result to a total, there by counting the counting
program rather than what the program would actually do if you did not count!
Heisenberg Said (in plain terms)
If you try to observe the geographical location of an electron relative to its core atom(ic) force
of gravity, the mere observation will change the result, and therefore we will never
know where the electron actually is at any given point in time.
The implications of this quantum physics only fact I know, on the world
of computer programming is immense.
Ok, where was I,