[Cin] EXPERIMENTAL: blu-ray lpcm profile + gui

Terje J. Hanssen terjejhanssen at gmail.com
Tue Dec 21 03:37:22 CET 2021



Den 20.12.2021 23:33, skrev Phyllis Smith via Cin:
> *Terje*,
> I have created at AppImage for early testing:
> https://cinelerra-gg.org/download/testing/cin_bluray_lpcm_test.AppImage 
> <https://cinelerra-gg.org/download/testing/cin_bluray_lpcm_test.AppImage>

What a surprise and service, and the Appimage installed nicely ):

> *Andrew*,
> I downloaded the latest GIT to start fresh and then ONLY added these 
> 11 patches in numerical order.
> When I did just a quick/simple test of the default "Profile" of 
> bluray.m2ts, it seemed to work but I have not yet done thorough testing.
> Using "Profile" of blurary_lpcm.m2ts, I still get the same error 
> previously reported of no bluray_lpcm but I still have not looked at why.

=====================

Here follows my first test which looks well until I should burn the 
BD-RE disc:

     cd /data/Video-test/SD_Blu-ray
     du -sh dv28.dv
     470M    dv28.dv

I loaded the PAL SD "dv28.dv" into Cin-GG and then BD-render:
     Cin Warning: Must be root to mount UDFS Images [X]
     Create BD - Title /tmp/bd_20211221-012516

     Checked Audio and Video, then Video Wrench:
     Profile:   bluray-LPCM.m2ts
     Format:    720x576
     Media:     50 GB
     Scale:     None (default)
     <Start>

Cin-GG closed after rendering

---------------

     cd /tmp
     du -sh bd_2021*
     16K    bd_20211221-011423
     202M    bd_20211221-012516

     tree -h bd_2021*

     bd_20211221-011423
     ├── [2.0K]  bd.jobs
     └── [5.9K]  bd.xml

     bd_20211221-012516
     ├── [2.0K]  bd.jobs
     ├── [201M]  bd.m2ts
     ├── [ 525]  bd.sh
     ├── [5.9K]  bd.xml
     └── [4.0K]  udfs

What surprised me a bit, the first tree?

Tested the bd.m2ts with VLC and the video and LPCM audio worked fine.

avprobe bd_20211221-012516/bd.m2ts
avprobe version 12.3, Copyright (c) 2007-2018 the Libav developers
   built on Mar 26 2018 12:39 with gcc 7 (SUSE Linux)
[AVBSFContext @ 0x5633b8ea1c40] Invalid NAL unit 0, skipping.
Input #0, mpegts, from 'bd_20211221-012516/bd.m2ts':
   Duration: 00:02:16.64, start: 0.080000, bitrate: 12357 kb/s
   Program 1
     Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] / 0x001B), 
yuv420p(tv, bt709, bottom first), 720x576 [SAR 1:1 DAR 5:4], 25 fps, 25 
tbr, 90k tbn, 50 tbc
     Stream #0:1[0x1100](und): Audio: pcm_bluray ([128][0][0][0] / 
0x0080), 48000 Hz, stereo, s16, 1536 kb/s

===========

mediainfo bd_2021*
General
Complete name                            : bd_20211221-011423/bd.jobs
File size                                : 1.95 KiB
--------

General
Complete name                            : bd_20211221-011423/bd.xml
File size                                : 5.89 KiB

General
Complete name                            : bd_20211221-012516/bd.jobs
File size                                : 1.95 KiB

General
ID                                       : 1 (0x1)
Complete name                            : bd_20211221-012516/bd.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 201 MiB
Duration                                 : 2 min 15 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 12.4 Mb/s

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High at L4.1
Format settings                          : CABAC / 3 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 3 frames
Codec ID                                 : 27
Duration                                 : 2 min 16 s
Bit rate mode                            : Variable
Bit rate                                 : 10 000 kb/s
Maximum bit rate                         : 40.0 Mb/s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 5:4
Frame rate                               : 25.000 FPS
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : MBAFF
Scan type, store method                  : Interleaved fields
Scan order                               : Bottom Field First
Bits/(Pixel*Frame)                       : 0.965
Stream size                              : 168 MiB (84%)
Writing library                          : x264 core 164
Encoding settings                        : cabac=1 / ref=3 / 
deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / 
psy_rd=1.00:0.00 / mixed_ref=1 / me_range=8 / chroma_me=1 / trellis=1 / 
8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / 
threads=12 / lookahead_threads=2 / sliced_threads=0 / slices=4 / nr=0 / 
decimate=1 / interlaced=bff / bluray_compat=1 / constrained_intra=0 / 
bframes=2 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / 
open_gop=0 / weightp=0 / keyint=25 / keyint_min=1 / scenecut=40 / 
intra_refresh=0 / rc_lookahead=25 / rc=abr / mbtree=1 / bitrate=10000 / 
ratetol=1.0 / qcomp=0.60 / qpmin=3 / qpmax=33 / qpstep=4 / 
vbv_maxrate=40000 / vbv_bufsize=30000 / nal_hrd=vbr / filler=0 / 
ip_ratio=1.40 / aq=1:1.00
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : PCM
Format settings                          : Big / Signed
Muxing mode                              : Blu-ray
Codec ID                                 : 128
Duration                                 : 2 min 16 s
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits
Stream size                              : 25.0 MiB (12%)

General
Complete name                            : bd_20211221-012516/bd.sh
File size                                : 525 Bytes

General
Complete name                            : bd_20211221-012516/bd.xml
File size                                : 5.89 KiB

=======================


The latest times I've burned BD_image.iso tp discs with K3b after 
creating iso's with tsMuxer.

As this time it was BD structures I tried to follow the manual section
https://cinelerra-gg.org/download/CinelerraGG_Manual/DVD_Bluray_Creation.html

9.Load your media, format if needed, note device name to substitute for 
<bd> or <dvd>
     If rewritable blu-ray, use
     dd if=./bd.udfs of=/dev/<bd> bs=2048000

Entered the new BD50-RE disc into the blu-ray burner and entered

     dd if=./bd.udfs of=/dev/sr0 bs=2048000
     dd: failed to open './bd.udfs': No such file or directory

Tried this also with root access with the same failure.
Looks for me as './bd.udfs' is missing and not created yet.

Searched the manual and did't remember how and where 
(mounting/unmounting?) this step was executed??

==============

>
> On Mon, Dec 20, 2021 at 12:26 PM Terje J. Hanssen via Cin 
> <cin at lists.cinelerra-gg.org <mailto:cin at lists.cinelerra-gg.org>> wrote:
>
>
>
>     Den 17.12.2021 04:51, skrev Andrew Randrianasulu via Cin:
>     > well, me and gui not quite get along... (see new layout of
>     'create bd'
>     > window..)
>     >
>     > but... it seems to work?
>     >
>     > you can choose profile (out of two) and it will appear in rendering
>     > window..
>     >
>
>     If and when the new features come with the next(?) Cin-GG appimage, I
>     can do more testing as I've got my new BD-RE discs.
>
>     Will also the internal ffmpeg with pcm be included?
>
>     Terje J. H
>
>
>     -- 
>     Cin mailing list
>     Cin at lists.cinelerra-gg.org <mailto:Cin at lists.cinelerra-gg.org>
>     https://lists.cinelerra-gg.org/mailman/listinfo/cin
>     <https://lists.cinelerra-gg.org/mailman/listinfo/cin>
>
>



More information about the Cin mailing list