Archive for May 2006
After reading a few guides, and a lot of trial and error, I’ve found this script I wrote works pefect every time, just supply you xvid file with the script and it’ll create the vobs.
You need tcmplex, transcode, and dvdauthor.
#!/bin/bash
FILE=$1
NEWFILE=`basename $FILE avi`vob
rm out.*
transcode -i $FILE \
-y ffmpeg \
--export_prof dvd-pal \
--export_asr 3 \
-o out \
-D0 \
-m out.ac3 \
-J modfps=clonetype=3 \
--export_fps 25
tcmplex -o $NEWFILE -i out.m2v -p out.ac3 -m d
Then to create the dvd structure, do this:
# Do this to add titles:
dvdauthor -o dvd/ -t thevob.vob
# Do this once you've finished adding titles to finish up the disc.
dvdauthor -o dvd/ -T
To burn, I found growisofs kept going funny on me, so I made ISO images first and then just burnt those off with cdrecord/nautilus cd burner.
mkisofs -input-charset default -dvd-video -o disc1.iso dvd/
[update - 3/11/06]
Seems Ubuntu keeps creating iso images that won’t fit on a 4.5GB dvd, so try this if the above fails:
growisofs -input-charset default -dvd-compat -Z /dev/dvd dvd/
All in all, it’s quite a slow process, the transcoding took a while on my celeron-m 1.4ghz, but I guess it’s not the fastest machine around!
Good luck! And remember, always make sure your input file is good before bothering.
[update - 3/11/06]
I’m considering writing a cool python app that does all this crud for you as it’s a real PITA to do manually. Plus I want to learn python and python gui stuff. Plus I think people would find it useful!
If you’ve just updated your MySQL installation and have found this happening:
060511 22:38:11 [Warning] ‘./mysql/host’ had no or invalid character set, and default character set is multi-byte, so character column sizes may have changed
060511 22:38:11 [Warning] ‘./mysql/user’ had no or invalid character set, and default character set is multi-byte, so character column sizes may have changed
060511 22:38:11 [Warning] ‘./mysql/db’ had no or invalid character set, and default character set is multi-byte, so character column sizes may have changed
060511 22:38:11 [ERROR] Fatal error: mysql.user table is damaged or in unsupported 3.20 format.
Then you need to run this:
mysql_fix_privilege_tables
However, you’ve probably stopped mysql and can’t get it to start again to run that script! Well, that’s the problem I had anyway… to remedy this, do this:
mysqld_safe –skip-grant-tables –user=root &
mysql_fix_privilege_tables
pkill mysqld
/etc/init.d/mysqld restart
Good luck!
If like me, you performed a yum update this morning and your gnome-terminal has stopped working and instead is doing a lot of this:
(gnome-terminal:2274): Gdk-CRITICAL **: gdk_screen_get_number: assertion `GDK_IS_SCREEN (screen)’ failed
gnome-terminal: symbol lookup error: gnome-terminal: undefined symbol: vte_terminal_set_opacity
This is probably because you were trying out aiglx and you’ve removed the aiglx repo.
Try this:
rpm -e gnome-terminal vte –nodeps ; yum install gnome-terminal
The tricky part was figuring out why it’d happened.
Thanks to various people in #fedora for helping with this one!
