- Encode Audio
- mencoder vob_03_005t.vob -ovc frameno -oac mp3lame -o frameno.avi
- Encode Video 1st pass
- mencoder vob_03_005t.vob -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1973:vhq:vqmin=2:vpass=1:autoaspect -oac copy -o /dev/null
- Encode Video 2nd pass
- mencoder vob_03_005t.vob -ovc lavc -sub subtitle.srt -lavcopts vcodec=mpeg4:vbitrate=1973:vhq:vqmin=2:vpass=2:autoaspect -af volumn=10db -oac copy -o video.avi
Monday, September 26, 2005
Backing up a DVD to AVI with merged subtitle using Mencoder
Thursday, September 22, 2005
Wednesday, September 21, 2005
Setting-up a Certificates Authority using OpenSSL
I forget this almost everytime, so write it down here just in case.
- Have OpenSSl install somewhere.
- Go to
/share/ssl or sometimes ssl directory - Fix openssl.conf. Change "demoCA" to "somethingCA" that's more appropriate.
- Change "-days 365" in misc/CA.sh to "-days 3650"
- misc/CA.sh -newca. A directory called "somethingCA" will be here.
- Now create a cert request
- misc/CA.sh -newreq for cert with passphrase
- To create a cert request without passphrase. "openssl genrsa -out newkey.pem 1024" then "openssl req -new -key newkey.pem -out newreq.pem"
- Sign the generated request with "misc/CA.sh -sign". It always looking for "newreq.pem" so be carefull. The new certificates will be in newcert.pem
- Copy key and cert to the machine which want to use these. Put it in appropriate directory (/usr/share/ssl/certs/{slapd-key.pem,slapd.pem} for OpenLDAP)
- Find the hash number of ca by "misc/c_hash somethingCA/cacert.pem". The printed value is the file name. Copy somethingCA/cacert.pem to /usr/share/ssl/certs/
.0.
- Need to fix /etc/openldap/ldap.conf and /etc/openldap/slapd.conf to accept the new CA
- Fix the following configuration
- "TLS_CACERT /usr/share/ssl/certs/fde68c33.0" in /etc/openldap/ldap.conf
- "TLSCACertificateFile /usr/share/ssl/certs/fde68c33.0" in /etc/openldap/slapd.conf
Monday, September 19, 2005
Filters (Thunderbird) - MozillaZine Knowledge Base
Managing ThunderBird Filter - There's a short guide to copy filter from one account to another. Why don't it has "Copy" button?
Sunday, September 18, 2005
Friday, September 16, 2005
GridShib: A Policy Controlled Attribute Framework
Shibboleth is an initiative by Internet2 member universities to develop and deploy new middleware technologies that can facilitate inter-institutional collaboration and access to digital content. More information on Shibboleth can be found on the Internet2 middleware web site
GridShib: Integrating federated authorization infrastructure (Shibboleth) with Grid technology (the Globus Toolkit) to provide attribute-based authorization for distributed scientific communities
GridShib: Integrating federated authorization infrastructure (Shibboleth) with Grid technology (the Globus Toolkit) to provide attribute-based authorization for distributed scientific communities
Wednesday, September 07, 2005
Adding driverdisk to Compute Node in ROCKS
This should be usefull for us. We can install compute node which required some driver disk. Just grab it from ROCKS mailing-list.
if you can PXE boot your compute nodes, then on your frontend, try:
# cd /home/install
# mkdir driverdisk
# cp/home/install/driverdisk/dd.img
# vi /tftpboot/pxelinux/pxelinux.cfg/default
change the line:
append ks initrd=initrd.img ramdisk_size=150000 lang= devfs=nomount headless pxe kssendmac selinux=0
to:
append ks initrd=initrd.img ramdisk_size=150000 lang= devfs=nomount headless pxe kssendmac selinux=0 driverdisk=http://10.1.1.1/install/driverdisk/dd.img
Friday, September 02, 2005
Subscribe to:
Posts (Atom)