Sunday, February 20, 2011

Avant-window-navigator system notification daemon applet crashed

GStreamer-CRITICAL **: gst_debug_add_log_function: assertion `func != NULL' failed
aborting...

Solution: re-install avant-window-navigator-bzr & awn-extras-applets-bzr

configure: error: The xdg python module is required (pyxdg or python-xdg)
    Aborting...

Stupid python3!

Solution: sudo ln -s /usr/bin/python2 /usr/bin/python

Saturday, February 19, 2011

Joining many AVI files together & changing framerate

convert into one file:

for i in $(ls); do cat $i >> bigavi.avi; done
mencoder -forceidx -oac copy -ovc copy bigavi.avi -o FINAL.avi

framerate (25):

ffmpeg -i FINAL.avi -f yuv4mpegpipe - | yuvfps -s 25:1 -r 25:1 | ffmpeg -f yuv4mpegpipe -i  - -b 1000k  faster.avi

Thursday, February 17, 2011

Remove dead repo (installed by package) from cydia via ssh

Failed to fetch http://ispaziorepository.com/./Packagez.gz HTTP/1.1 404 Not found.

Can't remove the repo through cydia, it was installed by JB tool.


 [youri@nemesis ~]$ ssh root@192.168.1.6 
root@192.168.1.6's password:

yPhone:~ root# rm /etc/apt/sources.list.d/ispazio.net.list


Fixed.

Sunday, February 13, 2011

Upgrading ubuntu 10.10 to natty narwhal

youri@zexlette:~$ sudo do-release-upgrade -d

This hangs at "Calculating the changes"

youri@zexlette:~$ sudo aptitude update
youri@zexlette:~$ sudo aptitude full-upgrade

1164 packages upgraded, 135 newly installed, 78 to remove and 0 not upgraded.
Need to get 623MB of archives. After unpacking 3,940kB will be freed.

E: Couldn't configure pre-depend x11-common for x11-utils, probably a dependency cycle.

youri@zexlette:~$ sudo dpkg --force-depends --remove x11-xkb-utils
[source]

youri@zexlette:~$ sudo aptitude full-upgrade

Monday, February 7, 2011

mjpg-streamer on arch with uvc webcam

[youri@nemesis ~]$ pak -S mjpg-streamer-uvc

[youri@nemesis ~]$ mjpg_streamer
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 5
 i: Format............: MJPEG
Unable to set format: Invalid argument
 Init v4L2 failed !! exit fatal
 i: init_VideoIn failed

[youri@nemesis ~]$ mjpg_streamer -i "input_uvc.so -d /dev/video -y" -o "output_http.so"
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: 5
 i: Format............: YUV
 i: JPEG Quality......: 80
 o: www-folder-path...: disabled
 o: HTTP TCP port.....: 8080
 o: username:password.: disabled
 o: commands..........: enabled

501: Not Implemented!
no www-folder configured
 
http://localhost:8080/?action=stream works