Den 24.11.2021 21:37, skrev Andrew Randrianasulu:
On Wednesday, November 24, 2021, Terje J. Hanssen <[email protected] <mailto:[email protected]>> wrote:
Finally preparing the source HDV.M2T MPEG-2 media in a blu-ray M2TS format format with E-AC3 audio.
ffmpeg -i 20081103140154.m2t -c:a eac3 -c:v copy 20081103140154_m2t-eac3.m2ts
ffmpeg -i 20081103140154_m2t-eac3.m2ts 2>&1 >/dev/null | egrep "Audio|Video"
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, 50 tbc Stream #0:1[0x1100]: Audio: eac3 (EAC3 / 0x33434145), 48000 Hz, stereo, fltp, 192 kb/s
===============
Trying to follow the manual's 7 procedure steps to create the Blu-ray structure and burn it to a DVD+RW disc (with root access): # My comments and questions included.
1. du -sb /yourHDVfile.MTS
cd /video/HDV-M2T
du -sb 20081103140154_m2t-eac3.m2ts 44261376 20081103140154_m2t-eac3.m2ts
----------
2. blocks=((size-in-bytes/2048 + 4096))
blocks=((44261376/2042 + 4096)) = 25700
----------
3. mkudffs /tmp/newfilename.udfs blocks
zypper in udftools
mkudffs /tmp/BD_HDV_20081103140154_m2t-eac3_m2ts.udfs 25700
filename=/tmp/BD_HDV_20081103140154_m2t-eac3_m2ts.udfs label=LinuxUDF uuid=619e6f69a6e71b03 blocksize=2048 blocks=25700 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=25169, type=PSPACE start=25443, blocks=1, type=ANCHOR start=25444, blocks=239, type=USPACE start=25683, blocks=16, type=RVDS start=25699, blocks=1, type=ANCHOR
-------------
4. mount -o loop /tmp/newfilename.udfs /mntX
mkdir /mntX
mount -o loop /tmp/BD_HDV_20081103140154_m2t-eac3_m2ts.udfs /mntX
-----------
5. /<cinelerra_installed_path>/bin/bdwrite /mntX /tmp/yourHDVfile.MTS
which bdwrite /usr/bin/bdwrite
bdwrite /mntX /tmp/20081103140154_m2t-eac3.m2ts cant scan media: /tmp/20081103140154_m2t-eac3.m2ts
# Something wrong here with the procedure or my command syntax? " # I'm confused regarding "/mntX /tmp/yourHDVfile.MTS": my HDV.M2TS file is in the current /video/HDV-M2T ?
yeah, sounds like unclear manual assuming your video file also in /tmp, try same steps but with next line you tried first (or delete already written stuff from /mntX before next try)
Just to add, I have several DVD and BD discs with video written earlier using various tools, CinGG/bdwrite, K3b and NeroLinux, but probably none using just this procedure for HDV: I repeat and continue from step using a blank DVD+RW disc: bdwrite /mntX 20081103140154_m2t-eac3.m2ts tree -h /mntX /mntX ├── [ 520] BDMV │ ├── [ 40] AUXDATA │ ├── [ 332] BACKUP │ │ ├── [ 40] BDJO │ │ ├── [ 92] CLIPINF │ │ │ └── [ 480] 00000.clpi │ │ ├── [ 40] JAR │ │ ├── [ 110] MovieObject.bdmv │ │ ├── [ 92] PLAYLIST │ │ │ └── [ 184] 00000.mpls │ │ └── [ 124] index.bdmv │ ├── [ 40] BDJO │ ├── [ 92] CLIPINF │ │ └── [ 480] 00000.clpi │ ├── [ 40] JAR │ ├── [ 40] META │ ├── [ 110] MovieObject.bdmv │ ├── [ 92] PLAYLIST │ │ └── [ 184] 00000.mpls │ ├── [ 92] STREAM │ │ └── [ 42M] 00000.m2ts │ └── [ 124] index.bdmv └── [ 272] CERTIFICATE ├── [ 224] BACKUP │ ├── [ 40] BDJO │ ├── [ 40] CLIPINF │ ├── [ 40] JAR │ └── [ 40] PLAYLIST ├── [ 40] BDJO ├── [ 40] CLIPINF ├── [ 40] JAR └── [ 40] PLAYLIST 23 directories, 9 files umount /mntX dd if=/tmp/BD_HDV_20081103140154_m2t-eac3_m2ts.udfs of=/dev/sr0 bs=2048000 dd: error writing '/dev/sr0': No space left on device 1+0 records in 0+0 records out 2048 bytes (2.0 kB, 2.0 KiB) copied, 0.0797526 s, 25.7 kB/s # dd: error writing '/dev/sr0': No space left on device # Is there something in the dd command that prerequisite a BD size disc: bs=2048000 # If so, what should it be for a 4.7 GB DVD+RW? # Is it possible to blank out the empty structures written to DVD+RW, in case it require a blank disc? Terje J. H ;