Monday, May 13, 2013

Screencast with video and sound with Fedora

I have been working with different screencast tools.  kdenlive and gtk-recordMyDesktop as well as <ATL><SHIFT><CONTROL-R> work on Fedora 18.  But the easiest method I found is to just use command line with ffmpeg, creating a mkv and then mp4 to upload to vimeo. 

Uploading mp4 to vimeo was recommended with the following settings -

https://vimeo.com/help/compression

Getting ffmpeg to work with libfaac on Fedora - 

http://tinkerance.blogspot.com/2012/11/getting-ffmpeg-to-work-with-libfaac-on.html

My command line for capture -

ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -crf 0 -threads 0 video-output/screen-capture-output.mkv

My command line for converting to mp4 - 

ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -crf 0 -threads 0 video-output/screen-capture-output.mkv 



Sunday, May 12, 2013

Hadoop on Raspberry Pi

Good article on hadoop on Raspberry PI

http://raspberrypicloud.wordpress.com/tag/hadoop-on-raspberry-pi/


Friday, May 10, 2013

Using Enterprise Data Services (Teiid) to access Salesforce.com Data

Setup a Developer Account

First browse to http://developer.force.com/ and join developer force.  If you use a trial at salesforce.com alone then you will get an API_CURRENTLY_DISABLED error when trying to test the connection to salesforce.
Join now page


If you already have a username/password setup in salesforce then you will have to create a unique username.   An email from info@sforce.com with the subject Welcome to Force.com! should be received.  An additional email from info@sforce.com should be received with the subject Salesforce.com login confirmation.  Click the link to login and set the password to Salesforce.com.

In order to access the API with our username and password we have to reset (create) a security token.  Once you sign onto salesforce.com click on the My Personal Information link.  The option to Reset your security token is then clicked.  Once clicked on email from support@salesforce.com with the subject salesforce.com security token confirmation should be received.  This token appended with your username will login to salesforce.

Reset Security Token
Now you are able to go through https://community.jboss.org/wiki/ConnectToSalesforceUsingTeiid to preview data from salesforce.com.

I used SOA-P and EDS from Red Hat and added the server to the project.  One note when going through the tutorial that if a managed connection error occurs then go into the ds.xml that is deployed to the app server and add the username and password in order to preview the data.

ds.xml file
Once you go through that tutorial then you can use the quickstart at http://docs.jboss.org/teiid/7.7.0.Final/quick-start-example/en-US/html/index.html to see how to use a VDB in an application.








Wednesday, May 8, 2013

CamelOne - Security within Fuse


I am looking forward to speaking at the CamelOne conference in Boston.  Come join us and attend CamelOne, JUDCon and Red Hat Summit.  My session will include OSGi Container Security, Apache ActiveMQ Security, Apache Camel Security and Apache CXF Security.