Posts Tagged ‘trick’

20091026 av_interleaved_write_frame(): I/O error occurred

Usually that means that input file is truncated and/or corrupted., complains ffmpeg. No, there’s not any problem with the input file. What really happened is that ffmpeg was asked for a sequence of files but you failed to provide an appropriate file mask that ffmpeg could expand into a sequence of file names. For example: [...]

20091022 dig

I normally go to webs like dnsstuff to find the IP address of a domain. But since I found this command, I think I’ll stop visiting them so often! An example is worth one thousand words: sole@courgette:~$ dig google.com ; <<>> DiG 9.5.1-P2 <<>> google.com ;; global options:  printcmd ;; Got answer: ;; ->>HEADER<<- opcode: [...]

20091001 Roll your own ffmpeg build

I like to have my own build of ffmpeg. That way I don’t have to worry about not having this or that codec available. What I do is keep it in my ~/Applications/ffmpeg folder. Some people suggest using a ~/bin directory but I hate to drop every binary into the same place. Here are the [...]

20090702 Keeping .DS_Store files at bay

.DS_Store files are to Mac what Thumbs.db are to Windows: annoying, meaningless and worst of all, ubiquitous. Whenever you browse to a folder which contains certain magic files or you do something like moving an icon to a certain position, they system will create those files in the folder. Then you happily type in git [...]

20090317 Eclipse tricks

Shortcuts These are the ones I use more often and that immediately come to my mind right now. I have ignored the usual CTRL+C, CTRL+V ones ;-) CTRL + Space code sense: a little dropdown will show up, with available functions/variables depending on what you have already written Alt + / They call it autocomplete, [...]