Wednesday, October 15, 2008

pasting vob's together

mencoder -forceidx -oac copy -ovc copy -of mpeg -mpegopts format=dvd:tsaf -o output.vob file1.vob file2.vob

Wednesday, September 24, 2008

Ubuntu - Google Toolbar

1. command-line:

sudo apt-get install libxul-dev libstdc++5 gcc-4.1 libstdc++6

2. delete your ~/.mozilla folder

3. restart

4. install google toolbar

Wednesday, July 23, 2008

jenn encoding 2

mencoder video.mp4 -oac mp3lame -ovc lavc -lavcopts vcodec=wmv2 -o temp3.wmv -channels 2 -fps 15 -ofps 15 -ss 00:05:35 -endpos 00:06:26 -fps 15 -ofps 15

Thursday, May 29, 2008

dual-monitor xorg.conf with rotation

I have 2 dell monitors (16x9) and a dual dvi-out capable nvidia 8800 something. I like to use the second monitor as basically 9x16. this makes reading documents and webpages easier, as they are almost all longer than they are wider.

Here is my xorg.conf file:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Tue Mar 4 20:24:34 UTC 2008

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" 1920 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "1"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL 2405FPW"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor1"
VendorName "Unknown"
ModelName "DELL 2005FPW"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
Option "RandRRotation" "on"
Option "Rotate" "CCW"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GTS"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 8800 GTS"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-1: 1920x1200 +0+0; DFP-1: 800x600 +0+0; DFP-1: 640x480 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "DFP-0: 1680x1050 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Thursday, May 22, 2008

jenn-caves

mencoder temp.avi -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -vf scale -zoom -xy 640 -o temp3.avi -channels 2

mencoder s01e04\ -\ Caves.avi -ss 00:37:56 -endpos 00:01:23 -oac copy -ovc copy -o temp.avi

Monday, May 19, 2008

Ubuntu Hardy Heron - ZODB

ZODB doesn't work by default in the heron. To fix you need to:

1. sudo apt-get install build-essential
2. sudo apt-get install python-dev
3. sudo apt-get isntall python-setuptools
4. sudo easy_install ZODB3

Sunday, May 18, 2008

ubuntu - hardy heron - pulseaudio

I just got done spending almost an entire day on this.

1. It seems the alsa 5.1 channels are all muted, for whatever reason. Since pulseaudio just sits on top of alsa that means 5.1 sound appears not to work. Just use the mixer and put all the channels up full in alsa.

2. Flash on firefox still won't work because you need to:
sudo apt-get install libflashsupport
This library does something to enable the sound to work.

3. set everything alsa to use pulse by adding the following to ~/.asoundrc

pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}

Why they made pulseaudio the default, firefox the default, and didn't include this library is beyond me...

4. they make pulseaudio the default, but don't include the tools. interesting. run this and install all the configurations and tools for pulseaudio:
sudo apt-get install libasound2-plugins "pulseaudio-*" paman padevchooser paprefs pavucontrol pavumeter