I'm currently trying to burn an iso created from an avi file, I've got the iso, I've got the dvd, I've even got the experience with wodim.
Brilliant, but heres the problem; wodim is failing, it is giving me a file type error which is baffling me. I used devede (under Ubuntu) on the avi file to generate the iso. (DeVeDe does all the work, or should- conversion to mpg, build the dvd data, build into iso.)
Output from wodim:
Code:
jc@jcmain:~$ sudo wodim -sao speed=2 redundant/project_file.iso
[sudo] password for jc:
Device was not specified. Trying to find an appropriate drive...
Looking for a DVD-R drive to store 2507.73 MiB...
Detected DVD-R drive: /dev/dvdrw
Using /dev/cdrom of unknown capabilities
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : '_NEC '
Identification : 'DVD+-RW ND-6650A'
Revision : '103C'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Speed set to 2822 KB/s
Starting to write CD/DVD at speed 2.0 in real SAO mode for single session.
Last chance to quit, starting real write i 0 seconds. Operation starts.
Errno: 5 (Input/output error), reserve track scsi sendcmd: no error
CDB: 53 00 00 00 00 00 13 97 78 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 200s
wodim: Cannot open new session.
Simple problem, eh? Doesn't like the iso?
Code:
jc@jcmain:~$ file redundant/project_file.iso
redundant/project_file.iso: UDF filesystem data (version 1.5) 'DVD-VIDEO '
I don't know anything about DVD file data (never needed to know) so I don't know if thats the right filetype, though I'd assume it is
I'm working with three theories here, either DeVeDe is writing bad data, wodim wont write the iso, or there is an issue with the DVD drive.
The latter could be it, trying to do this with a byte transfer of the iso to the device does the following:
Code:
jc@jcmain:~$ sudo dd if=redundant/project_file.iso of=/dev/sr0
dd: opening `/dev/sr0': Read-only file system
and cheating:
Code:
jc@jcmain:~$ sudo chmod 777 /dev/sr0
jc@jcmain:~$ sudo dd if=redundant/project_file.iso of=/dev/sr0
dd: opening `/dev/sr0': Read-only file system
Just to save any embarrassment for me later, yes I've double checked and it
is rewriteable, both the disk and the drive. Everything is supported.