On 12/18/2022 6:59 PM, Tim via users wrote:
On Sun, 2022-12-18 at 17:44 -0500, Bill Cunningham wrote:
OK so how exactly do I create an "empty" ISO file? I will try to explain by example.
As above say I have an "empty" vfat format.
mount /dev/loop /mnt which is attached to a FILE.
copy files manually into the /mnt directory. Be they VOBs IFOs or such.
wold I have to turn to mkfs.udf for this? IDK if that is a ISO.
To create a playable DVD, the files have to be put into the master image (the ISO file, in your example), in order. DVD players are very simple, and expect the first file at the start of the disc, and the rest in sequence. They can do a bit of hunting around to play different files, but each file is contiguous in itself. There's also a bootblock kind of structure to the disc, with headers identifying the type of disc.
These are just a few reasons why you use video-DVD creation tools to create DVDs, rather than try to do it all by hand.
Too answer many people's questions here, as to what I want to accomplish; is there some way to make these huge 7 GB ISOs smaller? Converting to an mp4 would be the simple answer, but not a simple task as I am finding. There is some manual way I came across having something to do with cat'ing a VOB and that somehow shrinks it. This is manual and I can't remember the steps, there would have to be much more to it than that as using cat is usually for text files. I am even having trouble with handbrake now.
I also would like to understand this ISO and dvd format much more, as you seem to.
B