I think I fixed it (stupid mistake of using '=' instead of '==' in if statement!) try to apply attached patches on top of first series (I made tsmuxer_gui_3 series to be send separately) On Tuesday, December 21, 2021, Andrew Randrianasulu <[email protected]> wrote:
I think bdwrite segfaults now ( (
not sure why, I try to revert some changes (tried to add variable chapter marks along the way) and see if it improves situation...
On Tuesday, December 21, 2021, Terje J. Hanssen <[email protected]> wrote:
Den 21.12.2021 13:14, skrev Terje J. Hanssen:
[...........]
After so much confusing and fail-sensitivety with udfs on hdd:
My Tip/suggestion: Wouldn't it be an idea to have an option to write a BD.iso instead (with udf included) just as tsMuxer can do? At least for a simple file like this, K3b gui handle a BD.iso quite easy and straight forward by selecting the iso-file and "Burn the (CD)image to disc".
===========================================
Did a test verification with K3b. Had to quick-format the BD-RE disc and then K3b burned the previous txMuxer generated SD-BD.iso image to a BD-compliant disc that played fine with VLC and autoplayed in Samsung UBD player as Blu-ray.
----------------
Now, yet a new test as root to BD render with Cin-GG and dd to the formatted BD-RE disc.
./cin_bluray_lpcm_test_9e730376d01dcf86b3420de8f3625cec.AppImage /usr/bin/AppImageLauncher: /usr/lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-g nu/appimagelauncher/libappimageupdate.so) QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' qt5ct: using qt5ct plugin Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user) Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user) Cinelerra Infinity - built: Dec 20 2021 14:52:15 git://git.cinelerra-gg.org/goodguy/cinelerra.git (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra.
Render::render_single: Session finished. ** rendered 3415 frames in 38.119 secs, 89.588 fps ++ dirname /tmp/bd_20211221-143520/bd.sh + sdir=/tmp/bd_20211221-143520 ++ cd /tmp/bd_20211221-143520 ++ pwd + dir=/tmp/bd_20211221-143520 + PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bi n:/usr/bin:/bin:/tmp/.mount_cin_blJgBTQy/usr/bin + mkdir -p /tmp/bd_20211221-143520/udfs ++ du -cb /tmp/bd_20211221-143520/bd.m2ts ++ tail -1 ++ sed -e 's/[ ].*//' + sz=211070976 + blks=107158 + rm -f /tmp/bd_20211221-143520/bd.udfs + mkudffs -b 2048 /tmp/bd_20211221-143520/bd.udfs 107158 filename=/tmp/bd_20211221-143520/bd.udfs label=LinuxUDF uuid=61c1d85eb5d3ee36 blocksize=2048 blocks=107158 udfrev=201 start=0, blocks=16, type=RESERVED start=16, blocks=3, type=VRS start=19, blocks=237, type=USPACE start=256, blocks=1, type=ANCHOR start=257, blocks=16, type=PVDS start=273, blocks=1, type=LVID start=274, blocks=106627, type=PSPACE start=106901, blocks=1, type=ANCHOR start=106902, blocks=239, type=USPACE start=107141, blocks=16, type=RVDS start=107157, blocks=1, type=ANCHOR + mount -t udf -o loop /tmp/bd_20211221-143520/bd.udfs /tmp/bd_20211221-143520/udfs + bdwrite /tmp/bd_20211221-143520/udfs /tmp/bd_20211221-143520/bd.m2ts /tmp/bd_20211221-143520/bd.sh: line 11: 7630 Segmentation fault (core dumped) bdwrite $dir/udfs $dir/bd.m2ts*
-------------------------
localhost:/tmp # du -sh bd_20211221-143520/ 202M bd_20211221-143520/ localhost:/tmp # localhost:/tmp # tree -sh bd_20211221-143520/ bd_20211221-143520/ ├── [2.0K] bd.jobs ├── [201M] bd.m2ts ├── [ 525] bd.sh ├── [209M] bd.udfs ├── [5.9K] bd.xml └── [ 136] udfs ├── [ 412] BDMV │ ├── [ 40] AUXDATA │ ├── [ 224] BACKUP │ │ ├── [ 40] BDJO │ │ ├── [ 40] CLIPINF │ │ ├── [ 40] JAR │ │ └── [ 40] PLAYLIST │ ├── [ 40] BDJO │ ├── [ 40] CLIPINF │ ├── [ 40] JAR │ ├── [ 40] META │ ├── [ 40] PLAYLIST │ └── [ 40] STREAM └── [ 272] CERTIFICATE ├── [ 224] BACKUP │ ├── [ 40] BDJO │ ├── [ 40] CLIPINF │ ├── [ 40] JAR │ └── [ 40] PLAYLIST ├── [ 40] BDJO ├── [ 40] CLIPINF ├── [ 40] JAR └── [ 40] PLAYLIST
24 directories, 5 files localhost:/tmp # cd bd_20211221-143520/
============================================================ =================
Write to disc
localhost:/tmp/bd_20211221-143520 # dd if=./bd.udfs of=/dev/sr0 bs=2048000 107+1 records in 107+1 records out 219459584 bytes (219 MB, 209 MiB) copied, 0.0823011 s, 2.7 GB/s
* Had to wait quite some time after the command finished before the disc writing started and finished !! ============================================================ =======================================
localhost:/tmp/bd_20211221-143520 # df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 4.0M 0 4.0M 0% /dev tmpfs 32G 960K 32G 1% /dev/shm tmpfs 13G 27M 13G 1% /run tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup /dev/nvme0n1p3 40G 12G 26G 31% / /dev/nvme0n1p1 156M 6.1M 150M 4% /boot/efi /dev/nvme0n1p4 427G 97G 309G 24% /home /dev/sdb1 459G 421G 15G 97% /video /dev/sdc1 384G 145G 220G 40% /data tmpfs 6.3G 180K 6.3G 1% /run/user/1000 /dev/sdd1 3.6T 2.3T 1.2T 67% /run/media/terje/Seagate_4TB_back /dev/loop0 209M 66K 209M 1% /tmp/bd_20211221-143520/udfs /dev/sr0 209M 20K 209M 1% /run/media/terje/LinuxUDF
* Had to umount and mount the disc again before it was seen as a "LinuxUDF" disc in FileManager
df -h /dev/sr0 Filesystem Size Used Avail Use% Mounted on /dev/sr0 209M 20K 209M 1% /run/media/terje/LinuxUDF
-------------------
** But the STREAM map is now empty (no 0000.m2ts) and VLC cannot playback video from the disc!
Samsung hardware player read the disc as Datadisk, but browsing to STREAM is emptyf course nothing to playback.
Looks like only the Blu-ray structure has been written to disc without content.
cd /run/media/terje/LinuxUDF localhost:/run/media/terje/LinuxUDF # localhost:/run/media/terje/LinuxUDF # tree -sh . . ├── [ 412] BDMV │ ├── [ 40] AUXDATA │ ├── [ 224] BACKUP │ │ ├── [ 40] BDJO │ │ ├── [ 40] CLIPINF │ │ ├── [ 40] JAR │ │ └── [ 40] PLAYLIST │ ├── [ 40] BDJO │ ├── [ 40] CLIPINF │ ├── [ 40] JAR │ ├── [ 40] META │ ├── [ 40] PLAYLIST │ └── [ 40] STREAM └── [ 272] CERTIFICATE ├── [ 224] BACKUP │ ├── [ 40] BDJO │ ├── [ 40] CLIPINF │ ├── [ 40] JAR │ └── [ 40] PLAYLIST ├── [ 40] BDJO ├── [ 40] CLIPINF ├── [ 40] JAR └── [ 40] PLAYLIST
23 directories, 0 files
========================
Attach output log-files for
udf_test_CGG_dd_BD-RE udfinfo_CGG_dd_BD-RE bd_info_CGG_dd_BD-RE
==========================