Debugging DVDs Creation

This section contains helpful hints, how to initially check the results, and some information on determining what might have gone wrong and how to address it.

  1. For first time users, taking the defaults seem to work very well when running as root.
  2. You may want to use rewritable media to see how it goes before using permanent media.
  3. Until you are familiar with the procedure, start with shorter input in order not to waste time.
  4. Test the generated output with a compatible media rendering tool before burning DVDs.
  5. Check the list of files and file sizes after the batch jobs are complete before burning DVDs.

For blu-ray creation, cd /workpath/bd_date-time directory and look for similar files:

bd.jobs     bd.m2ts     bd.sh     bd.udfs     bd.xml

udfs directory which is used as a loopback mount point

Note that the size of bd.udfs should be larger than bd.m2ts because this is the final file which is actually going to be written to the disc media. It contains contents of bd.m2ts and all of the required disc structure.

For DVD creation, cd /workpath/dvd_date-time directory and look for similar files:

dvd.ac3     dvd.jobs     dvd.m2v     dvd.mpg     dvd.sh     dvd.xml
iso directory with VIDEO_TS and AUDIO_TS subdirectories of non-zero size.

Note that there will be no files in the actual AUDIO_TS directory.

  1. The bd.sh and dvd.sh files are script files that you can carefully run manually from some start point to determine where the failure occurred. You must BE CAREFUL and know what you are doing and what directory you are in because dvd.sh contains an rm command and will delete files. The script takes a command line parameter of the directory where the file was rendered to and which is usually the directory where dvd.sh or bd.sh was created.
  2. There is also a file in the same directory, called bd.jobs. It was the information that was used in creating the batch jobs and may be helpful in determining what parameters were actually used if there are any resulting problems. With enough background knowledge, you can make changes and rerun.
  3. For blu-ray check to make sure you do not have any spurious loopback disks mounted that may interfere with the correct generation. Use the df command to check this and then the umount command to unmount these. Also, check to make sure you have used the gsettings command to disable automount.
  4. For blu-ray loopback mount the <target>/bd.udfs image, and see if it has the BDMV filesystem written to it, and in particular a subdirectory named STREAM. Look at the results in ./udfs and check for the stream file which should exist in ./udfs/BDMV/STREAM/00000.m2ts and should have the same size as ./bd.m2ts.
        mount -o loop <target>/bd.udfs <target>/udfs
        ls -lR <target>/udfs
        du -sc <target>/udfs
        umount <target>/udfs
    


Checklist for Troubleshooting



Subsections
The CINELERRA-GG Community, 2021
https://www.cinelerra-gg.org