ffmpeg screenshot jpeg

May 14th, 2007

Today i wasted my time a little and tried to capture an image from an avi or mpeg or wmv or flv …

And i managed to do it properly.
Here’s the code for taking a screenshot / capturing a frame from any of the above movie types.

/usr/bin/ffmpeg -itsoffset -4  -i /home/videos/".$video_name.$extension." -vframes 1 -an -f mjpeg -s 122x92 /home/videos/".$video_name.".jpeg

where /home/videos/ is the path to your video file, $video_name is your video name, $extension is it’s extension and 122x92 is the resolution in which you want the capture to be saved (you can always choose 640x480 or any value you need).

Use it with PHP exec() function.

Hope it’s of use to you too …
I made it work with png too …

–The Pirahna (aka Piry)

Piry Hosting

May 12th, 2007

I managed to finish hosting.piry.net, my site for webhosting.

Looks like this :

Pirahna\'s Hosting site

For now i’m an affiliate on DreamHost and bluehost, but in the next period i’ll add two more.
For those interested in web hosting or in need of servers, you’re one click (and a little) away.

–The Pirahna (aka Piry)

domain names

May 2nd, 2007

So i had a little coke and ideas started to hit me regarding domain names …
i wrote them down and counted them …
So i got 25 domain names that i want to purchase asap (at least 15 of them) … so i’ll have to raise 3-400 euros for this (not all of them are worth 10$).

I managed to verify about 20 of them, and about 9-10 of them can be bought right now, and for the others i can just hope they expire without being renewed.

The problem is that … i already have 22 domain names and only … 2 or 3 are used …
Let me count :p

1. http://www.piry.net/
2. http://www.smacketeria.com/
3. http://www.workwithpiry.com/
4. http://www.bubico.com/ (nu cred ca se poate numi … ocupat)

So … what to do ?
Purchase all and then retire from “shopping” and get creative or … or do them both ?
I’ve got many things to do :( .
But hey, i’ll probably do allright … i’m a big piry.

–The Pirahna (aka Piry)

frozen - part 2

May 1st, 2007

And their answer is :

Hello,

Thanks for your e-mail. While we understand the importance of your account, we are required to use the evidence that we have in our records. Based on this evidence, we are unable to return this account to you. It is your responsibility to make sure your account stays safe. Never give out your passwords or personal information, and use common sense when browsing the internet. If you are using a public access computer, such as in your school or library, please remember to always logout of your account. We are sorry, but we will not return this account.

:|

They understand shit.
Where the fuck is the connection between the daily puzzle and my password ?
What does my account’s security have to do with it ???
Oh well … moving on.

–The Pirahna