Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th November 2001, 01:57   #21  |  Link
CavalloPazzo
Registered User
 
Join Date: Oct 2001
Posts: 80

If we had an mp4 file instead of .avi should it be possible to write a CD with mode2 form 2?
on Mpeg4ip.sf.net there is a tool that convert a divx avi to mp4!
CavalloPazzo is offline   Reply With Quote
Old 7th December 2001, 03:13   #22  |  Link
dvdyke
Registered User
 
Join Date: Oct 2001
Location: UK
Posts: 42

Just thought I would bring this back to the top of the discussion again as I think it's worth persuing
dvdyke is offline   Reply With Quote
Old 7th December 2001, 08:56   #23  |  Link
int 21h
Still Laughing
 
int 21h's Avatar
 
Join Date: Oct 2001
Location: Around
Posts: 1,312

Compiling this on Linux right now.. a windows version would be nice heh..
int 21h is offline   Reply With Quote
Old 7th December 2001, 12:23   #24  |  Link
dvdyke
Registered User
 
Join Date: Oct 2001
Location: UK
Posts: 42

Excuse me? Do you mean you are making a CDR driver to write DiVX to 80min ISO mode 2? But only on Linux? :P If so maybe you could throw out the source code for someone to make a Win32 version.
dvdyke is offline   Reply With Quote
Old 7th December 2001, 18:25   #25  |  Link
Taric25
Anime Otaku
 
Taric25's Avatar
 
Join Date: Oct 2001
Location: Illinois, USA
Posts: 149
Calculations

Actually, I made some more precise calculations myself

74 minutes CD = 74 min. * 60 sec. * 75 = 333000 blocks
80 minutes CD = 80 min. * 60 sec. * 75 = 360000 blocks
99 minutes CD = 99 min. * 60 sec. * 75 = 445875 blocks

With the regular "Data Mode 1":
74 min CD = 333000 blocks * 2048 bytes = 681984000 bytes = 650.390625 MB
80 min CD = 360000 blocks * 2048 bytes = 737280000 bytes = 703.125 MB
99 min CD = 445875 blocks * 2048 bytes = 913152000 bytes = 870.84960938 MB

Now with the "Data Mode 2", we have:
74 min CD = 333000 blocks * 2336 bytes = 777888000 bytes = 741.85180664 MB
80 min CD = 360000 blocks * 2336 bytes = 840960000 bytes = 802.00195312 MB
99 min CD = 445875 blocks * 2336 bytes = 1041564000 bytes = 993.31283569 MB

With "CD-ROM-XA Mode 2 Form 2", we have:
74 min CD = 333000 blocks * 2324 bytes = 773892000 bytes = 738.04092407 MB
80 min CD = 360000 blocks * 2324 bytes = 836640000 bytes = 797.88208008 MB
99 min CD = 445875 blocks * 2324 bytes = 1041564000 bytes = 988.21020126 MB

With "CD-DA (or whatever sector format Audio CDs use)", we have
74 min CD = 333000 blocks * 2352 bytes = 773892000 bytes = 746.9329834 MB
80 min CD = 360000 blocks * 2352 bytes = 836640000 bytes = 807.49511719 MB
99 min CD = 445875 blocks * 2352 bytes = 1048698000 bytes = 1000.1163483 MB

Hmmm... I don't know how 800MB CDs work

Anyone up for the calculations?
__________________
Lapras, luck, and lollipops,
Taric25
Taric25 is offline   Reply With Quote
Old 8th December 2001, 12:49   #26  |  Link
dvdyke
Registered User
 
Join Date: Oct 2001
Location: UK
Posts: 42

Nope. All I know is that on 802MB VCD's in ISO Mode 2 it does not have the same amount of error checking as normal data thus the 100 megs more of room available. This is fine for audio and video but no good for data like .exe's or .zip's as they have to be 1000% accurate. A method has already been suggested for writing DiVX to 802MB ISO Mode 2 but no means thus far of reading them back as valid files without a driver being made that can do it.

I live in hope that someone will make one.
dvdyke is offline   Reply With Quote
Old 26th January 2002, 10:59   #27  |  Link
CavalloPazzo
Registered User
 
Join Date: Oct 2001
Posts: 80
Does someone of you know a way to write a file with mode 2 form 2. I've tried with CDR-WIN, but probably i missed something.
Ogg files have checksums, so it should be possible to write an ogg file to a CDR mode 2.
For info on .ogg file, visit www.powerdivx.com and visit Forum
CavalloPazzo is offline   Reply With Quote
Old 27th January 2002, 15:05   #28  |  Link
amni
Registered User
 
Join Date: Nov 2001
Posts: 42
I burned successfully about 800MB of binary DATA on 80 minutes CDs

Actually, I posted this fact several times and it looked like nobody
cares, so I began to give up.

I might add few details later. The essential details are:

1)
Burning is MODE2 FORM2 single track on the CD
796MB on 1 CD 80 minutes (835000000 bytes), no overburn, no oversize,
speed tested X4,
zero errors (!!!) of binary DATA on each of burning on 6 CDRs
760MB--796MB data on each CD.
The 7 burn was a coaster but apparently because of overburning

2)
Possible to burn two tracks of MODE2, the first track FORM2, the second track FORM1. The I idea is to write in second FORM1 track
an EEC file (EEC=Error correcting code).
Unfortunaly, the second track steal about 40 MB (may be for
LEADIN an LEADOUT burning), but maybe this is a fault
of the burning software (I guess 20MB sould be enough for overhead
burning).

3) It is not simple to retrieve the burned tracks. Looks like
software fault (omit to burn a PVR header to declare the contents
and organization of the track).


By the way. Apparently --- except maybe CDDA --- RAW data means
*always* 2324 bytes per block(=2352 bytes). Some the remaining 18
bytes are used for controll (like ERROR CHECK but not ERROR CORRECTION).




Quote:
Originally posted by juhiatti
Write 800 MB AVIs to a single 80 min CD ????

Here is my idea:

On an 80 min CD we can record 80 minutes of audio content or 700 MB of data content.

Now do some math!
Audio is 2 streams of 16 bit data with the sampling rate of 44100. So, in one second we have:
2 * 16 bits * 44100 1/s = 1411200 bits / second = 176400 bytes / second.
In 80 minutes of audio there is
80 * 60 * 176400 bytes = 846 720 000 bytes = 826875 kB = 807,5 MB

Clearly, for the CDFS we loose about 100 MB of space compared to the audio.

On a movie disk we have: the autolauncher files, various player / codec install files,
optionally some extra features (menus, pictures etc.), subtitle files and finally
the avi file(s).

The avi file is a largest file - the file. All the other files are small. So what we have to do
is find a way to absolutely precisely write to the disk the program files and others except
the big avi file (written like CDFS). This would take up to 10 MB of disk space.

The greatest (and hardest) now : write the avi file to disk as PCM audio.

Is it possible? Yes it is! How?

Well, there is a CD format called Mixed-Mode CD. This CD contains one ISO CD-ROM track with
data on it and the rest of the tracs is audio PCM tracs.

The problem is how to convert an AVI file to PCM. This is how:
We should have an audio wave editor application with the capability of opening PCM RAW format.
But first let's see the AVIs filesize: it have to be the multiple of 75 (don't ask me why -
this is how audio data is written to the disk 31 * 75 byte blocks = 2325 bytes / sector on CD).
So, the lenght of our avi file has to be enlarged to the next multiple of 75 (so max by 74 bytes)

Make a textfile with the apropriat size and join the tho files. Now the filesize is multiple of
75 and is still a valid AVI.

Now, in our wave editing application open the AVI as PCM RAW. When asked for format settings,
it is : channels:STEREO resolution:16 BIT samle rate:44100
The audio format on a CD is the same.

When the AVI is opened save it as a WAV file. Yes! You heard me good! As a WAV file.

This resulting WAV file will be burnt on our CD's audio track.

So, on the CD there will be the prog and other files on a CDFS track,
and the avi as a PCM audio track.

Technicly, the avi could be 800 MB in size and a few megs for other data; all fitting on
one 80 min CD.

We have to find a way to force our avi player (through a filter!?) to read this PCM audio track
and treat it as a valid AVI. The problem is that I don't now how to do it.
It should work like some audio grabbing utility which sees the track as a single PCM file.
All the AVI headers are on the beginning of the PCM data. When you grab this file to a PCM file
IT IS A VALID AVI FILE AND IT'S WORKING !!!!!!!!!!

Data errors made during the recording and grabbing processes are so small, that it can't be
seen on the final playing AVI. - Multimedia files are resistant to some ammount of data errors,
or in other words - there wouldn't be any picture and sound corruption when there is just a few
bits of error. For fewer bits of error - use lower burning speeds!!!!!

There is a CDFS.VXD version allowing Windows to see the audio tracks on an audio CD as WAV files.

So it has to be modified to alow Windows to see the tracks as RAW PCM. Why?
You can't force Windows to treat a WAV file with WAV header as AVI video with a certain FOURCC.

The otherr thing is, it had to see the audio tracks as RAW PCM and the ISO DATA TRACK with
the launcher , player etc. files.

I don't know anything about coding Windows filters and virtual device drivers, but such a device
would allow us to play with MicroDVDPlayer an AVI file from a Mixed-Mode CD audio track (through
ASPI or WinNT/2k calls).

If someone can do something about this, or you have other ways to do this contact me please!!!

My e-mail adresse is : gamjuhas@ptt.yu; or juhiatti@freemail.hu .

Greetings from juhili (aka juhi).
amni is offline   Reply With Quote
Old 27th January 2002, 22:49   #29  |  Link
CavalloPazzo
Registered User
 
Join Date: Oct 2001
Posts: 80
I'd like to know which program You used(cdrwin?), and how you've burned the cd. Then I don't understand: you you can't see the burned cds, how can you say that there isn't any error?
CavalloPazzo is offline   Reply With Quote
Old 28th January 2002, 07:58   #30  |  Link
amni
Registered User
 
Join Date: Nov 2001
Posts: 42
A few details

Hi,

I don't like to give partial details about the process of
burning, because it might
lead to confusion, therefore I might
write a guide; actually I begin writing the guide and it might
take several days.

In short: the overall format of the CD is ROM_XA
(although other formats, like MIX_MODE maybe also
usefull, but I didn't checked in depth other formats).

As I said Under ROM_XA one may use one or more tracks,
each track in format MODE2_FORM1 or MODE2_FORM2. Seems that
multissesions are acceptable by ROM_XA.
(I couldn' find a good documentation about the specifications of
ROM_XA).

I tried CDRWIN but it looks like that this program doesn't
help in mastering XA format. I don't see any way to force
CDRWIN to master in MODE2_FORM2:
when I tried, using CDRWIN, to master a binary data file
as a MODE2_FORM2 it mastered it as MODE2_FORM1 instead.

I used the program CDRDAO (WWW.SOURCEFORGE.ORG).
This program works under WIN32DOS, operates with
command lines and uses a mastering ASCII file with ".toc"
extention (something like ".cue" file for CDRWIN).

If you download CDRDAO from SOURCEFORGE, you'll get
sort of "manual" documentation for that program,
in PDF document.

I don't need any "driver" to read the burned tracks.
Essentially, the program ISOBUSTER extracts the tracks
from the burned CD. I tested the errors in burning as follows:
I created ZIP files with CRC numbers built in them
(using the program WINDOWS COMMANDER). After extracting
the burned tracks --- I run a CRC test on the extracted files.



Quote:
Originally posted by CavalloPazzo
I'd like to know which program You used(cdrwin?), and how you've burned the cd. Then I don't understand: you you can't see the burned cds, how can you say that there isn't any error?
amni is offline   Reply With Quote
Old 28th January 2002, 10:51   #31  |  Link
CavalloPazzo
Registered User
 
Join Date: Oct 2001
Posts: 80
Ok, thanks. I'll wait for your guide, but I think that the fact that only isobuster can read the track should be solved. Do you think it's possible?
CavalloPazzo is offline   Reply With Quote
Old 28th January 2002, 12:46   #32  |  Link
amni
Registered User
 
Join Date: Nov 2001
Posts: 42
Maybe better ROM_XA burning mastering will make a practical solution

Hi

I'm not CDR programmer, therefore i can only make some
intelligent suggestions.

My guess is that the solution is fairly simple.
My guess is based upon examining a VCD which I bought
(printed VCD not burned).
This VCD is in ROM_XA format, first track MODE2_FORM1,
second and third tracks are MODE2_FORM2 (including the videos).
When I insert the VCD in my CD ROM, the videoes are listed
as plain files (with ".dat" extention).

So my guess is that a good ROM_XA mastering software
can create for any file (or even for any folders tree)
an ISO image file with "MODE2_FORM1" header or
"MODE2_FORM2" header;
when burrning that ISO (e.g. by CDRDAO) these headers
will tell the CDROM about the organization of the
binari data files which are included
in the ISO image file (the same was they tell the CDROM
about organization in VCD).

I know about a "candidate" which can do that job (I don't know him
personnally in any way !!!), his name is Herbert Valerio Riedel
and he is developing VCD mastering program under GNU
(GNU is the freeware organization which supports LINUX
freeware, GCC compiler PHP and other zilion freeware projects).
I think that a minimal mastering program for ROM_XA might
take him very short time, so maybe he might accept a short
pause in his VCD mastering project
his home page is WWW.GNU.ORG/SOFTWARE/VCDIMAGER.



Quote:
Originally posted by CavalloPazzo
Ok, thanks. I'll wait for your guide, but I think that the fact that only isobuster can read the track should be solved. Do you think it's possible?
amni is offline   Reply With Quote
Old 30th January 2002, 13:22   #33  |  Link
amni
Registered User
 
Join Date: Nov 2001
Posts: 42
test posting

I just test if my registration to this forum was not canceled
by mistake.

Also, more good news will be announced after
thorough testing.
Hint: reading the burned 800MB CD might be very easy.


Quote:
Originally posted by amni
Hi

I'm not CDR programmer, therefore i can only make some
intelligent suggestions.

My guess is that the solution is fairly simple.
My guess is based upon examining a VCD which I bought
(printed VCD not burned).
This VCD is in ROM_XA format, first track MODE2_FORM1,
second and third tracks are MODE2_FORM2 (including the videos).
When I insert the VCD in my CD ROM, the videoes are listed
as plain files (with ".dat" extention).

So my guess is that a good ROM_XA mastering software
can create for any file (or even for any folders tree)
an ISO image file with "MODE2_FORM1" header or
"MODE2_FORM2" header;
when burrning that ISO (e.g. by CDRDAO) these headers
will tell the CDROM about the organization of the
binari data files which are included
in the ISO image file (the same was they tell the CDROM
about organization in VCD).

I know about a "candidate" which can do that job (I don't know him
personnally in any way !!!), his name is Herbert Valerio Riedel
and he is developing VCD mastering program under GNU
(GNU is the freeware organization which supports LINUX
freeware, GCC compiler PHP and other zilion freeware projects).
I think that a minimal mastering program for ROM_XA might
take him very short time, so maybe he might accept a short
pause in his VCD mastering project
his home page is WWW.GNU.ORG/SOFTWARE/VCDIMAGER.



amni is offline   Reply With Quote
Old 10th February 2002, 15:25   #34  |  Link
SonicFRAG
Registered User
 
Join Date: Feb 2002
Location: Adelaide
Posts: 2
heres an example of an 800Mb 80minCD

This is by far the most interesting topic I've seen with the most potential!
Indeed it seems that there HAS to be a way to burn multimedia files (in this case DivX) in mode 2 form 2 (or to fit 800Mb on an 80min CD)
as most logic and reason seems to point to a way of doing so.

How many people are familar with the Dreamcast scene?
Dreamcast games come on 1GB GD-ROMS and so to copy a game to a normal CD things would need to be ripped out.
Enter Shenmue II.
I looked at my copy (80min CD-R) and looked at the contents of the CD. In my computer it came up as 647Mb CD.
Further inspecion with Neros session selector indicated 2 seesions, the first one being 100Mb and the second session being 700Mb. (total, just over 800Mb)

Interesting?
Furthermore, I could look and copy at the contents of the CD to my HD as if they were burnt in mode 1!

Also note, The original .CDI image file was over 800MB!
Looking at the Discjuggler setting (of the .CDI file) it was burnt as mode 2 AUDIO.

But how to master a CD in this way?? Certaintly I can't select mode2/XA form2 in the mastering/burning options in Discjuggler.....

All we need is a program that can burn mode2 form2, or at least make it think its an audio or video CD when instead it has a DivX video on it.....

comments?
SonicFRAG is offline   Reply With Quote
Old 10th February 2002, 18:56   #35  |  Link
amni
Registered User
 
Join Date: Nov 2001
Posts: 42
I'll soon publish a minimal guide about burning and retieval

Of any binary data as XA mode2 form2.
Sorry I'm a bit busy, but I'll publish something usefull soon.

Maybe you don't realize that there are two problems:
"burning" and "retrieval": I guess the "standard CD drivers" of
can't retrieve XA mode2 form2 as simply as they retieve CDROM mode1, or CDROM CDDA, or XA mode 2 form1 (the last case is
read similarly to CDROM mode1 data).

I heard (not confirmed) that the two tracks method
(one track mode2 form1 second track mode2 form2)
is sort of trick to make the mode2 form2 track readable via
a "pointer" in the mode2 form1 track.
Any way, I don't see any special reason why such trick
can't be appllied for any binary data file in the second
mode2 form2 track; looks like burners software don't
think this is something usefull (I do, because sometimes
a man needs the extra 13 percent store in the CDR).

Currently I can retieve XA mode2 form2 only using the program
ISOBUSTER (no trick needed); I thought I can do better but I was
wrong (so far).



Quote:
Originally posted by SonicFRAG
This is by far the most interesting topic I've seen with the most potential!
Indeed it seems that there HAS to be a way to burn multimedia files (in this case DivX) in mode 2 form 2 (or to fit 800Mb on an 80min CD)
as most logic and reason seems to point to a way of doing so.

How many people are familar with the Dreamcast scene?
Dreamcast games come on 1GB GD-ROMS and so to copy a game to a normal CD things would need to be ripped out.
Enter Shenmue II.
I looked at my copy (80min CD-R) and looked at the contents of the CD. In my computer it came up as 647Mb CD.
Further inspecion with Neros session selector indicated 2 seesions, the first one being 100Mb and the second session being 700Mb. (total, just over 800Mb)

Interesting?
Furthermore, I could look and copy at the contents of the CD to my HD as if they were burnt in mode 1!

Also note, The original .CDI image file was over 800MB!
Looking at the Discjuggler setting (of the .CDI file) it was burnt as mode 2 AUDIO.

But how to master a CD in this way?? Certaintly I can't select mode2/XA form2 in the mastering/burning options in Discjuggler.....

All we need is a program that can burn mode2 form2, or at least make it think its an audio or video CD when instead it has a DivX video on it.....

comments?
amni is offline   Reply With Quote
Old 22nd February 2002, 15:52   #36  |  Link
SonicFRAG
Registered User
 
Join Date: Feb 2002
Location: Adelaide
Posts: 2
So has this gone anywhere?

Just wondering if anyone has come up with a way of putting 800mb on an 80min cd?
All these great ideas in this thread, must have come to something???

amni, any progress??
SonicFRAG is offline   Reply With Quote
Old 22nd February 2002, 16:55   #37  |  Link
amni
Registered User
 
Join Date: Nov 2001
Posts: 42
Re: So has this gone anywhere?

Quote:
Originally posted by SonicFRAG
Just wondering if anyone has come up with a way of putting 800mb on an 80min cd?
All these great ideas in this thread, must have come to something???

amni, any progress??
I've done this, and tested 6 disks with zero errors.
I'll publish *soon* the methods (at least the essential part soon).

I should comment that the method is a bit clumsy (it proves
feasabilty but only CDR software programmer may
create a friendly software). "Fiendliness" means that one can
read the burned file systems directly (eg, reading right from
WINDOWS EXPLORERE). In my method, one can read only via
programs like ISOBUSTER.
amni is offline   Reply With Quote
Old 22nd February 2002, 23:44   #38  |  Link
CavalloPazzo
Registered User
 
Join Date: Oct 2001
Posts: 80
Have you tried asking some developer about this? Do you know if somene is working on a such program?
CavalloPazzo is offline   Reply With Quote
Old 24th February 2002, 21:09   #39  |  Link
movmasty
Registered User
 
Join Date: Feb 2002
Posts: 970
since the dvd is 4.7gigs, and begin to be writable
would be more simple to realize a double CD, 1300mb
i think that will be more simple and cheap than a double layer of same size.

normal CDs cant really go under 25c,just for commercial reasons
a double CD of 1300mb, will soon reach that low price
and will be always very cheaper that dvd-r.

is some year that i hear about double-cd circulating in Asia,
anyone knows about this??

see also the CD size pool that i started here
movmasty is offline   Reply With Quote
Old 2nd March 2002, 06:21   #40  |  Link
amni
Registered User
 
Join Date: Nov 2001
Posts: 42
See my previous post in this thread

I mentioned in this thread a specific person
(the developer of VCDEASY, or the developer
of VCDIMAGER, I think).
Who can give a nice solution to the
problem of "reading directly" the burned stuff.

In principle, this might be a solution not different
from reading VCD CDs from computer
(you can read files with extention like ".dat"
consisting of movies as if they are plain data files,
although they are in MODE2 FORM2 format).

I didn't write to him since I didn't write as yet my guide
to my method of burning.
I don't believe that he will even start writing anything
before repeating my experiments (no body start
any "developing initiative" without having
serious evidence that the target which wants to achieve
is *feasible*, my method is such "feasibility evidence").

Sorry, I can't at this moment finish my guide.
There is not much to finish the basic guide but I'm so
much troubled with other thinks that I can't
even write this simple post.

I'll try to finish my basic guide this week, but can't
promise.

Quote:
Originally posted by CavalloPazzo
Have you tried asking some developer about this? Do you know if somene is working on a such program?
amni is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.