<br><br>On Thursday, November 25, 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>
<br>
Den 24.11.2021 23:29, skrev Andrew Randrianasulu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Thursday, November 25, 2021, Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" target="_blank">terjejhanssen@gmail.com</a> <mailto:<a href="mailto:terjejhanssen@gmail.com" target="_blank">terjejhanssen@gmail.co<wbr>m</a>>> wrote:<br>
<br>
<br>
<br>
Just to add, I have several DVD and BD discs with video written<br>
earlier using various tools, CinGG/bdwrite, K3b and NeroLinux, but<br>
probably none using just this procedure for HDV:<br>
<br>
I repeat and continue from step using a blank DVD+RW disc:<br>
<br>
bdwrite /mntX 20081103140154_m2t-eac3.m2ts<br>
<br>
tree -h /mntX<br>
/mntX<br>
├── [ 520] BDMV<br>
│ ├── [ 40] AUXDATA<br>
│ ├── [ 332] BACKUP<br>
│ │ ├── [ 40] BDJO<br>
│ │ ├── [ 92] CLIPINF<br>
│ │ │ └── [ 480] 00000.clpi<br>
│ │ ├── [ 40] JAR<br>
│ │ ├── [ 110] MovieObject.bdmv<br>
│ │ ├── [ 92] PLAYLIST<br>
│ │ │ └── [ 184] 00000.mpls<br>
│ │ └── [ 124] index.bdmv<br>
│ ├── [ 40] BDJO<br>
│ ├── [ 92] CLIPINF<br>
│ │ └── [ 480] 00000.clpi<br>
│ ├── [ 40] JAR<br>
│ ├── [ 40] META<br>
│ ├── [ 110] MovieObject.bdmv<br>
│ ├── [ 92] PLAYLIST<br>
│ │ └── [ 184] 00000.mpls<br>
│ ├── [ 92] STREAM<br>
│ │ └── [ 42M] 00000.m2ts<br>
│ └── [ 124] index.bdmv<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, 9 files<br>
<br>
<br>
at least for now m2ts file is in)<br>
<br>
</blockquote>
Yes, [ 42M] 00000.m2ts<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
umount /mntX<br>
<br>
dd if=/tmp/BD_HDV_20081103140154_<wbr>m2t-eac3_m2ts.udfs of=/dev/sr0<br>
bs=2048000<br>
dd: error writing '/dev/sr0': No space left on device<br>
1+0 records in<br>
0+0 records out<br>
2048 bytes (2.0 kB, 2.0 KiB) copied, 0.0797526 s, 25.7 kB/s<br>
<br>
# dd: error writing '/dev/sr0': No space left on device<br>
# Is there something in the dd command that prerequisite a BD<br>
size disc: bs=2048000<br>
# If so, what should it be for a 4.7 GB DVD+RW?<br>
<br>
<br>
does first command work better?<br>
<br>
growisofs -Z /dev/bd=/tmp/newfilename.udfs<br>
</blockquote>
<br>
Yes, it works with DVD+R disc, see below.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
'bs' here is blocksize, never saw it that big, but then I never tried to write to optical disk in this way...<br>
<br>
<br>
# Is it possible to blank out the empty structures written to<br>
DVD+RW, in case it require a blank disc?<br>
<br>
<br>
not sure..<br>
<br>
try also to burn resulted image with some gui software? (just in case..)<br>
<br>
<br>
</blockquote>
<br>
It would be of interest if optional procedures with GUI tools could be set up and tested to create Blu-ray video discs, tsMuxer and/or MP4Box istead of FFMeg if possible (I don't know em) and K3b with support for Blu-ray discs?</blockquote><div><br></div><div>yeah, i'll try to adapt somescript found in blog [*] for creating .meta file for tsmuxer. </div><div>mp4box probably should me nentioned somewhere in manual as way to get pcm-in-mp4 output</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(My experience with K3b mostly has been with recording raw videofiles from HDD to BD-R data discs for backup purposes, which lastly ended with firmware issues for the newer editions BD-R discs).<br>
<br>
<br>
Below added my latest successful test:<br>
<br>
******************************<wbr>**********************<br>
<br>
New test using DVD+R disc and growiso instead:<br>
<br>
cd /video/HDV-M2T<br>
<br>
ls /tmp/BD*<br>
/tmp/BD_HDV_20081103140154_m2t<wbr>-eac3_m2ts.udfs<br>
rm /tmp/BD_HDV_20081103140154_m2t<wbr>-eac3_m2ts.udfs<br>
<br>
ls /mntX<br>
<br>
mkudffs /tmp/BD_HDV_20081103140154_m2t<wbr>-eac3_m2ts.udfs 25700<br>
filename=/tmp/BD_HDV_200811031<wbr>40154_m2t-eac3_m2ts.udfs<br>
label=LinuxUDF<br>
uuid=619ecc94e14e5d10<br>
blocksize=2048<br>
blocks=25700<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=25169, type=PSPACE<br>
start=25443, blocks=1, type=ANCHOR<br>
start=25444, blocks=239, type=USPACE<br>
start=25683, blocks=16, type=RVDS<br>
start=25699, blocks=1, type=ANCHOR<br>
<br>
mount -o loop /tmp/BD_HDV_20081103140154_m2t<wbr>-eac3_m2ts.udfs /mntX<br>
<br>
bdwrite /mntX 20081103140154_m2t-eac3.m2ts<br>
<br>
tree -h /mntX/BDMV<br>
/mntX/BDMV<br>
├── [ 40] AUXDATA<br>
├── [ 332] BACKUP<br>
│ ├── [ 40] BDJO<br>
│ ├── [ 92] CLIPINF<br>
│ │ └── [ 480] 00000.clpi<br>
│ ├── [ 40] JAR<br>
│ ├── [ 110] MovieObject.bdmv<br>
│ ├── [ 92] PLAYLIST<br>
│ │ └── [ 184] 00000.mpls<br>
│ └── [ 124] index.bdmv<br>
├── [ 40] BDJO<br>
├── [ 92] CLIPINF<br>
│ └── [ 480] 00000.clpi<br>
├── [ 40] JAR<br>
├── [ 40] META<br>
├── [ 110] MovieObject.bdmv<br>
├── [ 92] PLAYLIST<br>
│ └── [ 184] 00000.mpls<br>
├── [ 92] STREAM<br>
│ └── [ 42M] 00000.m2ts<br>
└── [ 124] index.bdmv<br>
<br>
12 directories, 9 files<br>
<br>
<br>
umount /mntX<br>
<br>
<br>
growisofs -Z /dev/sr0=/tmp/BD_HDV_200811031<wbr>40154_m2t-eac3_m2ts.udfs<br>
Executing 'builtin_dd if=/tmp/BD_HDV_20081103140154_<wbr>m2t-eac3_m2ts.udfs of=/dev/sr0 obs=32k seek=0'<br>
PERFORM OPC failed with SK=5h/ASC=21h/ACQ=04h]: Invalid argument<br>
START UNIT failed with SK=2h/MEDIUM NOT PRESENT - TRAY OPEN]: No medium found<br>
/dev/sr0: "Current Write Speed" is 16.4x1352KBps.<br>
the LUN is still in process of becoming ready, retrying in 5 secs...<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
the LUN is still in process of becoming ready, retrying in 5 secs...<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
the LUN is still in process of becoming ready, retrying in 5 secs...<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
0/52633600 ( 0.0%) @0x, remaining ??:?? RBU 100.0% UBU 0.0%<br>
17203200/52633600 (32.7%) @3.7x, remaining 1:28 RBU 100.0% UBU 1.3%<br>
48857088/52633600 (92.8%) @6.9x, remaining 0:03 RBU 11.3% UBU 100.0%<br>
builtin_dd: 25712*2KB out @ average 0.8x1352KBps<br>
/dev/sr0: flushing cache<br>
/dev/sr0: updating RMA<br>
/dev/sr0: closing session<br>
<br>
# Had to escape the blank DVD+R disc with Gnome Files and then enter it again before it mounted as LinuxUDF<br>
<br>
cd /run/media/terje/LinuxUDF<br>
<br>
tree -h .<br>
.<br>
├── [ 520] BDMV<br>
│ ├── [ 40] AUXDATA<br>
│ ├── [ 332] BACKUP<br>
│ │ ├── [ 40] BDJO<br>
│ │ ├── [ 92] CLIPINF<br>
│ │ │ └── [ 480] 00000.clpi<br>
│ │ ├── [ 40] JAR<br>
│ │ ├── [ 110] MovieObject.bdmv<br>
│ │ ├── [ 92] PLAYLIST<br>
│ │ │ └── [ 184] 00000.mpls<br>
│ │ └── [ 124] index.bdmv<br>
│ ├── [ 40] BDJO<br>
│ ├── [ 92] CLIPINF<br>
│ │ └── [ 480] 00000.clpi<br>
│ ├── [ 40] JAR<br>
│ ├── [ 40] META<br>
│ ├── [ 110] MovieObject.bdmv<br>
│ ├── [ 92] PLAYLIST<br>
│ │ └── [ 184] 00000.mpls<br>
│ ├── [ 92] STREAM<br>
│ │ └── [ 42M] 00000.m2ts<br>
│ └── [ 124] index.bdmv<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, 9 files<br>
<br>
# The DVD+R disc is written OK<br>
# Open the top BDMV with VLC from Gnome Files starts playing the video.</blockquote><div><br></div><div>cool, patience win! </div><div><br></div><div>But.. does it play in hw player? </div><div><br></div><div><br></div><div>[*] - <a href="https://www.google.com/amp/s/irishjesus.wordpress.com/2010/10/17/blu-ray-movie-authoring-in-linux/amp/">https://www.google.com/amp/s/irishjesus.wordpress.com/2010/10/17/blu-ray-movie-authoring-in-linux/amp/</a></div><div><br></div><div>====</div><div>function mux_bluray_assets {</div><div> echo 'Muxing streams and generating BDMV file structure'</div><div> # create the metafile needed by tsMuxeR</div><div><br></div><div> echo "MUXOPT --no-pcr-on-video-pid --new-audio-pes --blu-ray --vbr --custom-chapters=00:00:00.000;00:05:00.000;00:10:00.000;00:15:00.000;00:20:00.000;00:25:00.000 --split-size=2GB --vbv-len=500" > $TSMUXER_META</div><div> echo "V_MPEG4/ISO/AVC, \"$H264_FILE\", fps=23.976, insertSEI, contSPS, ar=As source" >> $TSMUXER_META</div><div> echo "A_LPCM, \"$WAV_FILE\", lang=eng" >> $TSMUXER_META</div><div><br></div><div> # mux the two files and generate the BR-structure</div><div> $TSMUXER $TSMUXER_META $BDMV_PATH >>mkbdmovie.log 2>&1</div><div>}</div><div><br></div><div>===</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
================<br>
<br>
Terje J. H<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>