[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wodim: How to read from stdin?



Hi,

Til Schube:
> I'm getting the same errormessage. How can wodim read from stdin?

I once wrote in
http://lists.debian.org/cdwrite/2007/05/msg00097.html

> > i do know that the following command works with
> > a DVD+RW:
> >   $ wodim -v dev=0,0,0 /dvdbuffer/fertig.iso
> > That's with version 1.1.2.
> > 
> > It seems to have similar restrictions as cdrecord.
> > I.e. this does not work:
> >   $ cat /dvdbuffer/fertig.iso | wodim -v dev=0,0,0 -
> >   ...
> >   wodim: Track 1 has unknown length.
> >   wodim: Use tsize= option in SAO mode to specify track size.

This statement applied to DVD burning with
cdrecord resp. wodim.
They both did only write mode DAO which expects
to know the image size in advance. Normally they
learn the size from the image file on disk.

An alternative would be option -isosize .
But man wodim says:
"Do not use this option on files created by
 mkisofs and in case wodim reads the track data
 from stdin."


So it seems you need a different burn program.
Known to work from stdin with most DVD types
are:

 growisofs -Z /dev/dvd=/dev/fd/0
 
 cdrskin -v dev=0,0,0 -

 xorriso -as cdrecord -v dev=0,0,0 -

These are single-session runs.
Multi-session is possible with most DVD types.
(Make sure to get recent cdrskin-0.7.x or
 xorriso-0.4.x in case you choose those.)

cdrecord has gained -multi capabilities with
DVD-R[W] meanwhile. Since this works only with
the other DVD-R write mode ("Incremental") and
since this mode does not need the track size in
advance ... it might be possible meanwhile.


Expect failure with two DVD types resp, states:

It is technically impossible to write on the fly
a DVD-RW which was blanked "fast". They need to
be new or thoroughly blanked to accept
"Incremental" write mode.
(Consider to format DVD-RW to overwriteable
state. Then no blanking is needed at all.)

DVD-R DL is said to be unable of "Incremental".
I never saw such a media.


Have a nice day :)

Thomas


Reply to: