Feeds:
Posts
Comments

Information

ffmpeg is better opensource tool to convert videos from one format to another format. This tool supports almost all the video formats. It is based on video codecs and audio codec libs.

Prerequisites

It requires the following libs need to be installed before compiling ffmpeg,

sudo apt-get install libavcodec-extra-52 libtheora0 libtheora-dev libvorbis0 libvorbis-dev libxvidcore-dev libxvidcore4 libfaac0 libfaad2 libavcodec52 libavformat52 libavidemux0 libavcodec-dev libavformat-dev libavutil49 libavutil-dev

Installing FFMPEG

 
Download the ffmpeg source from the following link

http://www.ffmpeg.org/releases/ffmpeg-0.8.1.tar.bz2

Compiling

bunzip2 ffmpeg-0.8.1.tar.bz2

tar xvf ffmpeg-0.8.1.tar

cd ffmpeg-0.8.1

./configure –prefix=/usr –enable-libvorbis –enable-libtheora –enable-libfaac  –enable-libxvid –disable-debug –enable-gpl –enable-nonfree –disable-yasm

make

sudo make install

Converting videos

FLV to 3GP

ffmpeg -i  youtube.flv -s qcif -vcodec h263 -acodec libfaac -ac 1 -ar 8000 -r 25 -ab 32 -y youtube.3gp

Support

If you need any help please ask me..will help to convert your videos into required format.

A quick and dirty guide on how to crosscompile a custom Linaro kernel deb for your ARM board on Ubuntu Lucid.

Prerequisites

sudo apt-get build-dep --no-install-recommends linux-image-`uname -r`
sudo aptitude install apt-get install gcc-4.5-arm-linux-gnueabi fakeroot build-essential

Obtain the source

$git clone --depth 1 git://git.linaro.org/ubuntu/linux-linaro.git

Adjust the kernel config

cd linux-linaro
fakeroot debian/rules clean
fakeroot debian/rules editconfigs

  • You may run fakeroot debian/rules updateconfigs to check if ubuntu complains your config (debian.linaro/config/enforce).

Add a changelog entry

Add an entry to the debian.linaro/changelog:

DEBEMAIL="thangam.arunx@gmail.com" DEBFULLNAME="Roja Arun" dch --changelog debian.linaro/changelog -l local 'enable ftrace

Build the kernel deb

We don’t want to build the tools (like perf) because this requires some cross libs installed:

sed -i “s/do_tools.*=.*true/do_tools = false/” debian.linaro/rules.d/armel.mk

 

Restrict the build to the flavour we are actually interested in:

sed -i "s/flavours.*=.*/flavours = linaro-vexpress/" debian.linaro/rules.d/armel.mk

 

Build the binary package (-b), do not sign the .changes file (-uc) or source package (-us):

CROSS_COMPILE=arm-linux-gnueabi- skipabi=true skipmodule=true do_tools=false dpkg-buildpackage -aarmel -b -uc -us
This may take a while and will probably fail at some point but hopefully leaves the kernel deb at ../*deb.

 

Reference Links

https://wiki.linaro.org/KenWerner/Sandbox/CreateCustomKernelDeb

Objective of this blog post as follows.

Myself working with www.fsftn.org for past two years in spreading FOSS by giving presentations at various Engineering colleges. across Tamil Nadu.

While doing two days FOSS workshop at Vellalar Engineering college, Erode We (FSFTN) as a team initiated a project called “punnagai” to take Sugarlabs.org learning platform to school children’s. In order to accomplish the work, We planned two initial works.

1. Tamil Translations at Sugarlabs.org

2. Bringing Sugar Desktop into Ubuntu & Debian

3. Tamil Manuals – For school teachers and

First task was completed during mid of September 2010. Second task is in progress.

I have been trying to bring www.sugarlabs.org desktop + applications into Debian and Ubuntu Distributions in-order to take this to school children’s for their computer learning.

Follow the steps to build Live Debian on RPM or Debian based Linux distributions.

How to build

The construction of the CD is pretty easy. Configuration is all done in the /livecd/conf directory, you can read how to do it debian-live site, or go in IRC debian-live channel

In non-Debian systems (Fedora, etc)

1. Get the live-helper source code

 git clone git://git.debian.net/git/debian-live/live-helper.git live-helper

In Debian systems

1.

 apt-get install live-helper subversion

2.

 svn co https://sugarlivecd.svn.sourceforge.net/svnroot/sugarlivecd
 cd ./sugarlivecd/livecd
 lh_clean ; lh_build

The creation takes time, and you will need to be connected to the internet.

References:

1. http://wiki.sugarlabs.org/go/Live_CD

2. http://wiki.debian.org/DebianLive

We are looking for more volunteers to take this too many schools and improve the Translation in terms Quality and

Bangalore Android Group’s 5th Meet up

When: Sunday, July 25  2010 ,   2:00 PM – 5:00PM

Where:
ThoughtWorks Technologies (India) Pvt Ltd

ACR Mansion, 2nd floor, 147/F, 8th Main Rd.
3rd Block, Koramangala
Bangalore – 560 034, India

RSVP – http://www.meetup.com/blrdroid/calendar/14160191/

New Initiative:
We are very excited to announce one initiative that we were planing from long time. We believe that this initiative will provide a great opportunity to every member of the group to present his idea/work/achievement to the entire group. We are actually planning to start this initiative from BLRDROID 6th meetup.
Most of our members are working on great things in android.So in every meetup we will have one(minimum)presentation slot reserved for our members.
You can talk on anything that you are excited/worked/new idea/ about android.
We feel that this initiative will give more exposure the both an individual and also to the group.
But wait…? Why start from next meetup?
We think that there are members who can give a nice talk on android from this meetup itself. Even though we have only 4 days left for next meetup, we encourage you to let us know if any of you can give a talk. We will start the new initiative from this meetup itself :)
Please let us know about your presentation topic and duration of the presentation by Thursday 5:00 PM,22nd  JULY 2010 (IST).
We will be mailing the final agenda for the meetup by 22nd JULY EOD.
Waiting for your positive reply..!!!

Organizer’s Contact no:

Neeraj: 9900971840
Badri: 9986961548
Ankit: 9620215017
Amrit: 9740744557
Ravi:  8904860938

நமது தேசத்தின் சில அவலங்களைப் பட்டியலிட்டுள்ளேன். படித்துப்பாருங்கள்!

1 அரிசியின் விலை கிலோ 44 ரூபாய். ஆனால் சிம் கார்டு இலவசமாகக் கிடைக்கிறது.

2 பொது வினியோகத்தில் விற்கப்படும் அரிசியின் விலை கிலோ ஒரு ரூபாய். ஆனால் பொதுக்கழிப்பறையின் கட்டணம் மூன்று ரூபாய்.

3 வங்கிகளில் வாகனக் கடன்களுக்கான வட்டி ஐந்து சதவிகிதம். ஆனால் கல்விக்கடனுக்கான வட்டி 12 சதவிகிதம்.

4 பிஸ்ஸா வீட்டிற்கு வந்து சேரும் வேகத்தில் பாதியளவு வேகத்தில்கூட அதாவது பாதி நேரத்தில்கூட அம்புலன்சும், தீயனைப்பு வாகனங்களும் வந்து சேர்வதில்லை!

5 ஒரு கிரிகெட் குழுவையே கோடிக்கணக்கான பணத்தைக் கொடுத்து விலைக்கு வாங்கக்கூடிய செல்வந்தர்கள் இருக்கிறார்கள். அதே பணத்தில் பத்தில் ஒரு பங்கைக்கூட அறப் பணிகளுக்குச் செலவு செய்யக்கூடிய செல்வந்தர்கள் மட்டும் இல்லை!

6 நாம் அணியும் ஊள்ளாடைகளும், ஆடைகளும், காலணிகளும் குளிரூட்டப்பெற்ற கடைகளில் விற்கப்படுகின்றன. ஆனால் நாம் உண்ணும் காய்கற்களும், பழங்களும் நடைபாதைக் கடைகளில் விற்கப்படுகின்றன.

7 நாம் குடிக்கும் லெமன் ஜீஸ்கள் செயற்கையான இரசாயனப் பொருட்களால் தயாரிக்கப்படுகின்றன. பாத்திரம் கழுவ உதவும் நீர்க் கலவை இயற்கையான லெமனில் (எழுமிச்சையில்) தயாரிக்கப்படுகிறது.

8 மொத்தமாகப் பள்ளிகளையும், கல்லூரிகளையும் நடத்த வேண்டிய அரசு, சாராயம் விற்றுக்கொண்டிருக்கிறது. சாராயம் விற்றுக்கொண்டிருந்த பலர் இன்று கல்லூரிகளை நடத்திக்கொண்டிருக்கிறார்கள்.

9 கோதுமைக்கு வரியில்லை. அது விளைபொருள். கோதுமையை மாவாகத் திரித்தால் வரியுண்டு.

கோதுமை மாவை சப்பாத்தியாக செய்துவிற்றால் வரியில்லை
அதே மாவை பிஸ்கட், கேக், பிரெட்டாகச் செய்துவிற்றால் வரி உண்டு!

10 பிரபலமாக வேண்டும் என்ற அபிலாசைகள் அனைவருக்கும் உண்டு. ஆனால் பிரபலாமவதற்கு உரிய உண்மையான வழியில் செல்ல மட்டும் ஒருவருக்கும் விருப்பம் இல்லை!

11 குழந்தைத் தொழிலாளர்களை ஒழிக்க வேண்டும் என்போம். ஆனால் தேநீர்க்கடைகளில் வேலை பார்க்கும் சிறுவர்கள் கொண்டுவந்து கொடுக்கும் டீயை மட்டும் சுவாரசியமாக உறிஞ்சிக்குடிப்போம்!

12 அனைத்திற்கும் சேவைவரி (Service Tax) உண்டு. மனைவியின் சேவைகளுக்கு மட்டும் வரி இல்லை!

இந்த நிலை மாறுவது எப்போது?

தூங்கும் பாரதமாதவைத்தான் எழுப்பிக் கேட்க வேண்டும்!

சிந்தித்து பாருங்கள் இளைஞர்களே…

எப்படி இந்த அவலங்களை களையெடுக்கப் போகிறோம்..

Hello geeks if you are dealing with kernel development or handling large amount of source files

Here is the way to get the cross reference with all the files in a web based source view.

Requirements:

Apache – Web server

lxr -Linux Cross Reference -

Perl – Reference generator

1. Install the pre-requested packages

$ sudo apt-get install lxr perl apache2

$ sudo vi /etc/apache2/sites-enabled/000-default

2. Add these lines to “/etc/apache2/sites-enabled/000-default”

$ sudo vi etc/apache2/sites-enabled/000-default/

# Linux Cross Reference Stuff
Alias /lxr /usr/share/lxr
usr/share/lxr>
Options All
AllowOverride All
</Directory>

3. Create a file /usr/share/lxr/http/.htaccess which contains:

$ sudo vi /usr/share/lxr/http/.htaccess

<Files ~ (search|source|ident|diff|find)$>
SetHandler cgi-script
</Files>

4. Restart your apache web-server

$ sudo /etc/init.d/apache2 restart

5. Now we will setup the cross reference.

i).  Create /usr/share/lxr/source if it doesn’t exist.
ii). Create a directory 2.6.32 inside it – this is the linux version I am cross referencing.

$ sudo mkdir /usr/share/lxr/source/2.6.32 -p

iii). Untar the kernel source inside this directory in a subdirectory ‘linux’ .. i.e., you now have /usr/share/lxr/source/2.6.22/linux with the source in the linux directory.

$ cd /usr/share/lxr/source/2.6.32 ; sudo tar zxvf linux-2.6.32.tar.gz

iv).  Add a line with contents ’2.6.32′ (without the single quotes) in /usr/share/lxr/source/versions
v).   Create a link from /usr/share/lxr/source/2.6.32 to /usr/share/lxr/source/defversion

$ sudo ln -s /usr/share/lxr/source/2.6.32 /usr/share/lxr/source/defversion

vi).  Change the director to /usr/share/lxr/source/2.6.32 and execute ‘genxref linux’

$ cd/usr/share/lxr/source/2.6.32 ; sudo genxref linux

vii).  Make sure that all the files inside  /usr/share/lxr/source/2.6.32 has “read” permission

$ sudo chmod -R o+r /usr/share/lxr/source/2.6.32/*

viii). 10 minutes later click here:  http://localhost/lxr/http/blurb.html
ix).   Then click “Browse The Code”

Thats all have a nice day !!!

Remember ~~~Future is Ours~~~

Here are the steps for custom kernel building.

$ cd /usr/src

$ sudo apt-get install fakeroot kernel-wedge build-essential makedumpfile kernel-package

$ sudo apt-get build-dep linux

$ sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)

$ sudo apt-get source linux-image-$(uname -r)

$ sudo apt-get install libncurses5 libncurses5-dev

$ sudo ln -s linux-2.6.32 linux

$ cd linux

$ cd make menuconfig

$ export CONCURRENCY_LEVEL=3

$ sudo make-kpkg clean

$ sudo fakeroot make-kpkg --initrd --append-to-version=-custom kernel-image kernel-headers

While building a kernel from source, i got the following 2 Errors. I solved both of them.

ERROR-1

dpkg-deb: building package `linux-firmware-image' in `../linux-firmware-image_2.6.32.15+drm33.5-3_all.deb'.
dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775)
make[1]: *** [deb-pkg] Error 2
make: *** [deb-pkg] Error 2

SOLUTION-1

$ sudo chmod -R a-s /usr/src

ERROR-2

LD [M]  ubuntu/omnibook/omnibook.o
ld: /ubuntu/omnibook/sections.lds: No such file: No such file or directory
make[2]: *** [ubuntu/omnibook/omnibook.o] Error 1
make[1]: *** [ubuntu/omnibook] Error 2
make: *** [ubuntu] Error 2

SOLUTION-2

$ sudo vi /usr/src/linux/ubuntu/omnibook/Makefile

160: #EXTRA_LDFLAGS +=  $(src)/sections.lds
161: EXTRA_LDFLAGS += $(PWD)/ubuntu/omnibook/sections.lds

Un comment Line no 160 and comment Line no 161 as follows

160: EXTRA_LDFLAGS +=  $(src)/sections.lds
161: #EXTRA_LDFLAGS += $(PWD)/ubuntu/omnibook/sections.lds

now you can continue compiling kernel

$ sudo fakeroot make-kpkg --initrd --append-to-version=-custom kernel-image kernel-headers

$ ls /usr/src/

-rw-r–r– 1 root root  35033282 2010-07-08 18:16 /usr/src/linux-image-2.6.32.15-Custom_i386.deb
-rw-r–r– 1 root root   6580824 2010-07-08 18:17 /usr/src/linux-headers-2.6.32.15-Custom_i386.deb

$ sudo dpkg -i linux-image-2.6.32.15-Custom_i386.deb

$ sudo dpkg -i linux-headers-2.6.32.15-Custom_i386.deb

References:

Today we are very excited to announce the next meetup.

This meetup is very special members of our group, as talks on meetup will be taken care by Google. This is a very good opportunity for all of us to get some insights on Android from Google guys directly.
You might definitely have many questions with reference to android and this is the golden opportunity to get answer of those questions directly from the creators of technology.

Bangalore Android Group’s 4th Meet up

When: Friday, June 18, 2010 1:00 PM

Agenda:

  • 12:45 to 1:00 PM – Refreshment on Arrival
  • 1:00 to 1.30 PM – Introductions by members & organizers
  • 1.30 to 2:00 PM – Alok Goel, Head of mobile products for Google India will talk about “Overview of Mobile Business in India”.
  • 2:00 to 3:00 PM – Rajdeep Dua, Country Lead Developer Relations for Google India will talk about “Android Platform Overview”.
  • 3:00 to 3:15 PM – Refreshment & High Tea
  • 3.15 to 4:00 PM – Rajdeep Dua on “Deep dive in Android (Android best practices)”.
  • 4:00 to 4:30 PM – Question & Answer Session with Rajdeep & Alok

Note: We have limited number of seats (100 only) for this meet up.  These seats will fill on first come first serve basis. Try to reach to the venue before time.

Venue:

Hotel Royal Orchid
1, Golf Avenue, (Adjoining KGA Golf Course),

Airport Road, Bangalore 560 008, India
Tel: +91 80 4178 3000

Organizer’s Contact no:

Neeraj: 9900971840
Badri: 9986961548
Ankit: 9620215017

Directions: http://bit.ly/bVwJQ8

Urgent Requirement for Android Developer

Fresher / Freelancer

Job Location: Bangalore

Project: Android Framework Customisation

Must have hands on experience on C++ / Java programming. Having experience on Android platform is a plus

Company profile : www.repapsystems.com

Send your profile to: arun@repapsystems.com / thangam.arunx@gmail.com

Most of the corporate companies never allow unwanted ports to for external access. I faced the same issue when i was trying to access my computer(had public IP) over ssh. I got ssh connection timed out error. Then i realized that sitting behind a firewall and trying to use ssh over port 22 will not help.



How to hack firewall for ssh access?

How do i then log in into my remote computer by penetrating firewall. It is not easy. Ssh server is running on ubuntu-9.10(it has Dynamic public IP address) and i am accessing the same from Ubuntu-9.04 on virtual box via firewall.


First Attempt:

$ ssh -p 22 arun@xx.xx.xx.xx

Error: Connection timed out


Second Attempt:

I got one idea to break the barrier.  I changed the ssh server port number to 80 in “/etc/ssh/sshd_config” file

“Port 22″ to “Port 80″. Then tried connecting ssh over port 80, does not helped

$ ssh -p 80 arun@xx.xx.xx

Error: Connection timed out


Third Attempt:

Most of the corporate companies allow “HTTPS” connections , it means on firewall port 443 opened for external access. So that is enough for us to access SSH server sitting behind the strict firewall.So change the ssh server port number to  “Port 22″ to “Port 443″ in “/etc/ssh/sshd_config”. This is worked liked anything.


Success…Happy Hacking Enjoy..

$ ssh -p 443 arun@xx.xx.xx.xx

Older Posts »

Follow

Get every new post delivered to your Inbox.