<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 6 дек. 2022 г., 23:41 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" target="_blank" rel="noreferrer">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="Courier New, Courier, monospace"><br>
<br>
</font>
<div><font face="Courier New, Courier,
monospace">Den 06.12.2022 16:39, skrev Andrew Randrianasulu:<br>
</font></div>
<blockquote type="cite">
<div dir="auto">
<div><font face="Courier New, Courier, monospace"><br>
<br>
</font>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr"><font face="Courier New,
Courier, monospace">вт, 6 дек. 2022 г., 03:33 Terje J.
Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer" target="_blank">cin@lists.cinelerra-gg.org</a>>:<br>
</font></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <font face="Courier New, Courier, monospace">I had
to troubleshoot and replace a bad SATA power connector
to my internal LG Blu-ray burner that caused confusing
disc mount issues and delay, before the burner device
worked properly again.<br>
</font> <font face="Courier New, Courier, monospace"><br>
lsscsi | grep BD<br>
[5:0:0:0] cd/dvd HL-DT-ST BD-RE BH10LS30 1.02
/dev/sr0<br>
</font> <font face="Courier New, Courier, monospace"><br>
</font> <font face="Courier New, Courier, monospace"><br>
So far I have tested successful burning on BD50-RE DL
discs with K3b/cdrecord using a single 2GB HDV clip
with PCM transcoded audio written to Blu-ray video UDF
image. For HDV this time I've tested BD-RE discs from
two manufacturers, Verbatim and unlabeled (dealer
Slowmoose). Last year I tested also SD-Bluray video
successful burned on TDK BD-RE discs.<br>
</font> <font face="Courier New, Courier, monospace"><br>
</font> <font face="Courier New, Courier, monospace"><br>
And most important, the discs starts as autoplay after
loading in my Samsung UBD-K8500 Blu-ray hardware
player. The quality of interlaced video and PCM audio
seems for me equivalent via VLC and Samsung BD player.
Testing is executed on VLC/Leap 15.4 workstation and
Samsung BD-player, both connected to the same Asus 27"
LCD monitor (PB2780Q), easy switchable via DP and HDMI
ports respectively.<br>
</font> <font face="Courier New, Courier, monospace"><br>
</font> <font face="Courier New, Courier, monospace"><br>
To summarize and repeat procedure for this test case:<br>
</font> <font face="Courier New, Courier, monospace"><br>
> ffmpeg -i hdv01_m2t -c:v copy -c:a pcm_bluray
-mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts<br>
# mkudffs -b 2048 /tmp/hdv01_m2t_pcm_bluray.udfs
1126663<br>
# mount -o loop /tmp/hdv01_m2t_pcm_bluray.udfs
/mnt/test<br>
# /home/terje/mountpoint/usr/bin/bdwrite /mnt/test
hdv01_m2t_pcm_bluray.mts<br>
# umount /mnt/test<br>
</font> <font face="Courier New, Courier, monospace"><br>
K3b: Burn CD-image, 2x speed (BD50-RE DL)<br>
image to burn; /tmp/hdv01_m2t_pcm_bluray.udfs<br>
(not recognizeable, but selece burn it anyway, 2-4x
times)<br>
image type: Auto<br>
Burning program: cdrecord<br>
(warning to add the actual user to cdrom group)<br>
Start<br>
</font> <font face="Courier New, Courier, monospace"><br>
</font> <font face="Courier New, Courier, monospace"><br>
A question before leaving some error/warning details
from various tools output/log below:<br>
</font> <font face="Courier New, Courier, monospace"><br>
Is it possible to get bdwrite to keep the original,
multiple video clip names? In this case single clip:
hdv01.mts<br>
</font></div>
</blockquote>
</div>
</div>
<div dir="auto"><font face="Courier New, Courier, monospace"><br>
</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace">I
think only way I saw in manual (but not tested) is to add
chain of clips as arguments to bdwrite, so you will have
titles to select via remote control</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace"><br>
</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace"><a href="https://cinelerra-gg.org/download/CinelerraGG_Manual/Blu_ray_from_Multiple_CINEL.html" rel="noreferrer noreferrer" target="_blank">https://cinelerra-gg.org/download/CinelerraGG_Manual/Blu_ray_from_Multiple_CINEL.html</a><br>
</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace"><br>
</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace"><br>
</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace">not
sure what will happen if you add like 20 titles this way -
screen area will overflown by title names?</font></div>
</div>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
Yes, there is something to explore. The manual sample screen seems
to be selectable human info titles that points to the clips.<br>
<br>
To be sure we talk about the same thing, I will detail this sample
case a bit.<br>
<br>
The Blu-ray video disc's root directory contains the following
tree structure:<br>
<br>
<br>
terje@localhost:/run/media/terje/LinuxUDF> ls<br>
BDMV CERTIFICATE<br>
<br>
terje@localhost:/run/media/terje/LinuxUDF> tree -h BDMV<br>
BDMV<br>
├── [ 40] AUXDATA<br>
├── [ 332] BACKUP<br>
│ ├── [ 40] BDJO<br>
│ ├── [ 92] CLIPINF<br>
│ │ └── [7.3K] 00000.clpi<br>
│ ├── [ 124] index.bdmv<br>
│ ├── [ 40] JAR<br>
│ ├── [ 110] MovieObject.bdmv<br>
│ └── [ 92] PLAYLIST<br>
│ └── [ 212] 00000.mpls<br>
├── [ 40] BDJO<br>
├── [ 92] CLIPINF<br>
│ └── [7.3K] 00000.clpi<br>
├── [ 124] index.bdmv<br>
├── [ 40] JAR<br>
├── [ 40] META<br>
├── [ 110] MovieObject.bdmv<br>
├── [ 92] PLAYLIST<br>
│ └── [ 212] 00000.mpls<br>
└── [ 92] STREAM<br>
└── [2.1G] 00000.m2ts<br>
<br>
12 directories, 9 files<br>
<br>
<br>
The last line contains the video itself with file name
'00000.m2ts'<br>
This corresponds to my single video clip
'hdv01_m2t_pcm_bluray.mts' from <br>
bdwrite /mnt/test hdv01_m2t_pcm_bluray.mts<br>
<br>
HDV and also DV (SD) requires ca 13 GB disc space pr hour (from a
recorded 60 minutes tape). That is a 46 GB BD50-DL optical disc
have space for about 3.5 hours HDV or DV video.<br>
<br>
When HDV.m2t or DV (digitized from Hi8 analog tapes) are
transfered to the Datavideo DN-300 disk recorder, the video is
auto splitted in 2,0 GB named clips. A sample of DV clips and
naming from two Hi8 tapes archived on optical BD data discs:<br>
<br>
/video/DV> du -h dv01* dv02*<br>
2,0G dv01.dv<br>
2,0G dv01_01.dv<br>
2,0G dv01_02.dv<br>
2,0G dv01_03.dv<br>
2,0G dv01_04.dv<br>
2,0G dv01_05.dv<br>
2,0G dv01_06.dv<br>
389M dv01_07.dv<br>
<br>
2,0G dv02.dv<br>
2,0G dv02_01.dv<br>
2,0G dv02_02.dv<br>
2,0G dv02_03.dv<br>
2,0G dv02_04.dv<br>
2,0G dv02_05.dv<br>
505M dv02_06.dv<br>
<br>
It is these clip names it would be practical (due to archive
register) to keep also on the playbackable, source Blu-ray video
discs?<br></font></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">well, *I think* stream names are fixed, you can't keep streams themselves named like your source clips/files, but there is pretty big machinery for assembling some user accessible objects from low-level streams (all those cpl files). I do not understand this part well enough ...</div><div dir="auto"><br></div><div dir="auto">I guess modern BD players still can show you arbitrary filenames to pick and choose but not as part of BD playback...</div><div dir="auto"><br></div><div dir="auto">may be you can extract/write some metadata and stuff it as subtitle layer ? (via tsmuxer). </div><div dir="auto"><br></div><div dir="auto">because you can have few subtitle tracks in theory you can reserve one for technical information like original filename(s), original date/time/timecode and others as normal subtitles. So all you need is to switch subtitles via normal for player method, and you will see either your metadata or text subtitles (no one forces you to avoid say kdenlive for speech-to-text pass ...). Subtitle layers seems to be respected part of standard, so any future conversion will hopefully give you choice what to do with all this metadata as subtitle. There are 'text' based BD subtitles and 'image' based ones (better for complex languages like Japanese). I think for technical info you can stick with 'text-like' version, unless of course you visited (say) Japan and want to save some local location names.</div><div dir="auto"><br></div><div dir="auto">so .... I think its time to try how well tsmuxer handles plain srt subtitle (I think there was some issue about mixed-font style subtitles (0) but lets start from simpler monofont case)</div><div dir="auto"><br></div><div dir="auto">(0) - <a href="https://github.com/justdan96/tsMuxer/issues/606">https://github.com/justdan96/tsMuxer/issues/606</a></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><font face="Courier New, Courier, monospace">
Beside additional clip info/titles could be useful.<br>
<br>
<br>
</font>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><font face="Courier New, Courier, monospace"><br>
</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace"><br>
</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace">Thanks
for your experiments, hopefully Phyllis will update manual
section before new year with new line about transcoding
audio, while leaving video intact.</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace"><br>
</font></div>
<div dir="auto"><font face="Courier New, Courier, monospace"><br>
</font></div>
</div>
</blockquote>
<font face="Courier New, Courier, monospace">The very first
procedure line above had a minor syntax typo in the input file:<br>
> ffmpeg -i hdv01.m2t -c:v copy -c:a pcm_bluray
-mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts<br>
<br>
It should be noted that ffmpeg-5 with pcm_bluray encoder is
required here (therefore I used Tumbleweed just for this)<br>
<br>
<br>
Else I suggest that the # comments in the manual should be kept to
explain what happends.<br>
And also how the mkudffs size was calculated.<br>
<br>
<br>
</font>
<blockquote type="cite">
<div dir="auto">
<div dir="auto"><font face="Courier New, Courier, monospace"><br>
</font></div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <font face="Courier New, Courier, monospace"><br>
</font> <font face="Courier New, Courier, monospace"><br>
#####################################<br>
</font> <font face="Courier New, Courier, monospace"><br>
</font> <font face="Courier New, Courier, monospace"><br>
</font></div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote></div></div></div>