Archive

Archive for January, 2010

How To ReRender PrimeFaces growl after Ajax request from RichFaces component

January 17th, 2010 Karthikeyan C 2 comments

The trick is to embed p:growl within a4j:outputPanel (else for some reason PrimeFaces growl is not rerendered even after assigning an id to it)


<a4j:outputPanel id="pgrowl">
 <p:growl  showDetail="true"  sticky="true"/>
 </a4j:outputPanel>

The usage is like


<a4j:commandButton reRender="pgrowl" ..........
  • Share/Bookmark
Categories: Development Tags:

Google’s Chatback badge similar to Yahoo’s PingBox

January 15th, 2010 Karthikeyan C No comments

Recently came across Google’s chatback badge for your website or blog’s visitors to chat with you.

http://www.google.com/talk/service/badge/New

  • Share/Bookmark
Categories: Tools / Utilities Tags:

Fixing audio hiccup (breaking) when using mencoder for conversion

January 9th, 2010 Karthikeyan C No comments

I use recordmydesktop to produce screen casts occasionally.  I was using the below  command to convert from ogv to flv format.


mencoder -of lavf -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc -lavcopts vcodec=flv:vbitrate=250:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=800:600 -o tutorial.flv out.ogv

In the output file which is tutorial.flv, there were small breaks in audio (hiccups). The ogv file was fine as when i played in movie player there were no hiccpus. So the hiccups were introduced during the conversion.

http://en.gentoo-wiki.com/wiki/HOWTO_Mencoder_Introduction_Guide helped me to make use of the command mencoder -oac help to view the options available and I chose the right options. This helped me to create the output file without any audio hiccups.

  • Share/Bookmark
Categories: Tools / Utilities Tags: