bug-vcdimager
[Top][All Lists]
Advanced

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

[VCDImager Bugs/Devel] cd recording sink


From: Arnd Bergmann
Subject: [VCDImager Bugs/Devel] cd recording sink
Date: Sun, 15 Jul 2001 03:08:10 +0200 (MET DST)

Hi,

After some trouble with my hardware, I now have a cd-writing output
patch that works for me (TM). You should consider it alpha and
it still lacks proper error recovery and contains some magic numbers
that I don't fully understand yet.

Anyway, I would like to see some reports with other hardware. The only
thing that I have working properly is writing in packet-writing mode
to a Yamaha 6416S on linux-2.4.6 and play that in my Yamakawa 715.
My PlexWriter 10/4/24 only gives me vendor-specific errors for packet
writing and recording in disk-at-once works on neither of my systems,
although it should be mostly implemented.
So far, I have not been able to play the CDs with `mtv', which is
probably because of problems with the pre-gap: In packet-writing, it
is 152 sectors, not 150, so I cut off the last two sectors of each
track for now.

I have implemented the following classes:
- vcd_image_dao:     sink for writing in disk-at-once mode
- vcd_image_vpkt:    sink for writing in variable-packet mode
- vcd_recorder:      generic code for the recorder
- vcd_recorder_mmc:  hardware dependent code for mmc devices (almost 
                     all writers), loosely based on Jens Axboes cdrwtool
- vcd_mmc_linux:     operating system dependent code

There are some small changes to other files, but they should not cause
any problems. The operating system dependent part is rather small, so 
it should not be too much work to port that to other interfaces (look
at cdrdao). The mmc interface could then also be used to read CDs on
other architectures.

The design is not perfect and I am not sure if the implementation matches
the object model and style conventions of vcdimager, so please tell me
if something about it feels wrong. OTOH, it is probably much better than
any attempt to merge vcdimager with cdrdao or cdrecord would have been.

You can find the patch against the current CVS version or 0.7.7 at
http://users.evitech.fi/~arndb/vcdimager-record.patch.gz
To record a video CD in packet writing mode, run e.g. 'vcdimager 
--record --device=/dev/cdrom --progress testfile.mpg'. 
Since there are chances that the CD will not be useful and simulation
mode currently does not work, use only CD-RW media for now.
At least if you enable '--dao', you will probably run into problems, 
please send me any error output you get with or without it.

Arnd <><




reply via email to

[Prev in Thread] Current Thread [Next in Thread]