HDV with PCM audio as Blu-ray video burned to BD-RE discs
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. lsscsi | grep BD [5:0:0:0] cd/dvd HL-DT-ST BD-RE BH10LS30 1.02 /dev/sr0 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. 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. To summarize and repeat procedure for this test case:
ffmpeg -i hdv01_m2t -c:v copy -c:a pcm_bluray -mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts # mkudffs -b 2048 /tmp/hdv01_m2t_pcm_bluray.udfs 1126663 # mount -o loop /tmp/hdv01_m2t_pcm_bluray.udfs /mnt/test # /home/terje/mountpoint/usr/bin/bdwrite /mnt/test hdv01_m2t_pcm_bluray.mts # umount /mnt/test
K3b: Burn CD-image, 2x speed (BD50-RE DL) image to burn; /tmp/hdv01_m2t_pcm_bluray.udfs (not recognizeable, but selece burn it anyway, 2-4x times) image type: Auto Burning program: cdrecord (warning to add the actual user to cdrom group) Start A question before leaving some error/warning details from various tools output/log below: Is it possible to get bdwrite to keep the original, multiple video clip names? In this case single clip: hdv01.mts ##################################### K3b/cdrecord log: ================= Devices ----------------------- HL-DT-ST BD-RE BH10LS30 1.02 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, BD-ROM, BD-R, BD-R, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, Sekvensiell DVD-R, Sekvensiell tolags DVD-R, Bytt lag på tolags DVD-R, DVD-RAM, DVD-RW Begrenset overskriving, DVD-RW Sekvensiell, DVD+RW, DVD+R, Tolags DVD+R, CD-ROM, CD-R, CD-RW, BD-ROM, Sekvensiell DVD-R (SRM), BD-R Tilfeldig(RRM), BD-R] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Begrenset overskriving, Bytt lag, Tilfeldig opptak, Sekvensielt opptak , Sekvensielt opptak + POW] [%7] System ----------------------- K3b Version: 21.12.3 KDE Version: 5.90.0 Qt Version: 5.15.2 Kernel: 5.14.21-150400.24.33-default Used versions ----------------------- cdrecord: 3.2a09 cdrecord ----------------------- cdrecord: Insufficient 'file read' privileges. You will not be able to open all needed devices. cdrecord: Insufficient 'file write' privileges. You will not be able to open all needed devices. cdrecord: Insufficient 'device' privileges. You may not be able to send all needed SCSI commands, this my cause various unexplainable problems. cdrecord: Insufficient 'network' privileges. You will not be able to do remote SCSI. scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 SCSI buffer size: 64512 cdrecord: Warning: DMA resid 0 for 'read buffer', actual data is too short. cdrecord: Warning: The DMA speed test has been skipped. Cdrecord-ProDVD-ProBD-Clone 3.02a09 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2016 Joerg Schilling TOC Type: 1 = CD-ROM Using libscg version 'schily-0.9'. Driveropts: 'burnfree' atapi: 1 Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : 'HL-DT-ST' Identifikation : 'BD-RE BH10LS30 ' Revision : '1.02' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: BD-RE Profile: BD-ROM Profile: BD-R sequential recording Profile: BD-R random recording Profile: BD-RE (current) Profile: DVD-RAM Profile: DVD-R sequential recording Profile: DVD-R/DL sequential recording Profile: DVD-R/DL layer jump recording Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD+RW Profile: DVD+R Profile: DVD+R/DL Profile: DVD-ROM Profile: CD-R Profile: CD-RW Profile: CD-ROM Profile: Removable Disk (current) Using generic SCSI-3/mmc-3 BD-RE driver (mmc_bdre). Driver flags : NO-CD BD MMC-3 BURNFREE Supported modes: PACKET SAO LAYER_JUMP Drive buf size : 2031616 = 1984 KB Drive pbuf size: 3850240 = 3760 KB FIFO size : 4194304 = 4096 KB Track 01: data 2200 MB Total size: 2200 MB = 1126663 sectors Current Secsize: 2048 Trying to clear drive status. WARNING: Drive returns zero media size, correcting. Blocks total: 23652352 Blocks current: 23652352 Blocks remaining: 22525689 Reducing transfer size from 64512 to 32768 bytes. Starting to write CD/DVD/BD at speed 2 in real SAO mode for single session. Last chance to quit, starting real write in 3 seconds. 2 seconds. 1 seconds. 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. Starting new track at sector: 0 Track 02: 0 of 2200 MB written. Track 02: 1 of 2200 MB written (fifo 88%) 0,0x. Track 02: 2 of 2200 MB written (fifo 99%) [buf 50%] 0,1x. Track 02: 3 of 2200 MB written (fifo 96%) [buf 50%] 2,0x. Track 02: 4 of 2200 MB written (fifo 97%) [buf 50%] 0,6x. Track 02: 5 of 2200 MB written (fifo 99%) [buf 50%] 2,0x .......... snip ........ ........ Track 02: 6 of 2200 MB written (fifo 96%) [buf 50%] 0,6x. Track 02: 7 of 2200 MB written (fifo 98%) [buf 50%] 2,0x Track 02: 2199 of 2200 MB written (fifo 100%) [buf 50%] 2,0x. Track 02: 2200 of 2200 MB written (fifo 100%) [buf 50%] 0,6x. Track 02: Total bytes read/written: 2307405824/2307405824 (1126663 sectors). Writing time: 562.967s (00:09:22.967) Average write speed 0,9x. Min drive buffer fill was 50% Fixating... Fixating time: 2.046s (00:00:02.046) cdrecord: fifo had 70417 puts and 70417 gets. cdrecord: fifo was 0 times empty and 12961 times full, min fill was 77%. cdrecord command: ----------------------- /usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=2 -sao driveropts=burnfree -data -tsize=1126663s - =================================== terje@localhost:~> bd_info /dev/sr0 Using libbluray version 1.3.0 Volume Identifier : LinuxUDF BluRay detected : yes First Play supported: yes Top menu supported : yes HDMV titles : 1 BD-J titles : 0 UNSUPPORTED titles : 0 BD-J detected : no AACS detected : no BD+ detected : no Application info: initial mode preference : 2D 3D content exists : No video format : ignored (0x0) frame rate : ignored (0x0) initial dynamic range : SDR (0x0) provider data : ' ' No disc library metadata ======================== terje@localhost:~> bd_list_titles /dev/sr0 Main title: 1 index: 1 duration: 00:10:58 chapters: 4 angles: 1 clips: 1 (playlist: 00000.mpls) V:1 A:1 PG:0 IG:0 SV:0 SA:0 ========================= ffprobe -hide_banner bluray:/dev/sr0 [bluray @ 0x560bad897b80] 1 usable playlists: [bluray @ 0x560bad897b80] playlist 00000.mpls (0:10:58) [bluray @ 0x560bad897b80] selected 00000.mpls [mpegts @ 0x560bad898f80] probed stream 2 failed [mpegts @ 0x560bad898f80] stream 1 : no PTS found at end of file, duration not set bluray.c:300: 00000.m2ts: no timestamp for SPN 0 (got 0). clip 66600-29714400. [mpegts @ 0x560bad898f80] Could not find codec parameters for stream 2 (Unknown: none): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Input #0, mpegts, from 'bluray:/dev/sr0': Duration: 00:10:58.92, start: 1.440000, bitrate: 27912 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 25 fps, 25 tbr, 90k tbn Side data: cpb: bitrate max/min/avg: 25000000/0/0 buffer size: 7340032 vbv_delay: N/A Stream #0:1[0x1100]: Audio: pcm_bluray ([128][0][0][0] / 0x0080), 48000 Hz, stereo, s16, 1536 kb/s No Program Stream #0:2[0x1fff]: Unknown: none Unsupported codec with id 0 for input stream 2 =================== terje@localhost:~> udfinfo /dev/sr0 udfinfo: Warning: Device '/dev/sr0' is busy, udfinfo may report bogus information udfinfo: Warning: Second and third Anchor Volume Descriptor Pointer not found udfinfo: Warning: Logical Volume is in inconsistent state filename=/dev/sr0 label=LinuxUDF uuid=63890d51c6cae8fc lvid=LinuxUDF vid=LinuxUDF vsid=LinuxUDF fsid=LinuxUDF fullvsid=63890d51c6cae8fcLinuxUDF owner=Linux mkudffs 1.3 organization=Linux udftools 1.3 contact=https://github.com/pali/udftools/ appid=*Linux mkudffs impid=*Linux UDFFS winserialnum=0xd72b26b6 blocksize=2048 blocks=23652352 usedblocks=1122679 freeblocks=3453 behindblocks=22525690 numfiles=9 numdirs=24 udfrev=2.01 udfwriterev=2.01 integrity=opened accesstype=overwritable softwriteprotect=no hardwriteprotect=no start=16, blocks=3, type=VRS start=256, blocks=1, type=ANCHOR start=257, blocks=16, type=MVDS start=273, blocks=1, type=LVID start=274, blocks=1126132, type=PSPACE start=1126646, blocks=16, type=RVDS ################################# .
Den 06.12.2022 01:08, skrev Terje J. Hanssen:
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.
lsscsi | grep BD [5:0:0:0] cd/dvd HL-DT-ST BD-RE BH10LS30 1.02 /dev/sr0
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.
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.
To summarize and repeat procedure for this test case:
ffmpeg -i hdv01_m2t -c:v copy -c:a pcm_bluray -mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts # mkudffs -b 2048 /tmp/hdv01_m2t_pcm_bluray.udfs 1126663 # mount -o loop /tmp/hdv01_m2t_pcm_bluray.udfs /mnt/test # /home/terje/mountpoint/usr/bin/bdwrite /mnt/test hdv01_m2t_pcm_bluray.mts # umount /mnt/test
K3b: Burn CD-image, 2x speed (BD50-RE DL) image to burn; /tmp/hdv01_m2t_pcm_bluray.udfs (not recognizeable, but selece burn it anyway, 2-4x times) image type: Auto Burning program: cdrecord (warning to add the actual user to cdrom group) Start
A question before leaving some error/warning details from various tools output/log below:
Is it possible to get bdwrite to keep the original, multiple video clip names? In this case single clip: hdv01.mts
#####################################
K3b/cdrecord log: =================
Devices ----------------------- HL-DT-ST BD-RE BH10LS30 1.02 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, BD-ROM, BD-R, BD-R, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, Sekvensiell DVD-R, Sekvensiell tolags DVD-R, Bytt lag på tolags DVD-R, DVD-RAM, DVD-RW Begrenset overskriving, DVD-RW Sekvensiell, DVD+RW, DVD+R, Tolags DVD+R, CD-ROM, CD-R, CD-RW, BD-ROM, Sekvensiell DVD-R (SRM), BD-R Tilfeldig(RRM), BD-R] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Begrenset overskriving, Bytt lag, Tilfeldig opptak, Sekvensielt opptak , Sekvensielt opptak + POW] [%7]
System ----------------------- K3b Version: 21.12.3 KDE Version: 5.90.0 Qt Version: 5.15.2 Kernel: 5.14.21-150400.24.33-default
Used versions ----------------------- cdrecord: 3.2a09
cdrecord ----------------------- cdrecord: Insufficient 'file read' privileges. You will not be able to open all needed devices. cdrecord: Insufficient 'file write' privileges. You will not be able to open all needed devices. cdrecord: Insufficient 'device' privileges. You may not be able to send all needed SCSI commands, this my cause various unexplainable problems. cdrecord: Insufficient 'network' privileges. You will not be able to do remote SCSI. scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 SCSI buffer size: 64512 cdrecord: Warning: DMA resid 0 for 'read buffer', actual data is too short. cdrecord: Warning: The DMA speed test has been skipped. Cdrecord-ProDVD-ProBD-Clone 3.02a09 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2016 Joerg Schilling TOC Type: 1 = CD-ROM Using libscg version 'schily-0.9'. Driveropts: 'burnfree' atapi: 1 Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : 'HL-DT-ST' Identifikation : 'BD-RE BH10LS30 ' Revision : '1.02' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: BD-RE Profile: BD-ROM Profile: BD-R sequential recording Profile: BD-R random recording Profile: BD-RE (current) Profile: DVD-RAM Profile: DVD-R sequential recording Profile: DVD-R/DL sequential recording Profile: DVD-R/DL layer jump recording Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD+RW Profile: DVD+R Profile: DVD+R/DL Profile: DVD-ROM Profile: CD-R Profile: CD-RW Profile: CD-ROM Profile: Removable Disk (current) Using generic SCSI-3/mmc-3 BD-RE driver (mmc_bdre). Driver flags : NO-CD BD MMC-3 BURNFREE Supported modes: PACKET SAO LAYER_JUMP Drive buf size : 2031616 = 1984 KB Drive pbuf size: 3850240 = 3760 KB FIFO size : 4194304 = 4096 KB Track 01: data 2200 MB Total size: 2200 MB = 1126663 sectors Current Secsize: 2048 Trying to clear drive status. WARNING: Drive returns zero media size, correcting. Blocks total: 23652352 Blocks current: 23652352 Blocks remaining: 22525689 Reducing transfer size from 64512 to 32768 bytes. Starting to write CD/DVD/BD at speed 2 in real SAO mode for single session. Last chance to quit, starting real write in 3 seconds. 2 seconds. 1 seconds. 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. Starting new track at sector: 0 Track 02: 0 of 2200 MB written. Track 02: 1 of 2200 MB written (fifo 88%) 0,0x. Track 02: 2 of 2200 MB written (fifo 99%) [buf 50%] 0,1x. Track 02: 3 of 2200 MB written (fifo 96%) [buf 50%] 2,0x. Track 02: 4 of 2200 MB written (fifo 97%) [buf 50%] 0,6x. Track 02: 5 of 2200 MB written (fifo 99%) [buf 50%] 2,0x .......... snip ........ ........ Track 02: 6 of 2200 MB written (fifo 96%) [buf 50%] 0,6x. Track 02: 7 of 2200 MB written (fifo 98%) [buf 50%] 2,0x Track 02: 2199 of 2200 MB written (fifo 100%) [buf 50%] 2,0x. Track 02: 2200 of 2200 MB written (fifo 100%) [buf 50%] 0,6x. Track 02: Total bytes read/written: 2307405824/2307405824 (1126663 sectors). Writing time: 562.967s (00:09:22.967) Average write speed 0,9x. Min drive buffer fill was 50% Fixating... Fixating time: 2.046s (00:00:02.046) cdrecord: fifo had 70417 puts and 70417 gets. cdrecord: fifo was 0 times empty and 12961 times full, min fill was 77%.
cdrecord command: ----------------------- /usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=2 -sao driveropts=burnfree -data -tsize=1126663s -
===================================
terje@localhost:~> bd_info /dev/sr0 Using libbluray version 1.3.0 Volume Identifier : LinuxUDF BluRay detected : yes First Play supported: yes Top menu supported : yes HDMV titles : 1 BD-J titles : 0 UNSUPPORTED titles : 0
BD-J detected : no
AACS detected : no
BD+ detected : no
Application info: initial mode preference : 2D 3D content exists : No video format : ignored (0x0) frame rate : ignored (0x0) initial dynamic range : SDR (0x0) provider data : ' '
No disc library metadata
========================
terje@localhost:~> bd_list_titles /dev/sr0 Main title: 1 index: 1 duration: 00:10:58 chapters: 4 angles: 1 clips: 1 (playlist: 00000.mpls) V:1 A:1 PG:0 IG:0 SV:0 SA:0
=========================
ffprobe -hide_banner bluray:/dev/sr0 [bluray @ 0x560bad897b80] 1 usable playlists: [bluray @ 0x560bad897b80] playlist 00000.mpls (0:10:58) [bluray @ 0x560bad897b80] selected 00000.mpls [mpegts @ 0x560bad898f80] probed stream 2 failed [mpegts @ 0x560bad898f80] stream 1 : no PTS found at end of file, duration not set bluray.c:300: 00000.m2ts: no timestamp for SPN 0 (got 0). clip 66600-29714400. [mpegts @ 0x560bad898f80] Could not find codec parameters for stream 2 (Unknown: none): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Input #0, mpegts, from 'bluray:/dev/sr0': Duration: 00:10:58.92, start: 1.440000, bitrate: 27912 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 25 fps, 25 tbr, 90k tbn Side data: cpb: bitrate max/min/avg: 25000000/0/0 buffer size: 7340032 vbv_delay: N/A Stream #0:1[0x1100]: Audio: pcm_bluray ([128][0][0][0] / 0x0080), 48000 Hz, stereo, s16, 1536 kb/s No Program Stream #0:2[0x1fff]: Unknown: none Unsupported codec with id 0 for input stream 2
===================
terje@localhost:~> udfinfo /dev/sr0 udfinfo: Warning: Device '/dev/sr0' is busy, udfinfo may report bogus information udfinfo: Warning: Second and third Anchor Volume Descriptor Pointer not found udfinfo: Warning: Logical Volume is in inconsistent state filename=/dev/sr0 label=LinuxUDF uuid=63890d51c6cae8fc lvid=LinuxUDF vid=LinuxUDF vsid=LinuxUDF fsid=LinuxUDF fullvsid=63890d51c6cae8fcLinuxUDF owner=Linux mkudffs 1.3 organization=Linux udftools 1.3 contact=https://github.com/pali/udftools/ appid=*Linux mkudffs impid=*Linux UDFFS winserialnum=0xd72b26b6 blocksize=2048 blocks=23652352 usedblocks=1122679 freeblocks=3453 behindblocks=22525690 numfiles=9 numdirs=24 udfrev=2.01 udfwriterev=2.01 integrity=opened accesstype=overwritable softwriteprotect=no hardwriteprotect=no start=16, blocks=3, type=VRS start=256, blocks=1, type=ANCHOR start=257, blocks=16, type=MVDS start=273, blocks=1, type=LVID start=274, blocks=1126132, type=PSPACE start=1126646, blocks=16, type=RVDS
#################################
.
Sorry, the last mail to-day was sent by a mistake, when I should cleanup my email boxes. Den 06.12.2022 01:08, skrev Terje J. Hanssen:
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. .........snip
вт, 6 дек. 2022 г., 03:33 Terje J. Hanssen via Cin < [email protected]>:
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.
lsscsi | grep BD [5:0:0:0] cd/dvd HL-DT-ST BD-RE BH10LS30 1.02 /dev/sr0
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.
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.
To summarize and repeat procedure for this test case:
ffmpeg -i hdv01_m2t -c:v copy -c:a pcm_bluray -mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts # mkudffs -b 2048 /tmp/hdv01_m2t_pcm_bluray.udfs 1126663 # mount -o loop /tmp/hdv01_m2t_pcm_bluray.udfs /mnt/test # /home/terje/mountpoint/usr/bin/bdwrite /mnt/test hdv01_m2t_pcm_bluray.mts # umount /mnt/test
K3b: Burn CD-image, 2x speed (BD50-RE DL) image to burn; /tmp/hdv01_m2t_pcm_bluray.udfs (not recognizeable, but selece burn it anyway, 2-4x times) image type: Auto Burning program: cdrecord (warning to add the actual user to cdrom group) Start
A question before leaving some error/warning details from various tools output/log below:
Is it possible to get bdwrite to keep the original, multiple video clip names? In this case single clip: hdv01.mts
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 https://cinelerra-gg.org/download/CinelerraGG_Manual/Blu_ray_from_Multiple_C... not sure what will happen if you add like 20 titles this way - screen area will overflown by title names? Thanks for your experiments, hopefully Phyllis will update manual section before new year with new line about transcoding audio, while leaving video intact.
#####################################
K3b/cdrecord log: =================
Devices ----------------------- HL-DT-ST BD-RE BH10LS30 1.02 (/dev/sr0, CD-R, CD-RW, CD-ROM, DVD-ROM, DVD-R, DVD-RW, DVD-R DL, BD-ROM, BD-R, BD-R, DVD+R, DVD+RW, DVD+R DL) [DVD-ROM, Sekvensiell DVD-R, Sekvensiell tolags DVD-R, Bytt lag på tolags DVD-R, DVD-RAM, DVD-RW Begrenset overskriving, DVD-RW Sekvensiell, DVD+RW, DVD+R, Tolags DVD+R, CD-ROM, CD-R, CD-RW, BD-ROM, Sekvensiell DVD-R (SRM), BD-R Tilfeldig(RRM), BD-R] [SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Begrenset overskriving, Bytt lag, Tilfeldig opptak, Sekvensielt opptak , Sekvensielt opptak + POW] [%7]
System ----------------------- K3b Version: 21.12.3 KDE Version: 5.90.0 Qt Version: 5.15.2 Kernel: 5.14.21-150400.24.33-default
Used versions ----------------------- cdrecord: 3.2a09
cdrecord ----------------------- cdrecord: Insufficient 'file read' privileges. You will not be able to open all needed devices. cdrecord: Insufficient 'file write' privileges. You will not be able to open all needed devices. cdrecord: Insufficient 'device' privileges. You may not be able to send all needed SCSI commands, this my cause various unexplainable problems. cdrecord: Insufficient 'network' privileges. You will not be able to do remote SCSI. scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 Warning: Open by 'devname' is unintentional and not supported. Linux sg driver version: 3.5.27 SCSI buffer size: 64512 cdrecord: Warning: DMA resid 0 for 'read buffer', actual data is too short. cdrecord: Warning: The DMA speed test has been skipped. Cdrecord-ProDVD-ProBD-Clone 3.02a09 (x86_64-unknown-linux-gnu) Copyright (C) 1995-2016 Joerg Schilling TOC Type: 1 = CD-ROM Using libscg version 'schily-0.9'. Driveropts: 'burnfree' atapi: 1 Device type : Removable CD-ROM Version : 5 Response Format: 2 Capabilities : Vendor_info : 'HL-DT-ST' Identifikation : 'BD-RE BH10LS30 ' Revision : '1.02' Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM. Current: BD-RE Profile: BD-ROM Profile: BD-R sequential recording Profile: BD-R random recording Profile: BD-RE (current) Profile: DVD-RAM Profile: DVD-R sequential recording Profile: DVD-R/DL sequential recording Profile: DVD-R/DL layer jump recording Profile: DVD-RW sequential recording Profile: DVD-RW restricted overwrite Profile: DVD+RW Profile: DVD+R Profile: DVD+R/DL Profile: DVD-ROM Profile: CD-R Profile: CD-RW Profile: CD-ROM Profile: Removable Disk (current) Using generic SCSI-3/mmc-3 BD-RE driver (mmc_bdre). Driver flags : NO-CD BD MMC-3 BURNFREE Supported modes: PACKET SAO LAYER_JUMP Drive buf size : 2031616 = 1984 KB Drive pbuf size: 3850240 = 3760 KB FIFO size : 4194304 = 4096 KB Track 01: data 2200 MB Total size: 2200 MB = 1126663 sectors Current Secsize: 2048 Trying to clear drive status. WARNING: Drive returns zero media size, correcting. Blocks total: 23652352 Blocks current: 23652352 Blocks remaining: 22525689 Reducing transfer size from 64512 to 32768 bytes. Starting to write CD/DVD/BD at speed 2 in real SAO mode for single session. Last chance to quit, starting real write in 3 seconds. 2 seconds. 1 seconds. 0 seconds. Operation starts. Waiting for reader process to fill input buffer ... input buffer ready. Starting new track at sector: 0 Track 02: 0 of 2200 MB written. Track 02: 1 of 2200 MB written (fifo 88%) 0,0x. Track 02: 2 of 2200 MB written (fifo 99%) [buf 50%] 0,1x. Track 02: 3 of 2200 MB written (fifo 96%) [buf 50%] 2,0x. Track 02: 4 of 2200 MB written (fifo 97%) [buf 50%] 0,6x. Track 02: 5 of 2200 MB written (fifo 99%) [buf 50%] 2,0x .......... snip ........ ........ Track 02: 6 of 2200 MB written (fifo 96%) [buf 50%] 0,6x. Track 02: 7 of 2200 MB written (fifo 98%) [buf 50%] 2,0x Track 02: 2199 of 2200 MB written (fifo 100%) [buf 50%] 2,0x. Track 02: 2200 of 2200 MB written (fifo 100%) [buf 50%] 0,6x. Track 02: Total bytes read/written: 2307405824/2307405824 (1126663 sectors). Writing time: 562.967s (00:09:22.967) Average write speed 0,9x. Min drive buffer fill was 50% Fixating... Fixating time: 2.046s (00:00:02.046) cdrecord: fifo had 70417 puts and 70417 gets. cdrecord: fifo was 0 times empty and 12961 times full, min fill was 77%.
cdrecord command: ----------------------- /usr/bin/cdrecord -v gracetime=2 dev=/dev/sr0 speed=2 -sao driveropts=burnfree -data -tsize=1126663s -
===================================
terje@localhost:~> bd_info /dev/sr0 Using libbluray version 1.3.0 Volume Identifier : LinuxUDF BluRay detected : yes First Play supported: yes Top menu supported : yes HDMV titles : 1 BD-J titles : 0 UNSUPPORTED titles : 0
BD-J detected : no
AACS detected : no
BD+ detected : no
Application info: initial mode preference : 2D 3D content exists : No video format : ignored (0x0) frame rate : ignored (0x0) initial dynamic range : SDR (0x0) provider data : ' '
No disc library metadata
========================
terje@localhost:~> bd_list_titles /dev/sr0 Main title: 1 index: 1 duration: 00:10:58 chapters: 4 angles: 1 clips: 1 (playlist: 00000.mpls) V:1 A:1 PG:0 IG:0 SV:0 SA:0
=========================
ffprobe -hide_banner bluray:/dev/sr0 [bluray @ 0x560bad897b80] 1 usable playlists: [bluray @ 0x560bad897b80] playlist 00000.mpls (0:10:58) [bluray @ 0x560bad897b80] selected 00000.mpls [mpegts @ 0x560bad898f80] probed stream 2 failed [mpegts @ 0x560bad898f80] stream 1 : no PTS found at end of file, duration not set bluray.c:300: 00000.m2ts: no timestamp for SPN 0 (got 0). clip 66600-29714400. [mpegts @ 0x560bad898f80] Could not find codec parameters for stream 2 (Unknown: none): unknown codec Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options Input #0, mpegts, from 'bluray:/dev/sr0': Duration: 00:10:58.92, start: 1.440000, bitrate: 27912 kb/s Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x1011]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 25 fps, 25 tbr, 90k tbn Side data: cpb: bitrate max/min/avg: 25000000/0/0 buffer size: 7340032 vbv_delay: N/A Stream #0:1[0x1100]: Audio: pcm_bluray ([128][0][0][0] / 0x0080), 48000 Hz, stereo, s16, 1536 kb/s No Program Stream #0:2[0x1fff]: Unknown: none Unsupported codec with id 0 for input stream 2
===================
terje@localhost:~> udfinfo /dev/sr0 udfinfo: Warning: Device '/dev/sr0' is busy, udfinfo may report bogus information udfinfo: Warning: Second and third Anchor Volume Descriptor Pointer not found udfinfo: Warning: Logical Volume is in inconsistent state filename=/dev/sr0 label=LinuxUDF uuid=63890d51c6cae8fc lvid=LinuxUDF vid=LinuxUDF vsid=LinuxUDF fsid=LinuxUDF fullvsid=63890d51c6cae8fcLinuxUDF owner=Linux mkudffs 1.3 organization=Linux udftools 1.3 contact=https://github.com/pali/udftools/ appid=*Linux mkudffs impid=*Linux UDFFS winserialnum=0xd72b26b6 blocksize=2048 blocks=23652352 usedblocks=1122679 freeblocks=3453 behindblocks=22525690 numfiles=9 numdirs=24 udfrev=2.01 udfwriterev=2.01 integrity=opened accesstype=overwritable softwriteprotect=no hardwriteprotect=no start=16, blocks=3, type=VRS start=256, blocks=1, type=ANCHOR start=257, blocks=16, type=MVDS start=273, blocks=1, type=LVID start=274, blocks=1126132, type=PSPACE start=1126646, blocks=16, type=RVDS
#################################
.
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Den 06.12.2022 16:39, skrev Andrew Randrianasulu:
вт, 6 дек. 2022 г., 03:33 Terje J. Hanssen via Cin <[email protected]>:
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.
lsscsi | grep BD [5:0:0:0] cd/dvd HL-DT-ST BD-RE BH10LS30 1.02 /dev/sr0
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.
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.
To summarize and repeat procedure for this test case:
> ffmpeg -i hdv01_m2t -c:v copy -c:a pcm_bluray -mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts # mkudffs -b 2048 /tmp/hdv01_m2t_pcm_bluray.udfs 1126663 # mount -o loop /tmp/hdv01_m2t_pcm_bluray.udfs /mnt/test # /home/terje/mountpoint/usr/bin/bdwrite /mnt/test hdv01_m2t_pcm_bluray.mts # umount /mnt/test
K3b: Burn CD-image, 2x speed (BD50-RE DL) image to burn; /tmp/hdv01_m2t_pcm_bluray.udfs (not recognizeable, but selece burn it anyway, 2-4x times) image type: Auto Burning program: cdrecord (warning to add the actual user to cdrom group) Start
A question before leaving some error/warning details from various tools output/log below:
Is it possible to get bdwrite to keep the original, multiple video clip names? In this case single clip: hdv01.mts
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
https://cinelerra-gg.org/download/CinelerraGG_Manual/Blu_ray_from_Multiple_C...
not sure what will happen if you add like 20 titles this way - screen area will overflown by title names?
Yes, there is something to explore. The manual sample screen seems to be selectable human info titles that points to the clips. To be sure we talk about the same thing, I will detail this sample case a bit. The Blu-ray video disc's root directory contains the following tree structure: terje@localhost:/run/media/terje/LinuxUDF> ls BDMV CERTIFICATE terje@localhost:/run/media/terje/LinuxUDF> tree -h BDMV BDMV ├── [ 40] AUXDATA ├── [ 332] BACKUP │ ├── [ 40] BDJO │ ├── [ 92] CLIPINF │ │ └── [7.3K] 00000.clpi │ ├── [ 124] index.bdmv │ ├── [ 40] JAR │ ├── [ 110] MovieObject.bdmv │ └── [ 92] PLAYLIST │ └── [ 212] 00000.mpls ├── [ 40] BDJO ├── [ 92] CLIPINF │ └── [7.3K] 00000.clpi ├── [ 124] index.bdmv ├── [ 40] JAR ├── [ 40] META ├── [ 110] MovieObject.bdmv ├── [ 92] PLAYLIST │ └── [ 212] 00000.mpls └── [ 92] STREAM └── [2.1G] 00000.m2ts 12 directories, 9 files The last line contains the video itself with file name '00000.m2ts' This corresponds to my single video clip 'hdv01_m2t_pcm_bluray.mts' from bdwrite /mnt/test hdv01_m2t_pcm_bluray.mts 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. 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: /video/DV> du -h dv01* dv02* 2,0G dv01.dv 2,0G dv01_01.dv 2,0G dv01_02.dv 2,0G dv01_03.dv 2,0G dv01_04.dv 2,0G dv01_05.dv 2,0G dv01_06.dv 389M dv01_07.dv 2,0G dv02.dv 2,0G dv02_01.dv 2,0G dv02_02.dv 2,0G dv02_03.dv 2,0G dv02_04.dv 2,0G dv02_05.dv 505M dv02_06.dv It is these clip names it would be practical (due to archive register) to keep also on the playbackable, source Blu-ray video discs? Beside additional clip info/titles could be useful.
Thanks for your experiments, hopefully Phyllis will update manual section before new year with new line about transcoding audio, while leaving video intact.
The very first procedure line above had a minor syntax typo in the input file:
ffmpeg -i hdv01.m2t -c:v copy -c:a pcm_bluray -mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts
It should be noted that ffmpeg-5 with pcm_bluray encoder is required here (therefore I used Tumbleweed just for this) Else I suggest that the # comments in the manual should be kept to explain what happends. And also how the mkudffs size was calculated.
#####################################
вт, 6 дек. 2022 г., 23:41 Terje J. Hanssen <[email protected]>:
Den 06.12.2022 16:39, skrev Andrew Randrianasulu:
вт, 6 дек. 2022 г., 03:33 Terje J. Hanssen via Cin < [email protected]>:
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.
lsscsi | grep BD [5:0:0:0] cd/dvd HL-DT-ST BD-RE BH10LS30 1.02 /dev/sr0
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.
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.
To summarize and repeat procedure for this test case:
ffmpeg -i hdv01_m2t -c:v copy -c:a pcm_bluray -mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts # mkudffs -b 2048 /tmp/hdv01_m2t_pcm_bluray.udfs 1126663 # mount -o loop /tmp/hdv01_m2t_pcm_bluray.udfs /mnt/test # /home/terje/mountpoint/usr/bin/bdwrite /mnt/test hdv01_m2t_pcm_bluray.mts # umount /mnt/test
K3b: Burn CD-image, 2x speed (BD50-RE DL) image to burn; /tmp/hdv01_m2t_pcm_bluray.udfs (not recognizeable, but selece burn it anyway, 2-4x times) image type: Auto Burning program: cdrecord (warning to add the actual user to cdrom group) Start
A question before leaving some error/warning details from various tools output/log below:
Is it possible to get bdwrite to keep the original, multiple video clip names? In this case single clip: hdv01.mts
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
https://cinelerra-gg.org/download/CinelerraGG_Manual/Blu_ray_from_Multiple_C...
not sure what will happen if you add like 20 titles this way - screen area will overflown by title names?
Yes, there is something to explore. The manual sample screen seems to be selectable human info titles that points to the clips.
To be sure we talk about the same thing, I will detail this sample case a bit.
The Blu-ray video disc's root directory contains the following tree structure:
terje@localhost:/run/media/terje/LinuxUDF> ls BDMV CERTIFICATE
terje@localhost:/run/media/terje/LinuxUDF> tree -h BDMV BDMV ├── [ 40] AUXDATA ├── [ 332] BACKUP │ ├── [ 40] BDJO │ ├── [ 92] CLIPINF │ │ └── [7.3K] 00000.clpi │ ├── [ 124] index.bdmv │ ├── [ 40] JAR │ ├── [ 110] MovieObject.bdmv │ └── [ 92] PLAYLIST │ └── [ 212] 00000.mpls ├── [ 40] BDJO ├── [ 92] CLIPINF │ └── [7.3K] 00000.clpi ├── [ 124] index.bdmv ├── [ 40] JAR ├── [ 40] META ├── [ 110] MovieObject.bdmv ├── [ 92] PLAYLIST │ └── [ 212] 00000.mpls └── [ 92] STREAM └── [2.1G] 00000.m2ts
12 directories, 9 files
The last line contains the video itself with file name '00000.m2ts' This corresponds to my single video clip 'hdv01_m2t_pcm_bluray.mts' from bdwrite /mnt/test hdv01_m2t_pcm_bluray.mts
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.
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:
/video/DV> du -h dv01* dv02* 2,0G dv01.dv 2,0G dv01_01.dv 2,0G dv01_02.dv 2,0G dv01_03.dv 2,0G dv01_04.dv 2,0G dv01_05.dv 2,0G dv01_06.dv 389M dv01_07.dv
2,0G dv02.dv 2,0G dv02_01.dv 2,0G dv02_02.dv 2,0G dv02_03.dv 2,0G dv02_04.dv 2,0G dv02_05.dv 505M dv02_06.dv
It is these clip names it would be practical (due to archive register) to keep also on the playbackable, source Blu-ray video discs?
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 ... I guess modern BD players still can show you arbitrary filenames to pick and choose but not as part of BD playback... may be you can extract/write some metadata and stuff it as subtitle layer ? (via tsmuxer). 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. 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) (0) - https://github.com/justdan96/tsMuxer/issues/606 Beside additional clip info/titles could be useful.
Thanks for your experiments, hopefully Phyllis will update manual section before new year with new line about transcoding audio, while leaving video intact.
The very first procedure line above had a minor syntax typo in the input file:
ffmpeg -i hdv01.m2t -c:v copy -c:a pcm_bluray -mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts
It should be noted that ffmpeg-5 with pcm_bluray encoder is required here (therefore I used Tumbleweed just for this)
Else I suggest that the # comments in the manual should be kept to explain what happends. And also how the mkudffs size was calculated.
#####################################
Working on bluray updated information and potential changes as I finally got my bluray burner working again.
Else I suggest that the # comments in the manual should be kept to explain what happends.
I am not sure what the above is referring to. It sounds like "the # comments should be kept" means "no changes"? If my interpretation is incorrect, please provide detailed information so I do not miss something. And also how the mkudffs size was calculated.
I have included the actual calculation in section 14 (not checked into GIT yet) after the initial mention of mkudffs in the lines:
it creates an empty filesystem image <target>/bd.udfs using mkudffs which makes a big hole for the filesystem data. The hole is made just a little bigger than the data written by bdwrite...
Added line is: "The actual calculation for the mkudffs size is yourfile.m2ts size-in-bytes/2048 + 4096." In section 14.6, the calculation was already in the manual as:
du -sb /yourHDVfile.MTS # Determine the size of your file in bytes. blocks=((size-in-bytes/2048 + 4096)) # Convert bytes into blocks + a little more. mkudffs /tmp/newfilename.udfs blocks # Create a file with that \# of blocks + some extra.
Den 09.12.2022 19:57, skrev Phyllis Smith:
Working on bluray updated information and potential changes as I finally got my bluray burner working again.
Else I suggest that the # comments in the manual should be kept to explain what happends.
I am not sure what the above is referring to. It sounds like "the # comments should be kept" means "no changes"? If my interpretation is incorrect, please provide detailed information so I do not miss something.
And also how the mkudffs size was calculated.
I have included the actual calculation in section 14 (not checked into GIT yet) after the initial mention of mkudffs in the lines:
it creates an emptyfilesystem image <target>/bd.udfs using mkudffs which makes a big hole forthe filesystem data. The hole is made just a little bigger than the data writtenby bdwrite...
Added line is: "The actual calculation for the mkudffs size is yourfile.m2ts size-in-bytes/2048 + 4096." In section 14.6, the calculation was already in the manual as:
du -sb /yourHDVfile.MTS # Determine the size of your file in bytes. blocks=((size-in-bytes/2048 + 4096)) # Convert bytes into blocks + a little more. mkudffs /tmp/newfilename.udfs blocks # Create a file with that \# of blocks + some extra.
@ Phyllis Yeah, my notices were more reminders - and not actually meant as manual text. I would suggest to make three sections in the manual - reflecting each common, legacy tape-based and current file based digital camcorder format. 1. DV to SD-Blu-ray video (re-encoding video to mpeg2, re-encoding DV LPCM audio to Blu-ray LPCM) 2. HDV to Blu-ray video (copying mpeg2 video, re-encoding MP2 audio to LPCM or AC-3) 3. AVCHD to Blu-ray video (copying H.264 video and AC-3 audio) At least 1 and 2 bdwrite to create the udfs image to burn. And as most users nowadays are expected to install Cin-GG from Appimage, it will need an intro section how to enable bdwrite by mounting it from the Appimage. I can help to suggest/edit/reading manual texts for 1 and 2 - with the format I have tested. Possibly we should not stress to get it finished this month(?) And possibly we three should email this process directly outside the mailing list, or just post the finished text, you decide?
As recommended by Andrew, I have checked into the GIT for the Manual a new line about Audio transcode. And a new line about calculating mkudffs size as Terje requested.
Thanks for your experiments, hopefully Phyllis will update manual section before new year with new line about transcoding audio, while leaving video intact.
Den 10.12.2022 23:29, skrev Phyllis Smith:
As recommended by Andrew, I have checked into the GIT for the Manual a new line about Audio transcode. And a new line about calculating mkudffs size as Terje requested.
Thanks for your experiments, hopefully Phyllis will update manual section before new year with new line about transcoding audio, while leaving video intact.
IMO that seems good so far. Just to mention I've also got succesful burning to BD-RE disc with dd. A 'New Year’s resolutions' could be to clean up the manual's section heading and beginning text, to take care of differences between HDV vs AVCHD, No wonder that this can be confusing, and I truly also earlier referred to wikipedia's "For consumer use, HDV-sourced video can be delivered on a Blu-ray Disc without re-encoding" https://en.wikipedia.org/wiki/HDV#Distributing http://www.differencebetween.net/technology/difference-between-hdv-and-avchd... And, an alternative could be a GUI optional route, typical using tsMuxer and K3b burning on Linux, which would be comparable to this good, old "Basic Guide for HDV to Blu-Ray" (on Windows) https://forum.videohelp.com/threads/284836-Basic-Guide-for-HDV-to-Blu-Ray
Den 11.12.2022 14:45, skrev Terje J. Hanssen:
Den 10.12.2022 23:29, skrev Phyllis Smith:
As recommended by Andrew, I have checked into the GIT for the Manual a new line about Audio transcode. And a new line about calculating mkudffs size as Terje requested.
Thanks for your experiments, hopefully Phyllis will update manual section before new year with new line about transcoding audio, while leaving video intact.
IMO that seems good so far. Just to mention I've also got succesful burning to BD-RE disc with dd.
A 'New Year’s resolutions' could be to clean up the manual's section heading and beginning text, to take care of differences between HDV vs AVCHD, No wonder that this can be confusing, and I truly also earlier referred to wikipedia's "For consumer use, HDV-sourced video can be delivered on a Blu-ray Disc without re-encoding" https://en.wikipedia.org/wiki/HDV#Distributing http://www.differencebetween.net/technology/difference-between-hdv-and-avchd...
And, an alternative could be a GUI optional route, typical using tsMuxer and K3b burning on Linux, which would be comparable to this good, old "Basic Guide for HDV to Blu-Ray" (on Windows) https://forum.videohelp.com/threads/284836-Basic-Guide-for-HDV-to-Blu-Ray
And here are the test case steps as a quickstart guide for the latter (I have also tsMuxer and K3b screen shots that may be added): 1. Source HDV input video file: hdv01.m2t 2. Copy MPEG-2 video and transcode MP2 audio to Blu-ray LPCM and remux to mts ffmpeg -i hdv01.m2t -c:v copy -c:a pcm_bluray -mpegts_m2ts_mode 1 hdv01_m2t_pcm_bluray.mts 3. Use tsMuxer to remux the mts file and create a Blu-ray ISO file with Blu-ray video standard UDF 2.50 Input file: /home/terje/Videoklipp/hdv01_m2t_pcm_bluray.mts Output selected: * Blu-ray ISO File name: /home/terje/Videoklipp/hdv01_m2t_pcm_bluray.iso Start Muxing It takes just 5 sec to remux and finish the blu-ray iso ready for burning Verify file sizes du -sh hdv01* 2,0G hdv01.m2t 2,2G hdv01_m2t_pcm_bluray.mts 2,2G hdv01_m2t_pcm_bluray.iso 4. Burn the ISO to BD-RE disc K3b/Cdrecord: K3b: Tools menu > Burn CD-image (!) - Type of image file is not recognizable. Do you want to burn it anyway? Yes (repeated twice) Select image to burn: /tmp/hdv01_m2t_pcm_bluray.udfs - Type of image file is not recognizable. Do you want to burn it anyway? Yes (repeated twice) Burn medium (found): Complete data BD-R Verify image type: Auto recognize Select burning Speed: 2x (for BD50-RE DL) Select Burning program: cdrecord Velg navn på plate (hovedbilde, evt. prosjekt): hdv01_m2t_pcm_bluray Start 5. Verify the burned disc safe compliance with Blu-ray video standard UDF 2.5 udfinfo /dev/sr0 | grep udf udfinfo: Warning: Device '/dev/sr0' is busy, udfinfo may report bogus information udfinfo: Warning: Second and third Anchor Volume Descriptor Pointer not found udfrev=2.50 udfwriterev=2.50 ================================ tsMuxer background ================== [Cin] tsmuxer udf 2.50 fixes landed (Dec 2021) https://www.mail-archive.com/[email protected]/msg03687.html Installed package on Leap 15.4 from Open Build Service (OBS) zypper se -is tsmuxer S | Name | Type | Version | Arch | Repository ---+---------+-------+-----------------------------------------+--------+----------- i+ | tsMuxer | pakke | 2.6.16git.1613150560.a50c2c5-lp154.17.4 | x86_64 | 15.4 Package content rpm -ql tsMuxer /usr/bin/tsMuxerGUI /usr/bin/tsmuxer /usr/share/applications/tsMuxerGUI.desktop /usr/share/doc/packages/tsMuxer /usr/share/doc/packages/tsMuxer/README.md /usr/share/icons/hicolor/128x128/apps/tsMuxerGUI.png /usr/share/licenses/tsMuxer /usr/share/licenses/tsMuxer/LICENSE ================= Overview from tsMuxerGUI startup window ===================== About> tsMuxeR – the software utility to create TS and M2TS files for IP broadcasting as well as for viewing at hardware video players (i.e., Dune HD Ultra, Sony Playstation3, Samsung Smart TV and others). tsMuxeR is open source. Supported incoming formats: TS; M2TS; SIFF; MOV; MP4; MKV; Blu-ray; Demux option. Supported videocodecs: H.264/MVC H.265/HEVC; Microsoft VC-1; MPEG-2. Supported audiocodecs: AAC; AC3 / E-AC3(DD+); Dolby True HD (for streams with AC3 core only); DTS/ DTS-HD; LPCM. Supported subtitle types: M2TS Presentation graphic stream. SRT text subtitles Supported containers and formats: Elementary stream; Transport stream TS and M2TS; Program stream EVO/VOB/MPG; Matroska MKV/MKA. MP4/MOV. Main features: 3D Blu-ray support; UHD, HDR10, HDR10+ and Dolby Vision support; Automatic or manual fps adjustment while mixing; Level changing as well as SEI, SPS/PPS elements and NAL unit delimiter cycle insertion while mixing H.264; Audio tracks and subtitles time shifting; Ability to extract DTS core from DTS-HD; Ability to extract AC3 core from True-HD; Ability to join files; Ability to adjust fps for subtitles; Ability to convert LPCM streams into WAVE and vice versa; Track language information injection into blu-ray structure and TS header; Ability to cut source files; Ability to split output file; Ability to detect audio delay for TS/M2TS/MPG/VOB/EVO sources; Ability to remove pulldown info from stream; Ability to open Blu-ray playlist (MPLS) files; Ability to convert SRT subtitles to PGS; Tags for SRT subtitles support - tags for changing font, color, size, etc.; tag's syntax is similar to HTML; United cross-platform GUI - Windows, Linux, MacOS.
participants (3)
-
Andrew Randrianasulu -
Phyllis Smith -
Terje J. Hanssen