google talks logitech linux kubuntu


http://lh4.googleusercontent.com/public/35Tr4FL_kZV90fipuZyaJeHHuVp-_c3BnLfuYQd1Nd2fLCUGCU5-mwySKIT8R3-RzIF2XOjneivGYU5jMTUgf342_rzsDwSW0xdf5mmHIShgCDzDp6jG1ltmy8TzXCw

Fast answer

google talks +linux \ ubuntu + video chat = logitech c 310  Bus 001 Device 002: ID 046d:081b Logitech, Inc.

microfone works.

is pulse installed ? (dpkg -l pulseaudio )

ffmpeg -f alsa -ac 2 -i pulse -acodec mp2 -f video4linux2 -s 1280×1080 -r 30 -i /dev/video0 -vcodec mjpeg -sameq test.avi

else

ffmpeg -f alsa -ac 2 -ar 48000 -i hw:0,0 -acodec mp2 -f video4linux2 -s 1280×1080 -r 30 -i /dev/video0 -vcodec mjpeg -sameq test.avi

you can even test your webcam directly with ffplay with

ffplay -f alsa -ac 2 -f video4linux2 -i /dev/video0

Stupid stuff considerations

i don’t know which is the worse thing you can get when you buy a webcam , if it doesn’t work or if works with some programs but with google talks no,

Google talks runs on linux mac and windows android and more i guess. and it’s opensource , and mainly i use it with my family that use linux and mac.

I bought a philips spc230nc and it worked with vlc kamoso and others gtk applications but didn’t with google talks.. This was a bad bad thing for me .

so right now i have a logitech c310 and it works out of the box! Just plug into kubuntu ,11.04 for my test, and it’ will  work. it has 720p videos AND IT’S FAST.

the audio seems works good even into google talks so what i could say more ? Nice! problem solved

Krita the adobe photoshop for kde , FullScreen Mode


Wondering where is the fullscreen option in krita 2.1.2? i aspected to see it on view menu but i didn’t

Boud helped me :D i didn’t think to delete old configuration files .. deleted these files :D krita fixed  so…

**remember ~ can be write wtih  (ALT Gr + ì on italian keyboard if you have another keyboard search on google how to do … it’s pretty faster than write $HOME/.kde )

rm ~/.kde/share/config/kritarc && rm -R ~/.kde/share/apps/krita/

it’s pity krita has not an entry for fullscreen mode on “view mode menu  but Kwin has this feauture so.. there is not a problem anyways it seems on other version there is this feature it will be nice :D

FFmpeg


HOW TO TEST YOUR FFMPEG

FFmpeg handles a lots of formats but only if you install it correctly let’s go to test it

Type in a terminal :

ffmpeg -formats 2>&1 | grep aac

if you get

D aac ADTS AAC
D A mpeg4aac

E=Encoder and so…

Your ffmpeg is not able to use restricted formats like ac3 wma etc etc ! and you’ll get problems !

if you get

D aac ADTS AAC
DEA aac
D A mpeg4aac

your FFmpeg is compiled with aac supports and if you wanna encode on ac3 formats you HAVE TO USE like codec name aac!

EXAMPLE: ffmpeg -i INPUT -acodec aac OUTPUT
fi you get

D aac ADTS AAC
DEA libfaac
D A mpeg4aac

Your FFmpeg is compiled with aac supports but YOU HAVE TO USE LIBFAAC like codec name!

EXAMPLE: ffmpeg -i INPUT -acodec libfaac OUTPUT

this works for many codecs example xvid h264 etc etc

etc etc

HOW TO FIX FFMPEG on Kubuntu system

1-Add Medibuntu repository

then reinstall FFmpeg + these packages  (NUMBER COULD CHANGE BUT YOU CAN SEARCH WITH SYNAPTIC O KPACKAGEKIT )

sudo apt-get install ffmpeg libavdevice-unstripped-52 libavformat-unstripped-52 libavutil-unstripped-49 libpostproc-unstripped-51 libswscale-unstripped-0

Error that makes your ffmpeg sucks

error while loading shared libraries: libavutil.so.50: cannot open shared object file: No such file or directory

that is due to an older ffmpeg version on the pc you have to rid it

try this

sudo apt-get remove –-purge ffmpeg libavdevice-unstripped-52 libavformat-unstripped-52 libavutil-unstripped-49 libpostproc-unstripped-51 libswscale-unstripped-0 

then try again your ffmpeg or try to compile ffmpeg again.

HOW To FIx FFMPEG on Kubuntu 9.04 system COMPILING

sudo apt-get build-dep ffmpeg && sudo apt-get install libx264-dev  libxvidcore4-dev libopenjpeg-dev libamrwb-dev libamrnb-dev  checkinstall  libasound2-dev   libdc1394-22-dev   libgsm1-dev  libimlib2-dev libraw1394-dev libsdl1.2-dev libschroedinger-dev libspeex-dev  libtheora-dev  libvorbis-dev libx11-dev libxext-dev libxvmc-dev quilt texi2html zlib1g-dev libfaad-dev libdirac-dev libfaac-dev libmp3lame-dev

svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg

 cd ffmpeg && ./configure --prefix=/usr/local --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libx264  --enable-libtheora --enable-libdc1394 --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-avfilter-lavf --enable-libamr-nb --enable-libamr-wb &&  make

HOW To FIx FFMPEG on Kubuntu 9.10 system COMPILING

This could help you to add some feauters on your ffmpeg when this article will get old.The most of configuration can be found here , i mean to enable codecs,

./configure --help | grep enable-lib

that should list every library you can enable. And as you can see on karmic koala 9.10 the old way to compile ffmpeg can not be used again, just because amr libraries have changed name and some feauters have been added like vdpau for nvdia cars only.

So now you need to install :

sudo apt-get install libopencore-amrnb-dev libopencore-amrwb-dev

when i tried to compile ffmpeg then i get some errors like this

ibavcodec/vdpau.h:76: error: expected specifier-qualifier-list before ‘VdpPictureInfoMPEG4Part2’

and of course this is an error because i have not disabled vdpau support that is only for nvidia cards. and i have an intel… well so you should search something to disable with

./configure --help | grep disable-

Because of course you use software like kdenlive or software that use ffmpeg YOU NEED TO ENABLE THIS OPTION ;

–enable-shared

And you should REMOVE FFMPEG AND EVERY OLD FFMPEG FROM YOUR SYSTEM THAT SHOULD BE INSTALLED ON

/usr

so to avoid some problems with libraries you need to install ffmpeg on /usr/local so the most of configure script has

/usr/local like prefix by default anyway to be sure ….

–prefix=/usr/local

So this could be a configuration :( here there is not x264 becasue on kubuntu karmic seems there are some problems with x264 version… -.-”  **)

--prefix=/usr/local --enable-shared --enable-gpl --enable-version3 --enable-nonfree  --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab  --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libdirac  --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame  --enable-libopenjpeg --enable-libschroedinger --enable-libtheora --enable-libvorbis  --enable-libxvid --disable-vdpau

and this one another to add some libraries that you never use in your life …

./configure  --prefix=/usr/local --enable-shared  --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-gray    --enable-bzlib --enable-libopencore-amrnb  --enable-libopencore-amrwb --enable-libdc1394  --enable-libdirac   --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame  --enable-libopenjpeg  --enable-libschroedinger  --enable-libspeex --enable-libtheora  --enable-libvorbis     --enable-libxvid   --enable-zlib  --enable-gprof  --enable-extra-warnings --disable-vdpau

if you want 264 encoder you should download and installl libx264 too… -.-”

git clone git://git.videolan.org/x264.git
git clone git://git.videolan.org/x264.git

cd x264  &&  ./configure --enable-shared  &&  make -j3  &&  sudo checkinstall


**if you want install normally you should use sudo make install instead of sudo checkinstall.

then recompile ffmpeg you should get errors on compiling ffmpeg just because this library is going to be installed in /usr/local/lib instead of /usr/lib…

for my own use i installed ffmpeg on /usr … even if this can be a pain in some situations

Follow

Get every new post delivered to your Inbox.