Re: Doesn't wodim close disk ?
On Sat, Jan 05, 2008 at 01:20:48PM +0100, Thomas Schmitt wrote:
Hello :-)
> I have used cdrecord-proDVD on DVD-RW and
> on DVD+RW without unexpected problems.
> Since about 1.5 years, cdrecord from Joerg's
> sources offers the proDVD capabilities.
Same for me on my old burner, but I got tired of changing the key for
cdrecord-proDVD and switched to growisofs.
> I would rather bet that cdrecord -dao is
> able to burn a DVD+R which is equivalent
> to one burned by growisofs -dvd-compat.
>
> But i have to confess that i never tried
> it.
I did with old source at the begining of cdrecord with DVD support, at
that time one should still need to specify the size of the session
before burning, which I thought was really a non sense as the program
could easyly calculate it for us.
I read the new manual from cdrecord and it seems it hasn't changed in
that aspect.
>
> > but I would take a RW media ;-)
>
> DVD+RW are a completely different game.
> Other command sequences, other pitfalls.
I do wrote a media using cdrecord now and the result was just perfect.
I attach the script I used to do the burning.
The DVD was perfectly readable under OSX.
> Have a nice day :)
Thank, same for you,
--
Grégoire FAVRE http://gregoire.favre.googlepages.com http://www.gnupg.org
http://picasaweb.google.com/Gregoire.Favre
#!/bin/bash
if [ -z "$2" ]; then
echo "usage : $0 DVD_title DVD_dir [write speed]"
echo "That will write a DVD with video structure if there a VIDEO_TS."
echo "And without video structure if without VIDEO_TS dir"
exit
fi
UDF=`find $2 -size +2G|wc -w`
unlock() {
cdrdao unlock --device 2,0,0 --driver generic-mmc && sleep 1
}
sync
ulimit -l unlimited
if [ $UDF -eq 0 ]; then
COM="-f -J -r -graft-points "
if [ -z "$3" ]; then
COMCD="-v dev=/dev/sr0 -dao fs=1000m "
else
COMCD="-speed=$3 -v dev=/dev/sr0 -dao fs=1000m "
fi
VIDEO=`ls $2|grep -i VIDEO_TS 2> /dev/null |wc -w`
if [ $VIDEO -eq 0 ]; then
OPTS=$COM
SIZE=`mkisofs -f -J -r -graft-points -quiet -print-size -V $1 $2`
else
OPTS="$COM -dvd-video"
SIZE=`mkisofs -f -J -r -graft-points -quiet -print-size -dvd-video -V $1 $2`
fi
mkisofs $OPTS -V $1 $2|cdrecord $COMCD tsize="$SIZE"s -
#unlock
eject /dev/sr0
sleep 1
mount /mnt/cdrom
ls -alh /mnt/cdrom
DF
umount /mnt/cdrom
sleep 1
eject /dev/sr0
else
COM="-udf -allow-limited-size -f -J -r -graft-points "
if [ -z "$3" ]; then
COMCD="-v dev=/dev/sr0 -dao fs=1000m "
else
COMCD="-speed=$3 -v dev=/dev/sr0 -dao fs=1000m "
fi
VIDEO=`ls $2|grep -i VIDEO_TS 2> /dev/null |wc -w`
if [ $VIDEO -eq 0 ]; then
OPTS=$COM
SIZE=`mkisofs -udf -f -J -r -graft-points -quiet -print-size -V $1 $2`
else
OPTS="$COM -dvd-video"
SIZE=`mkisofs -udf -f -J -r -graft-points -quiet -print-size -dvd-video -V $1 $2`
fi
mkisofs $OPTS -V $1 $2|cdrecord $COMCD tsize="$SIZE"s -
#unlock
eject /dev/sr0
sleep 1
mount /mnt/udf
ls -alh /mnt/udf
DF
umount /mnt/udf
sleep 1
eject /dev/sr0
fi
Reply to: