Monday, June 23, 2008

DVD playback in totem

.... doesn't completely work. No DVD menu (using gstreamer out of the box).

Need to install gstreamer-plugins-ugly, libdvdcss, libdvdnav to get basic functionality. Also, totem-lirc for remote control support.

Wednesday, June 18, 2008

Using mencoder to split / trim xvid files

The key is using the ovc copy and oac copy and the ss / endpos options to choose what y ou're cutting.

mencoder .avi -ss 00:01:33 -endpos 00:05:30 -ovc copy -oac copy -o .avi

This will create a .avi based on the original, 5 min 30 seconds long, starting at position 1m 33sec in the original video. Video/Audio quality will be the same as original.

Tuesday, June 17, 2008

iperf to test network / gigabit connectivity

On the server

[root@server4]# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.26 port 5001 connected with 192.168.1.11 port 44838
[ 4] 0.0-10.1 sec 242 MBytes 201 Mbits/sec


On the client

[root@client4]# iperf -f M -c 192.168.1.26
------------------------------------------------------------
Client connecting to 192.168.1.26, TCP port 5001
TCP window size: 0.02 MByte (default)
------------------------------------------------------------
[ 3] local 192.168.1.11 port 36650 connected with 192.168.1.26 port 5001
[ 3] 0.0-10.0 sec 243 MBytes 24.3 MBytes/sec

Sunday, June 1, 2008

Nvidia, Mplayer, full screen, metamodes

In screen section add


Option "metamodes" "CRT-0: 1280x1024_75 +0+0, CRT-1: 1280x1024_75 +1280+0"

to allow mplayer to go full screen on a single monitor.

Oh yeah, and

~/.mplayer/config has

xineramascreen = 2