https://bugs.kde.org/show_bug.cgi?id=383011
Bug ID: 383011 Summary: k3b cannot create DVD video image Product: k3b Version: 17.04.3 Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Video DVD Assignee: k...@kde.org Reporter: erw...@dds.nl CC: mich...@jabster.pl, tr...@kde.org Target Milestone: --- The following is a copy from "https://bugzilla.opensuse.org/show_bug.cgi?id=1051338". When trying to create a video DVD image, k3b issues the following error messages: The project does not contain all necessary video DVD files. The resulting DVD will most likely not be playable on a Hifi DVD player. Could not determine size of resulting image file. Note that this happens with the original k3b version coming with Leap 42.3, the packman version, as well as the version from KDE Applications. Reproducible: Always Steps to Reproduce: 1. Select a directory that contains all necessary files for a DVD video. 2. Start k3b and tell it to only create an image from these files. It doesn'matter which video directories you choose, it happens with all of them. Actual Results: The following is the debugging information produced by k3b: Devices ----------------------- Optiarc DVD RW AD-7173S 1-02 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW, SAO/R96R, RAW/R96R, Restricted Overwrite, Layer Jump] [%7] K3b::IsoImager ----------------------- mkisofs print size result: 0 (0 bytes) System ----------------------- K3b Version: 17.4.3 KDE Version: 5.32.0 Qt Version: 5.9.1 Kernel: 4.4.76-1-default Used versions ----------------------- mkisofs: 1.1.11 mkisofs ----------------------- Warning: -follow-links does not always work correctly; be careful. I: -input-charset not specified, using utf-8 (detected in locale settings) genisoimage 1.1.11 (Linux) Scanning k3bVideoDvdyTjqwI Scanning k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI Scanning k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS Scanning /home/erwin/.local/share/k3b/temp/10d5726f64000150131730200000029590021_0/dummydir_0/ /usr/bin/genisoimage: Could not find correct 'VIDEO_TS' directory. Possible reasons: - VIDEO_TS subdirectory was not found on specified location - VIDEO_TS has invalid contents mkisofs calculate size command: ----------------------- /usr/bin/genisoimage -gui -graft-points -print-size -quiet -volid K3b data project -volset -appid K3B THE CD KREATOR (C) 1998-2010 SEBASTIAN TRUEG AND MICHAL MALEK -publisher -preparer -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/k3b.FV4364 -no-cache-inodes -udf -iso-level 1 -path-list /tmp/k3b.sc4364 -verbose -verbose -dvd-video -f k3bVideoDvdyTjqwI I tried to use strace to see what happened. This is what I found: mkdir("k3bVideoDvdyTjqwI", 0700) = 0 mkdir("k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI", 0777) = 0 stat("k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 mkdir("k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS", 0777) = 0 symlink("/home/erwin/ZZZZZZ/VIDEO_TS.BUP", "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/VIDEO_TS.BUP") = 0 symlink("/home/erwin/ZZZZZZ/VIDEO_TS.IFO", "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/VIDEO_TS.IFO") = 0 symlink("/home/erwin/ZZZZZZ/VTS_01_0.BUP", "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/VTS_01_0.BUP") = 0 symlink("/home/erwin/ZZZZZZ/VTS_01_0.IFO", "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/VTS_01_0.IFO") = 0 symlink("/home/erwin/ZZZZZZ/VTS_01_1.VOB", "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/VTS_01_1.VOB") = 0 symlink("/home/erwin/ZZZZZZ/VTS_01_2.VOB", "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/VTS_01_2.VOB") = 0 symlink("/home/erwin/ZZZZZZ/VTS_01_3.VOB", "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/VTS_01_3.VOB") = 0 symlink("/home/erwin/ZZZZZZ/VTS_01_4.VOB", "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/VTS_01_4.VOB") = 0 symlink("/home/erwin/ZZZZZZ/VTS_01_5.VOB", "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/VTS_01_5.VOB") = 0 Apparently, k3b creates directory "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS" and in this directory symlinks are created to the real video files. I created these directories and the symlinks manually to see what happened with the genisoimage command (mkisofs is just a symlink to genisoimage): erwin@frodo:~> ls -l k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/ total 0 lrwxrwxrwx 1 erwin users 31 29 jul 10:38 VIDEO_TS.BUP -> /home/erwin/ZZZZZZ/VIDEO_TS.BUP lrwxrwxrwx 1 erwin users 31 29 jul 10:39 VIDEO_TS.IFO -> /home/erwin/ZZZZZZ/VIDEO_TS.IFO lrwxrwxrwx 1 erwin users 31 29 jul 10:39 VTS_01_0.BUP -> /home/erwin/ZZZZZZ/VTS_01_0.BUP lrwxrwxrwx 1 erwin users 31 29 jul 10:39 VTS_01_0.IFO -> /home/erwin/ZZZZZZ/VTS_01_0.IFO lrwxrwxrwx 1 erwin users 31 29 jul 10:39 VTS_01_1.VOB -> /home/erwin/ZZZZZZ/VTS_01_1.VOB lrwxrwxrwx 1 erwin users 31 29 jul 10:39 VTS_01_2.VOB -> /home/erwin/ZZZZZZ/VTS_01_2.VOB lrwxrwxrwx 1 erwin users 31 29 jul 10:39 VTS_01_3.VOB -> /home/erwin/ZZZZZZ/VTS_01_3.VOB lrwxrwxrwx 1 erwin users 31 29 jul 10:39 VTS_01_4.VOB -> /home/erwin/ZZZZZZ/VTS_01_4.VOB lrwxrwxrwx 1 erwin users 31 29 jul 10:39 VTS_01_5.VOB -> /home/erwin/ZZZZZZ/VTS_01_5.VOB If I run the genisoimage command as follows (some unnecessary parameters have been removed for clarity) /usr/bin/genisoimage -udf -iso-level 1 -verbose -dvd-video -o /tmp/k3b.iso -f k3bVideoDvdyTjqwI it results in the following error Warning: -follow-links does not always work correctly; be careful. I: -input-charset not specified, using utf-8 (detected in locale settings) genisoimage 1.1.11 (Linux) Scanning k3bVideoDvdyTjqwI Scanning k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI Scanning k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS /usr/bin/genisoimage: Could not find correct 'VIDEO_TS' directory. /usr/bin/genisoimage: Unable to make a DVD-Video image. Possible reasons: - VIDEO_TS subdirectory was not found on specified location - VIDEO_TS has invalid contents Thus, with this command, genisoimage cannot find the VIDEO_TS directory. However, with the following genisoimage command (note the difference in the input directory) /usr/bin/genisoimage -udf -iso-level 1 -verbose -dvd-video -o /tmp/k3b.iso -f k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI an image is created as expected. It seems that either k3b creates an incorrect directory structure, "k3bVideoDvdyTjqwI/k3bVideoDvdyTjqwI/VIDEO_TS/" in stead of "k3bVideoDvdyTjqwI/VIDEO_TS/", or it is giving incorrect directory information to genisoimage. -- You are receiving this mail because: You are watching all bug changes.