<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 16 янв. 2024 г., 21:01 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer" target="_blank">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<br>
<br>
<div>Den 16.01.2024 17:31, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">вт, 16 янв. 2024 г., 19:19
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>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 16.01.2024 05:58, skrev Andrew Randrianasulu
via Cin:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<div dir="auto">so yeah, seems like sd 16:9
missing. easy to add</div>
<div dir="auto"><br>
</div>
<div dir="auto">I wonder if we should modify
1440*1080 presets to also be wide always? How it
looks now {if source is hdv unscaled} in real
(HD) TV connected to BD player</div>
<div dir="auto">?</div>
<div dir="auto"><br>
</div>
</div>
</div>
</blockquote>
<br>
The FHD option 1920x1080 is already available, with or
without scaled from HDV?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">right now ot seems to be WITH scaling OR
produces 4:3 1440*1080 files. Patches aims at fixing that.</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> I suggest CinGG supports all valid BD-formats, SD
and HDV anamorphic included. I am currently not rigged
to test BD 1440x1080 with BD player and TV, but I think
I did test it previously on a PC display (can possibly
test it later by opportunity). <br>
If not other project reasons, I basically don't see why
to up-convert and store more pixels on the medium, if
and when the 1440x1080 format scales fine to 16:9 by the
player/TV. Just did a simple succesful test with VLC
now.<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">yeahhhh ....</div>
<div dir="auto"><br>
</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> --------------------<br>
<br>
I just installed the latest cin-x86_64 AppImage, started
as root, loaded a HDV clip to test to create a BD
iso/structure, without Blu-ray device connected (similar
like testing create DVD).<br>
But I got the following error message; any idea what is
wrong here?<br>
<blockquote>build plugin index for:
/tmp/.mount_cin-x87v7ShV/usr/bin/plugins<br>
build lv2 index for: /usr/share/cin/lv2<br>
build ladspa plugin index for:
/tmp/.mount_cin-x87v7ShV/usr/bin/ladspa<br>
Unable to create directory:
/home/terje/Videoklipp/BD/bd_hdv_20240116-165618<br>
</blockquote>
------------------------<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">sounds like permission error?</div>
</div>
</blockquote>
<br>
A stupid mistake of my own. In the meantime I had manually changed
the Directory anme from BD to BD-Video :)<br>
<br>
I rendered HDV to BD successful now, but got Aspect error both with
None and Scaled:<br>
<br>
1) None (scale): a small 4:3 sqeezed image covering 50% of the VLC
display area centered, no cropping:<br>
<blockquote>Input #0, mpegts, from 'bd.m2ts':<br>
Duration: 00:06:58.08, start: 0.080000, bitrate: 12995 kb/s<br>
Program 1 <br>
Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] /
0x001B), yuv420p(tv, bt709, top first), 1440x1080 [SAR 1:1 DAR
4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc<br>
Stream #0:1[0x1100](und): Audio: pcm_bluray ([128][0][0][0] /
0x0080), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s<br>
</blockquote>
<br>
2) Scaled: full Hight 4:3 sqeezed image horizontally centered on the
VLC display (corrected with forcing Aspect 16:9 in VLC)<br>
<blockquote>Input #0, mpegts, from 'bd.m2ts':<br>
Duration: 00:06:58.08, start: 0.080000, bitrate: 12376 kb/s<br>
Program 1 <br>
Stream #0:0[0x1011]: Video: h264 (High) ([27][0][0][0] /
0x001B), yuv420p(tv, bt709, top first), 1440x1080 [SAR 1:1 DAR
4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc<br>
Stream #0:1[0x1100](und): Audio: pcm_bluray ([128][0][0][0] /
0x0080), 48000 Hz, stereo, s16, 1536 kb/s</blockquote></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">not dure how well this particular case was tested ... may be it worked because player/TV automagically forced 16:9 ?</div><div dir="auto"></div><div dir="auto"><br></div><div dir="auto"><br></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><blockquote>
</blockquote>
<br>
<blockquote type="cite">
<div dir="auto">
<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> <br>
I think BD-Render currently is locked to AVCHD (h264)
video and ac3 audio only.<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">hey, we did lpcm bd audio too some time ago!
There must be little dropdown menu with two choices ...</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> <br>
It would be fine if Create BD also could be extended to
offer compliant mpeg2 video and video copy (smart
rendering) with separate AC3/PCM_bluray audio (ref.
Create BD video without rendering HDV and possibly DVD
video).<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">well, smart render is harder than it sounds even
in linear transcoders based on ffmpeg :/</div>
<div dir="auto"><br>
</div>
<div dir="auto">piping all this info in correct manner using
cingg's internal seems to be beyond that *I* can do.</div>
<div dir="auto"><br>
</div>
<div dir="auto">But we hopefully at very minimum can develop
mpeg2_video encoding profile based on mpeg2 high quality one.
But this again require testing on real media/player - due to
bitrate distribution/rotation speed interplay not emulated
when reading from a file.</div>
<div dir="auto"><br>
</div>
<br>
</div>
</blockquote>
I meant video Copy of the compliant 1080i HDV.m2t mpeg2 was a "smart
render" in this case ;)<br>
(There is also additional non-anamorhic 1280x720 HDV available)<br>
<br>
I saw the tsmuxer button is also available, so possibly AC3/PCM then
can be muxed together with MPEG-2, similar like I did with FFmpeg in
my previous "Preserving Camcorder Media" chpt 5 page 17 (23)? Just
keep (copy) the mpeg2 video as is and transcode the MP2 audio to
AC3/ PCM.<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">internals on cinelerra(-gg) do not carry info about Group of Pictures from input asset to output one so copying compressed mpeg2 stream is not possible currently.</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>
<br>
Yes, the standard compliant MPEG-2 for HDV.m2t source profile is
here:<br>
<br>
<blockquote>Input #0, mpegts, from 'hdv07_05.m2t':<br>
Duration: 00:06:58.27, start: 3276.528000, bitrate: 25626 kb/s<br>
Program 100 <br>
Stream #0:0[0x810]: 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<br>
Side data:<br>
cpb: bitrate max/min/avg: 25000000/0/0 buffer size: 7340032
vbv_delay: N/A<br>
Stream #0:1[0x814]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000
Hz, stereo, fltp, 384 kb/s<br>
</blockquote>
<br>
mediainfo hdv07_05.m2t<br>
<blockquote>General<br>
ID : 255 (0xFF)<br>
Complete name : hdv07_05.m2t<br>
Format : MPEG-TS<br>
Commercial name : HDV 1080i<br>
File size : 1.25 GiB<br>
Duration : 6 min 57 s<br>
Start time : 2007-08-28 14:53:13 UTC<br>
End time : 2007-08-28 14:53:13 UTC
/ 2007-08-28 14:53:14 UTC / 2007-08-28 14:53:14 UTC / 2007-08-28
14:53:14 UTC / 2007-08-28 <br>
Overall bit rate mode : Variable<br>
Overall bit rate : 25.6 Mb/s<br>
Maximum Overall bit rate : 33.0 Mb/s<br>
Frame rate : 25.000 FPS<br>
Encoded date : 2007-08-28 14:53:13 UTC<br>
<br>
Video<br>
ID : 2064 (0x810)<br>
Menu ID : 100 (0x64)<br>
Format : MPEG Video<br>
Commercial name : HDV 1080i<br>
Format version : Version 2<br>
Format profile : Main@High 1440<br>
Format settings : CustomMatrix / BVOP<br>
Format settings, BVOP : Yes<br>
Format settings, Matrix : Custom<br>
Format settings, GOP : M=3, N=12<br>
Format settings, picture structure : Frame<br>
Codec ID : 2<br>
Duration : 6 min 57 s<br>
Bit rate mode : Constant<br>
Bit rate : 24.0 Mb/s<br>
Maximum bit rate : 25.0 Mb/s<br>
Width : 1 440 pixels<br>
Height : 1 080 pixels<br>
Display aspect ratio : 16:9<br>
Frame rate : 25.000 FPS<br>
Standard : Component<br>
Color space : YUV<br>
Chroma subsampling : 4:2:0<br>
Bit depth : 8 bits<br>
Scan type : Interlaced<br>
Scan order : Top Field First<br>
Compression mode : Lossy<br>
Bits/(Pixel*Frame) : 0.617<br>
Stream size : 1.17 GiB (93%)<br>
Color primaries : BT.709<br>
Transfer characteristics : BT.709<br>
Matrix coefficients : BT.709<br>
<br>
Audio<br>
ID : 2068 (0x814)<br>
Menu ID : 100 (0x64)<br>
Format : MPEG Audio<br>
Format version : Version 1<br>
Format profile : Layer 2<br>
Codec ID : 3<br>
Duration : 6 min 57 s<br>
Bit rate mode : Constant<br>
Bit rate : 384 kb/s<br>
Channel(s) : 2 channels<br>
Sampling rate : 48.0 kHz<br>
Frame rate : 41.667 FPS (1152 SPF)<br>
Compression mode : Lossy<br>
Delay relative to video : -144 ms<br>
Stream size : 19.1 MiB (1%)<br>
<br>
Menu<br>
ID : 129 (0x81)<br>
Menu ID : 100 (0x64)<br>
Format : MPEG Video / MPEG Audio
/ / <br>
List : 2064 (0x810) (MPEG
Video) / 2068 (0x814) (MPEG Audio) / 2069 (0x815) () / 2065
(0x811) ()<br></blockquote></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">so idea to test is to manually tweak selected video codec to this profile in popped-up batchrender window (using small wrench icon) and fixup bd.sh afterwards when it errors out (not sure if mpeg2 can hang from same pid as h264 - forgot it all!)</div><div dir="auto"><br></div><div dir="auto">main profile to tweak should be </div><div dir="auto"><br></div><div dir="auto">ffmpeg/video/mpeg2_hq.mpeg<br></div><div dir="auto"><br></div><div dir="auto"><div dir="auto">mpeg mpeg2video sc_threshold=-30000</div><div dir="auto">dc=11</div><div dir="auto">bf=2 trellis=2</div><div dir="auto">mbd=rd</div><div dir="auto">cmp=2</div><div dir="auto">subcmp=2 b=4000000</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">so you ramp up b to 2500000, set g=15 and probably add other options. And save as another profile :;)</div><div dir="auto"><br></div><div dir="auto">I'll try to look at mlt/openshot, they probably had hdv mpeg2 spelled out ..</div><div dir="auto"><br></div><div dir="auto"><br></div></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><blockquote>
<br>
<br>
<br>
</blockquote>
<br>
<br>
<br>
<br>
<br>
</div>
</blockquote></div></div></div>