Samstag, 6. Juni 2009
convert flv to mpg
ffmpeg -i test.flv -ar 22050 -ab 56 -r 25 -f flv -b 400 -qmin 3 -qmax 6 -s 320x240 test.mpg
Freitag, 5. Juni 2009
convert AVI to DVD format
1) -> (mencoder -o out.avi -noidx -oac copy -ovc copy ccmovie.avi)
-> ffmpeg -i out.avi -y -target ntsc-dvd -sameq -aspect 16:9 out.mpg
-> dvdauthor --title -o dvd -f out.mpg
-> dvdauthor -o dvd -T
-> mkisofs -dvd-video -o dvd.iso dvd/
-> growisofs -dvd-compat -dvd-video -speed=4 -Z /dev/dvd dvd/*
OR
2) devede
-> ffmpeg -i out.avi -y -target ntsc-dvd -sameq -aspect 16:9 out.mpg
-> dvdauthor --title -o dvd -f out.mpg
-> dvdauthor -o dvd -T
-> mkisofs -dvd-video -o dvd.iso dvd/
-> growisofs -dvd-compat -dvd-video -speed=4 -Z /dev/dvd dvd/*
OR
2) devede
Mittwoch, 13. Mai 2009
show MAC address
To see the MAC address of a host in the network do the following:
a) ping host
b) arp -a or arp -a host
a) ping host
b) arp -a or arp -a host
Donnerstag, 16. April 2009
cvs commands
To restore the contents of any day before the given day use:
chris@korbi:~/workspace/ospdir-twopass> cvs -d /home/cvs update -Pd -r twopass_mocoresampling_pband -D now
for the latest version before 1.4.2009:
chris@korbi:~/workspace/ospdir-twopass> cvs -d /home/cvs update -Pd -r twopass_mocoresampling_pband -D 20090401
chris@korbi:~/workspace/ospdir-twopass> cvs -d /home/cvs update -Pd -r twopass_mocoresampling_pband -D now
for the latest version before 1.4.2009:
chris@korbi:~/workspace/ospdir-twopass> cvs -d /home/cvs update -Pd -r twopass_mocoresampling_pband -D 20090401
Mittwoch, 11. Februar 2009
shift complex array by applying a ramp in frequency domain
tam=size(vector)
w=findgen(tam(1))/float(tam(1))
shifted_vector=(fft(fft(vector)*exp(complex(0,-w*s)),/inverse))
s is der shift in pixels
w=findgen(tam(1))/float(tam(1))
shifted_vector=(fft(fft(vector)*exp(complex(0,-w*s)),/inverse))
s is der shift in pixels
Mittwoch, 4. Februar 2009
mount iphone in linux via usb
1) get package ifuse-0.9.5-2.3.i586.rpm
libplist1-1.2-2.1.i586.rpm
usbmuxd-1.0.0-23.2.i586.rpm
libiphone0-0.9.5-4.1.i586.rpm
libusbmuxd1-1.0.0-23.2.i586.rpm
from http://matt.colyer.name/projects/iphone-linux/index.php?title=Main_Page
2) install these packages
3) sudo ifuse --root /mnt/iPhone/ in order to mount root filesystem of the iphone
3) sudo ifuse /mnt/iPhone/ in order to mount user filesystem of the iphone
4) unmount the iphone with sudo fusermount -u /mnt/iPhone
libplist1-1.2-2.1.i586.rpm
usbmuxd-1.0.0-23.2.i586.rpm
libiphone0-0.9.5-4.1.i586.rpm
libusbmuxd1-1.0.0-23.2.i586.rpm
from http://matt.colyer.name/projects/iphone-linux/index.php?title=Main_Page
2) install these packages
3) sudo ifuse --root /mnt/iPhone/ in order to mount root filesystem of the iphone
3) sudo ifuse /mnt/iPhone/ in order to mount user filesystem of the iphone
4) unmount the iphone with sudo fusermount -u /mnt/iPhone
Abonnieren
Posts (Atom)