Converting from FLV to a Rockchip AVI Format


I recently got myself an MP4 player from China, the unit is fair enough but I kept having problem converting FLV to it's own little AVI format. Quite a nuisance as I had to do multiple passes (one to AVI, then it's AVI through the supplied software).

Here is a picture of the device that I got from a China-based eBay reseller:

Finally, I got onto a forum and found a solution.

viDrop is an excellent software that basically writes the conversion details for you and it's has presets for the Rockchip format. I recommend the Generic Rockship (medium) preset.

The site is not in english, but if you scroll and keep looking right you will see VIDROP in bit red letters, clicking on it will trigger the .MSI download.

For your convenience, here is the script that I use to convert from FLV to my Rockchip AVI format using mencoder:

mencoder "c:\input.flv" -idx  -forceidx -ovc xvid -xvidencopts bitrate=300:me_quality=6:max_bframes=0:quant_type=h263:turbo:nochroma_me:notrellis:vhq=0 -vf-add scale=-2:240 -vf-add crop=320:240 -vf-add expand=320:240:-1:-1:1  -vf-add eq2=1.1:1:0:1.2::::  -ofps 22 -oac twolame -twolameopts br=112:mode=stereo -af volnorm=2:0.25 -af channels=2 -srate 44100 -o "c:\output.avi"   -vf-add harddup -noodml -of avi

Finally Live


One of our websites is live, if you want to check it out here it is:

RehabStrategy

New Videos I Found


World's Smartest Mouse

Chick Refuses To Be Towed

Blazed Bus Driver

Enjoy!

Writer Tip: Automatic Server Pinging - Windows Live


If like me you use Windows Live Writer to create blogs, then you should take a look at this blog entry to ping server whenever you create a new entry.

This will let aggregators know that there is a new entry on your blog so that they can pick it up.

Writer Tip: Automatic Server Pinging - Windows Live

Keep on typing code monkey


I've seen a significant amount of programming tools in my career and the list of tools that I actually keep in my toolbox over the long term is quite short. I feel like when I have too many tools, I'm dragging around a toolbox that is too heavy to be efficient. Not only do these things take space, but they also take resources and sometimes conflict with one another.

One tool that I've consistently used in the last few years that I can't seem to go too long without is CodeSmith.

CodeSmith is essentially a code generator. However it can be used for other tasks that include the automated generation of content based on any template.

I've used it myself to generate automated database documentation and I must say that I am very happy with the performance, robustness and flexibility of the tool.

CodeSmith also allows you to automate very interesting tasks, for example, we write providers for ASP.NET quite often here. While the reaction of a typical coder may be to simply create a template project, CodeSmith goes a lot further than this. Not only can you create a few classes on the fly (I've seen CodeSmith create hundreds of project files in less than two minutes) but you can also say point to an XML file or a Database and the tool (with the right template) can create anything from a provider to a complete BLL/DAL infrastructure just by reading the schema of the database.

My favorite use of CodeSmith is to create those pesky DALs that are so repetitive in pattern but are always a bit different. I also use it to create the Stored Procedures to support these DAL classes.

Not only can you use CodeSmith with SQL Server but you can also use it with other engines, such as MySQL.