Monthly Archives: November 2010

Slackware-current: post 13.1 notes

akonadi/nepomuk – 30 nov 2010

akonadi/nepomuk started barfing, and I couldn’t use kmail anymore. I think kde-pim (or maybe akonadi only?) needs to be recompiled since libboost was upgraded and akonadi was searching for the wrong .so file. Temporary fix:

    # ln -l /usr/lib/ /usr/lib/

[Update (30 nov 2010): akonadi was rebuilt]

…then came nepomuk. kmail couldn’t find it. Of course, I disabled it, since I didn’t use it, but now it needs to be enabled even if you don’t care, because kmail evidently needs it. So, to quote the akonadi troubleshooting page:

Please try enabling it in System Settings under Advanced -> Desktop Search -> Basic Settings by checking “Nepomuk Semantik Desktop” and clicking “Apply”.

…and there you go. kmail is back. But I’m going to search for alternatives soon.


ffmpeg/mplayer tricks

[These are here just as a little reminder for me…]

Convert a .flv file (from youtube, for example) to .avi (for your home player)

    ffmpeg -ab 192k -ac 2 -sameq -i file_input.flv file_output.flv.avi

Convert a .flv file (from youtube, for example) to .mp3 (for your mp3 player)

    ffmpeg -i file_input.flv -ar 44100 -ab 160k -ac 2 file_output.mp3

Convert a .flv to .ogg:

    mplayer -ao pcm:fast:file=file.wav -vo null input_file
    oggenc -b 160k -o output_file.ogg file.wav


    oggenc -q2 file.wav

Swap audio channels in mplayer:

    mplayer -af channels=2:2:0:1:1:0 input_file

Deinterlace with mplayer:

    mplayer -vf pp=fd input_file

or (maybe better?):

    mplayer -vf pp=ci input_file