December 30, 2011

Christmas Tree 2012 Python :P

εε Ορίστε το πφοβερό python στόλισμα του blogg (LoL... :P)
τα ράααααμ!!!

October 21, 2011

Andoid compatible video & ffmpeg conversion

Θέλουμε να βάλουμε να παίξει στο android μας ένα βίντεο που τραβήxτηκε από άλλη συσκευή και δεν παίζει .
Tι κάνουμε...;
Μα φυσικά το μετατρέπουμε με την βοήθεια του ffmpeg σε format και codec συμβατό με το android..

Μια καλή *ιδέα για encoding είναιτο MPEG4 (standard) encoding (MPEG-4 ASP) μιας και είναι ελαφρύ για την cpu !!!! (τέλειο για φτηνά κινητά με αργή cpu...))
ορίστε ένα παράδειγμα μετατροπής βίντεο με το ffmpeg ( απο το ubuntu help )

ffmpeg -i input-VIDEO.AVI -s qvga -vcodec mpeg4 -acodec aac -ac 1 -ar 16000 -r 13 -ab 32000 -aspect 4:3 -strict experimental outputVIDEO.mp4


η παράμετρος "-s" είναι για το μέγεθος οθόνης
η "-acodec" για τον codec του ηχου
η "-ac" για τον αριθμό καναλιών του ήχου
η "-ar" για την sampling frequency του ήχου (...sample rate...)
η "-r" για το framerate του βίντεο
η "-ab" για το bitrate του ήχου
η "-aspect" για την αναλογία της οθόνης

*(Το έχω δοκιμάσει και παίζει άψογα)

Links
http://developer.android.com/guide/appendix/media-formats.html
https://help.ubuntu.com/community/AndroidVideoEncoding

April 19, 2011

Το εμβόλιο , που θα γίνει, ο εχθρός του καρκίνου;

Τον εχθρό του τον ψάχνουμε αλλά πρέπει να δούμε
ότι έχει πολλούς φίλους .
Πρέπει να τους χωρίσουμε.


http://www.madata.gr/diafora/science/101404.html

March 15, 2011

Έφυγε ο Μανώλης Ρασούλης

Έφυγες

Για όταν επιστρέψουμε στην συνείδησή μας, την πραγματική πατρίδα μας,
μας έχεις αφήσει απέραντη πολιτιστική κληρονομιά.


Σε ευχαριστούμε

Καλό ταξίδι Μανώλη.



http://www.rasoulis.gr/

Take that ...Petroleum

Does an electric Open Source Car using Hydrogen fuel cells exists?

Yes and guess what?
It is OPENSOURCE!!!

Take a closer look at http://www.40fires.org/

Since now you may have heard or read about people been used to say
"Take that Microsoft" whenever a good open source project released or won a price etc
but since the open source hydrogen car released
they should really say "Take that ...Petroleum"
:)

how much would we use dead dinosaurs and trees for
fuels (aka Petroleum....:P)
not to mention nuclear power...

February 21, 2011

That IBM Watson program sounds good for medical diagnosis

Imagine that it is possible for example to relieve doctors from the
time consuming parts of the diagnosis (or even all the diagnose) of the patient
perhaps with the help of a smart-phone or some medical equipment etc etc...
That will push the possibility of a more effective and low cost medical care !!! possibly...:P

January 21, 2011

Youtube and the 5+ years-old flash habit

There is already support an all major OS platforms and major browsers
for the new WebM video format .

It might sound absolute
but the most effective way of promoting
WebB is when Youtube forces the use of WebM (as the default format)
Practically speaking :
guys in Youtube team should
check the browser before someone access a video
in a manner such as only if a WebM-non-capable browser access the video
they should return
any flash-version of the video
or if it is specifically demanded by the user.
Ok it might be energy (and money) inneficient to do this for all the old videos...
but why not for the new video uploads?
there are two ways to force WebM format based on the fact that users using
Youtube are not geeks

1) the easier for the users
the way that a possible conversion on the video (in WebM format ) happens on Youtube
servers which will be too cpu hungry and it will cost a lot of money.....
2)the not so easy for the users
the way that Youtube only accepts WebM format by default

Propably the best way to mix these 2 way while still forcing the use if WebM format
is to put an option in user preferences in such a way that a Youtube user
could upload a video that is not WebM if the user checks or uncheck a button.
For example there can be a buuton that has a default value of "Disallow uploading non-WebM video Formats"
so that only if the user really is desperate with the WebM format he can find it in his user preferences

Disallow uploading non-WebM video Formats
Allow uploading non-WebM video Formats


But here there is another problem
,the problem that most people don't
have experience in video conversion and thus there is a very high possibility
that solely forcing the WebM might produce different results...(for example angry and or desperate users that will choose to go away from Youtube ...).

What it could be useful (not to make users angry or go away...and still promote WebM) is to promote also an very easy to use video conversion
program that converts most if not all formats to the WebM format...


A very good starting point in promoting WebM is to ensure that WebM playback is better
than the flash video player in all major browsers especially in Google Chrome.
Issues like 100% cpu usage is not very promising...
wile not being a problem of the WebM codec itself it is bringing down
the WebM promoting effort...
Once this problem is solved WebM promotion can be "forced" a little bit easier to the public

Concluding:
I doubt that Google succeeds to "persuade" people to use WebM format
without forcing to be used in Youtube .
Forcing Youtube users to change a 5 years old flash habit is
for sure quite challenging effort.
Will Google succeed to promote WebM
if yes when?

There is always
...hope !!!

ΤΙ ΘΑ ΓΙΝΕΙ ΤΟ 2012?