Showing posts with label tool. Show all posts
Showing posts with label tool. Show all posts

Sunday, December 30, 2012

Recovering files

This happens to everyone at some point… a hard disk crashes and now you want to restore some files from it.

One utility I use is Recuva.

image

Even if you've formatted a drive so that it looks blank, Recuva can still find your files on it.

Keep in mind that restoring files is always a bit of luck and sometimes you are just out of luck.

For more recovery tools see also:

http://www.raymond.cc/blog/top-10-free-data-recovery-software/

For the real professionals among us, I would advice Testdisk. This is more for recovering lost partitions and if you are really interesting in getting deeper into data recovery check out http://lifehacker.com/5525534/recover-data-like-a-forensics-expert-using-an-ubuntu-live-cd

I hope you will be able to recover what you were looking for.

Good luck!

Tuesday, August 24, 2010

Creating animated gifs from movies

There are a lot of guides on explaining how to creating animated gifs by either creating them using various tools or by directly converting them from a movie. If you want to create an animated gif from scratch you can use Adobe Fireworks or Beneton Movie Gif. If you want to convert movie files (like WMV or FLV) to an animated gif, the best tool to use is ffmpeg.

The quick way

The easiest way to convert a  movie (in this example I will use a wmv, but it can also be any movie type) is using the internal function of ffmpeg. You can convert it by issuing the following command (which will create output.gif):

ffmpeg –i movie.wmv –r 5 –pix_fmt rgb24 –loop_output 0 –s 320x240 output.gif


Explanation of the switches (see also ffmpeg documentation):

































-i determines the input file name (movie.wmv)

(put your filename between “ s if it contains spaces)
-r 5 tells ffmpeg to use a framerate of 5, which is a good setting when creating animated gif files (can be omitted if you want to use the original framereate)
-pix_fmt rgb24 required when converting to gif

(due to the max colors in a gif file)
-loop_output 0 Makes sure the gif animated forever, omit if this is not required
-s 320x240 Set the gif size to 320 by 240 to make the size of the animated gif smaller. Omit this if you don’t want this


This works perfect, however personally I am not so fond of how ffmpeg chooses the GIF color palette. I have not found anyway to improve this.



The better results way



As mentioned above, depending on your movie, the converted gif does not have an optimal color palette and you will see a lot dithering. The method I use most which gives the best results is exporting the frames using ffmpeg and importing them to your favorite animate gif tool (in my case Fireworks)



To export the frames of a movie using ffmpeg use:



ffmpeg –i movie.wmv –an –r 5 –y capture%d.png


Quick explanation: -an stands for no audio, –r specifies the framerate (change accordingly) and –y just tells ffmpeg to overwrite if files are existing. You export to any image format. I use PNG because this gives the best results.



The next step is to import your files in your favorite animator app. In Fireworks, select File – Open and select multiple the files you have generated with ffmpeg. Before pressing the Open button, make sure that the you check the “Open as animation” checkbox



image



Now Fireworks will create all the frames for you based on the image you have selected. Do your usual stuff and export it to animated gif.



Hope that this was useful and happy animating!

 
Souces: ahfr.org, noeckel,

Thursday, October 22, 2009

FileList Version 1.0 Release

I mentioned in my previous post, I was planning to develop a tool to easily generate a list of files in a folder for further processing. Well, last night I put something together and I am now releasing it to the public.

I am calling is FileList and it is a portable application. Unzip to a folder where you have read/write access. All settings are saved in the application folder.

Some features:
  • Unicode support for multilingual use
  • Drag and drop support, you can drop folders/files to the application and it will list the files of the folder
  • Command line argument supported (for right click event in explorer)
  • Settings to change font and customize output

Screenshots:









Original Location

Mirror



 


Some disclaimers (just to make things clear)
You are free to use this application for personal, business or any other use. The application is provided as is and use it at your own risk. The application is not evil and has no ET functionality (call home). I cannot be put responsible for any damages what so ever.By downloading and using this application you confirm this. I have tried to make the application as bug free as possible, however if you encounter any issues, do let me know.
If you would like to distribute this application, please let me know. In no case can you ask any money for this application.

Wednesday, October 21, 2009

Files list

Today I have been in need of a tool which could easily generate a list of files in a folder which I can easily copy and paste for further editing. Normally I do this by issuing a dir command in the command prompt and redirecting output to a file, etc. This works fine if it is occasional, but if you need to do it on a regular basis (like me in this case), a tool might help.

Searching on the net I have found the "5 Ways to Print Folder and Directory Contents in Windows", which listed some apps, which I tried. None of the application met my criteria (easy to use, small, multilingual, drag and drop), so I have decided to create my own app which I will share soon.

If you have any suggestions on a file lister tool, please let me know.