Friday 21 December 2007

Convert avi to dvd

Go here
http://video.google.com/videoplay?do...83267829297106
download the file and place it in a handy directory.

Change to that directory in konsole, then enter this command
ffmpeg -i HarddriveinAction.avi -target pal-vcd Hard.mpg

Then use k3b to burn it.
file>new video cd project>drag in Hard.mpg. Burn.
This created a vcd playable in my standalone dvd player.

If that worked try this:
ffmpeg -i HarddriveinAction.avi -target pal-dvd Hard2.mpg

To work with this mpeg first create a template as shown here
http://www.linux.com/article.pl?sid=06/04/17/2058219

Replace the vob file line in the sample with this (kate works well for this)

Save this as Hard.xml to the same directory the video files are located.

Now working from that directory run
dvdauthor -o Hard_dvd -x Hard.xml

If all goes well you should be able to use k3b;
file>new video dvd project>drag in the AUDIO_TS and VIDEO_TS folders (directories)from the newly created Hard_dvd directory. Burn.

Monday 3 December 2007

LIRC on boot for Soundgraph Imon

  1. Download, build, install LIRC (in config select USB->imon->PAD IR)
  2. Install kdelirc through synaptic
  3. On reboot /dev/lirc becomes /dev/lirc0 (?!)
  4. Create 'lircd' (below) in /etc/init.d/ and :>chmod 755 lircd
  5. Run :>update-rc.d lircd defaults

######
# lircd
#! /bin/bash

# Create link to lirc0 as lircd looks for /dev/lirc
ln -s /dev/lirc0 /dev/lirc

# Set all able to read and write
chmod 0777 /dev/lirc0

# Start daemon
/home//lirc-0.8.2/daemons/lircd

######