Sunday, October 29, 2006

midi and pdf embedded in firefox in ubuntu edgy

Trouble Listning to .mid files in firefox using Edgy Ubuntu?

sudo apt-get install timidity mozplugger


got it from here:
http://www.ubuntuforums.org/showthread.php?p=1376401

Sunday, October 15, 2006

converting vcd to avi !!!

using mencoder... directly form vcd... rip into avi..

mencoder vcd://2 -o file.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2000


That is if the movie is the second (2) track on the vcd.


then the file.avi can be re-encoded if wanted!

capture webcam in VLC media player

With dapper i tried this ... it was posted on the ubuntuforums, and it worked for me...
con: you can not see yourself while recording...

Do this:

Connect your webcam.

Open VLC
File--> OPen capture device
Go to Video4Linux tab
Specify your video device name (mine was /dev/video0)
(My webcam audio doesn't work, so I left audio device as it is)
Norm: Automatic

Check "stream output" box
Click settings
Specify a filename (make sure you have write permissions there - usually a file on desktop or home directory is the best bet)
Unselect "dump raw input" (it must reamain empty)
Encapsulation method: MPEG1
Video codec: mp1v
Audio codec: mpga
"select all elementary streams" should remain empty.

Press OK

Press OK

Now press PLAY button on VLC.
The video should start recording. You can check this while VLC is recording video by right clicking on the recording file and selecting properties (it will show increasing file size).

Notes:
1. You can do an HTTP streaming by a similar method you are able to capture to a file.
2. Powerusers:
Media resource locator:
v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/dsp" :v4l-norm=3 :v4l-frequency=-1
Destination target:
:sout=#transcode{vcodec=mp1v,vb=1024,scale=1}:dupl icate{dst=std{access=file,mux=mpeg1,url="FULL PATH NAME HERE"}}

Sunday, October 08, 2006

GPG key in source list...

When a repository in this list has a GPG key, you may need to add that to the APT trusted keys. You can do this with the following commands (replace KEY with the key ID)

gpg --keyserver subkeys.pgp.net --recv KEY
gpg --export --armor KEY | sudo apt-key add -


It worked for me when a repository was asking for a gpg key...