Nov 22 2012
Dealing with FFMPEG Error while opening codec for output stream…
Quick post about the ffmpeg error message: “Error while opening codec for output stream #0.0 – maybe incorrect parameters such as bit_rate, rate, width or height” .
We received some video files from a partner in the Safecity project, which did not play in all media players.
We tried VLC, windows media player, and a variety of other players but nothing worked.
Checking the file with a hex editor, I saw there was data within the video, and thought to try converting with FFMPEG using commands such as:
ffmpeg -i “damaged_file.avi” converted_file.mp4
However, ffmpeg failed with the following error message:
Error while opening codec for output stream #0.0 – maybe incorrect parameters such as bit_rate, rate, width or height



Jan 18 2013
Easily validating your Varnish cache VCL file and other quick tips
For anyone wanting further information on the varnish pipeline, as well as why someone should use varnish I recommend the following two articles:
1) http://open.blogs.nytimes.com/2010/09/15/using-varnish-so-news-doesnt-break-your-server/?smid=tw-share
2) https://www.varnish-software.com/static/book/VCL_Basics.html
By Menelaos Bakopoulos • Linux, Servers (*ix , scripting) 1 • Tags: Varnish