I think bdwrite segfaults now ( (<div><br></div><div>not sure why, I try to revert some changes (tried to add variable chapter marks along the way) and see if it improves situation... <br><br>On Tuesday, December 21, 2021, Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com">terjejhanssen@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Den 21.12.2021 13:14, skrev Terje J. Hanssen:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[...........]<br>
<br>
After so much confusing and fail-sensitivety with udfs on hdd:<br>
<br>
My Tip/suggestion:<br>
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".<br>
<br>
<br>
==============================<wbr>=============<br>
</blockquote>
<br>
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.<br>
<br>
----------------<br>
<br>
Now, yet a new test as root to BD render with Cin-GG and dd to the formatted BD-RE disc.<br>
<br>
./cin_bluray_lpcm_test_9e73037<wbr>6d01dcf86b3420de8f3625cec.<wbr>AppImage<br>
/usr/bin/AppImageLauncher: /usr/lib64/libcurl.so.4: no version information available (required by /usr/bin/../lib/x86_64-linux-g<wbr>nu/appimagelauncher/libappimag<wbr>eupdate.so)<br>
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'<br>
qt5ct: using qt5ct plugin<br>
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)<br>
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)<br>
Cinelerra Infinity - built: Dec 20 2021 14:52:15<br>
git://<a href="http://git.cinelerra-gg.org/goodguy/cinelerra.git" target="_blank">git.cinelerra-gg.org/goo<wbr>dguy/cinelerra.git</a><br>
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams<br>
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy<br>
Cinelerra is free software, covered by the GNU General Public License,<br>
and you are welcome to change it and/or distribute copies of it under<br>
certain conditions. There is absolutely no warranty for Cinelerra.<br>
<br>
Render::render_single: Session finished.<br>
** rendered 3415 frames in 38.119 secs, 89.588 fps<br>
++ dirname /tmp/bd_20211221-143520/bd.sh<br>
+ sdir=/tmp/bd_20211221-143520<br>
++ cd /tmp/bd_20211221-143520<br>
++ pwd<br>
+ dir=/tmp/bd_20211221-143520<br>
+ PATH=/sbin:/usr/sbin:/usr/loca<wbr>l/sbin:/root/bin:/usr/local/<wbr>bin:/usr/bin:/bin:/tmp/.mount_<wbr>cin_blJgBTQy/usr/bin<br>
+ mkdir -p /tmp/bd_20211221-143520/udfs<br>
++ du -cb /tmp/bd_20211221-143520/bd.m2t<wbr>s<br>
++ tail -1<br>
++ sed -e 's/[     ].*//'<br>
+ sz=211070976<br>
+ blks=107158<br>
+ rm -f /tmp/bd_20211221-143520/bd.udf<wbr>s<br>
+ mkudffs -b 2048 /tmp/bd_20211221-143520/bd.udf<wbr>s 107158<br>
filename=/tmp/bd_20211221-1435<wbr>20/bd.udfs<br>
label=LinuxUDF<br>
uuid=61c1d85eb5d3ee36<br>
blocksize=2048<br>
blocks=107158<br>
udfrev=201<br>
start=0, blocks=16, type=RESERVED<br>
start=16, blocks=3, type=VRS<br>
start=19, blocks=237, type=USPACE<br>
start=256, blocks=1, type=ANCHOR<br>
start=257, blocks=16, type=PVDS<br>
start=273, blocks=1, type=LVID<br>
start=274, blocks=106627, type=PSPACE<br>
start=106901, blocks=1, type=ANCHOR<br>
start=106902, blocks=239, type=USPACE<br>
start=107141, blocks=16, type=RVDS<br>
start=107157, blocks=1, type=ANCHOR<br>
+ mount -t udf -o loop /tmp/bd_20211221-143520/bd.udf<wbr>s /tmp/bd_20211221-143520/udfs<br>
+ bdwrite /tmp/bd_20211221-143520/udfs /tmp/bd_20211221-143520/bd.m2t<wbr>s<br>
/tmp/bd_20211221-143520/bd.sh: line 11:  7630 Segmentation fault      (core dumped) bdwrite $dir/udfs $dir/bd.m2ts*<br>
<br>
-------------------------<br>
<br>
localhost:/tmp # du -sh bd_20211221-143520/<br>
202M    bd_20211221-143520/<br>
localhost:/tmp #<br>
localhost:/tmp # tree -sh bd_20211221-143520/<br>
bd_20211221-143520/<br>
├── [2.0K]  <a href="http://bd.jobs" target="_blank">bd.jobs</a><br>
├── [201M]  bd.m2ts<br>
├── [ 525]  bd.sh<br>
├── [209M]  bd.udfs<br>
├── [5.9K]  bd.xml<br>
└── [ 136]  udfs<br>
    ├── [ 412]  BDMV<br>
    │   ├── [  40]  AUXDATA<br>
    │   ├── [ 224]  BACKUP<br>
    │   │   ├── [  40]  BDJO<br>
    │   │   ├── [  40]  CLIPINF<br>
    │   │   ├── [  40]  JAR<br>
    │   │   └── [  40]  PLAYLIST<br>
    │   ├── [  40]  BDJO<br>
    │   ├── [  40]  CLIPINF<br>
    │   ├── [  40]  JAR<br>
    │   ├── [  40]  META<br>
    │   ├── [  40]  PLAYLIST<br>
    │   └── [  40]  STREAM<br>
    └── [ 272]  CERTIFICATE<br>
        ├── [ 224]  BACKUP<br>
        │   ├── [  40]  BDJO<br>
        │   ├── [  40]  CLIPINF<br>
        │   ├── [  40]  JAR<br>
        │   └── [  40]  PLAYLIST<br>
        ├── [  40]  BDJO<br>
        ├── [  40]  CLIPINF<br>
        ├── [  40]  JAR<br>
        └── [  40]  PLAYLIST<br>
<br>
24 directories, 5 files<br>
localhost:/tmp # cd bd_20211221-143520/<br>
<br>
==============================<wbr>==============================<wbr>=================<br>
<br>
Write to disc<br>
<br>
localhost:/tmp/bd_20211221-143<wbr>520 # dd if=./bd.udfs of=/dev/sr0 bs=2048000<br>
107+1 records in<br>
107+1 records out<br>
219459584 bytes (219 MB, 209 MiB) copied, 0.0823011 s, 2.7 GB/s<br>
<br>
* Had to wait quite some time after the command finished before the disc writing started and finished !!<br>
==============================<wbr>==============================<wbr>==============================<wbr>=========<br>
<br>
localhost:/tmp/bd_20211221-143<wbr>520 # df -h<br>
Filesystem      Size  Used Avail Use% Mounted on<br>
devtmpfs        4.0M     0  4.0M   0% /dev<br>
tmpfs            32G  960K   32G   1% /dev/shm<br>
tmpfs            13G   27M   13G   1% /run<br>
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup<br>
/dev/nvme0n1p3   40G   12G   26G  31% /<br>
/dev/nvme0n1p1  156M  6.1M  150M   4% /boot/efi<br>
/dev/nvme0n1p4  427G   97G  309G  24% /home<br>
/dev/sdb1       459G  421G   15G  97% /video<br>
/dev/sdc1       384G  145G  220G  40% /data<br>
tmpfs           6.3G  180K  6.3G   1% /run/user/1000<br>
/dev/sdd1       3.6T  2.3T  1.2T  67% /run/media/terje/Seagate_4TB_b<wbr>ack<br>
/dev/loop0      209M   66K  209M   1% /tmp/bd_20211221-143520/udfs<br>
/dev/sr0        209M   20K  209M   1% /run/media/terje/LinuxUDF<br>
<br>
* Had to umount and mount the disc again before it was seen as a "LinuxUDF" disc in FileManager<br>
<br>
df -h /dev/sr0<br>
Filesystem      Size  Used Avail Use% Mounted on<br>
/dev/sr0        209M   20K  209M   1% /run/media/terje/LinuxUDF<br>
<br>
-------------------<br>
<br>
** But the STREAM map is now empty (no 0000.m2ts) and VLC cannot playback video from the disc!<br>
<br>
Samsung hardware player read the disc as Datadisk, but browsing to STREAM is emptyf course nothing to playback.<br>
<br>
Looks like only the Blu-ray structure has been written to disc without content.<br>
<br>
cd /run/media/terje/LinuxUDF<br>
localhost:/run/media/terje/Lin<wbr>uxUDF #<br>
localhost:/run/media/terje/Lin<wbr>uxUDF # tree -sh .<br>
.<br>
├── [ 412]  BDMV<br>
│   ├── [  40]  AUXDATA<br>
│   ├── [ 224]  BACKUP<br>
│   │   ├── [  40]  BDJO<br>
│   │   ├── [  40]  CLIPINF<br>
│   │   ├── [  40]  JAR<br>
│   │   └── [  40]  PLAYLIST<br>
│   ├── [  40]  BDJO<br>
│   ├── [  40]  CLIPINF<br>
│   ├── [  40]  JAR<br>
│   ├── [  40]  META<br>
│   ├── [  40]  PLAYLIST<br>
│   └── [  40]  STREAM<br>
└── [ 272]  CERTIFICATE<br>
    ├── [ 224]  BACKUP<br>
    │   ├── [  40]  BDJO<br>
    │   ├── [  40]  CLIPINF<br>
    │   ├── [  40]  JAR<br>
    │   └── [  40]  PLAYLIST<br>
    ├── [  40]  BDJO<br>
    ├── [  40]  CLIPINF<br>
    ├── [  40]  JAR<br>
    └── [  40]  PLAYLIST<br>
<br>
23 directories, 0 files<br>
<br>
========================<br>
<br>
Attach output log-files for<br>
<br>
udf_test_CGG_dd_BD-RE<br>
udfinfo_CGG_dd_BD-RE<br>
bd_info_CGG_dd_BD-RE<br>
<br>
==========================<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div>