[Cin] HDV formats patch

Terje J. Hanssen terjejhanssen at gmail.com
Fri Nov 13 05:05:19 CET 2020


Den 12.11.2020 13:57, skrev Andrew Randrianasulu:
> For cinelerra/defaultformats.h
>
> I de-capitalized "I" in presets, but I'm not sure about overall aesthetics of "P" vs "p" or how I added "(HDV)" to some presets (because I think those 720p presets can be used outside of HDV material?)
>
> Terje, can you try to pull cinGG sources from git, apply my patch
> (git apply PATCH from source tree) and build with "--with-single-user", so there will be no danger to your Cin isntallation and see if patch actually gives workable settings for your real footage?

Here I reach my limit :
Though I've worked with civil engineering, I'm not familiar with 
building, compiling and patching computer software :)
Actually, almost five years ago, GG guided me step by step by email to 
compile my first Cin5.0 on openSUSE 42.1.
Since then I've just installed pre-build rpm packages, included the 
current Cin-GG 5.1 on Leap 15.2.

So to do it now, I will need the detailed command procedure, step by 
step again ;)

>
>  From dialogs it seems Aspect Ratio at the bottom of format window IS Screen/Display aspect ration, and W/H ratio is about non-square pixels.
>
> But I wonder how it supposed to work for rendering back into HDV?
> If your pipeline set to 1440x1080, and you encode just with special flag set - all movements and graphics and text and masked effects you added must be somewhat scaled horizontally up and down? (because if Compositor shows 1920x1080 image, and you draw nice square with Sketcher there - how those pixels will be drawn on top of project size sized frame? Or you must have special overlay track set to 1920x1080 where you draw, and then just let Cin  mix two?)
>
> NOTE: I don't think this will adds autodetect-on-load but at least having correct profiles somewhere might be 0.2 step in this direction.

However, via a previous mail thread with url to a small hdv video clip, 
this file can be downloaded and tested:
CinCV TNG] Setting up a Project
https://lists.cinelerra-cv.org/pipermail/cinelerra/2016q4/005613.html
http://mvd.homevideo.free.fr/films_HDV/20081103140154.m2t

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

mediainfo provides a longer detailed list, but here is a short list using

ffprobe 20081103140154.m2t
.............
Input #0, mpegts, from '20081103140154.m2t':
   Duration: 00:00:13.44, start: 1042.400000, bitrate: 26598 kb/s
   Program 100
     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
     Stream #0:1[0x814]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, 
stereo, s16p, 384 kb/s

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

I loaded this hdv file 20081103140154.m2t in my current Cin-GG, and 
noticed the Set Format window with
Canvas size=1440x1080, W.Ratio=1, H.Ratio=1, Aspect Ratio= 4:3, 
Interlace mode=Bottom field first
Attached screen shot below

The video image aspect ratio seems be 4:3 in the compositor and player 
windows.
Shouldn't Cin-GG with "FFmpeg First" button enabled, detect and set the 
same parameters like ffprobe detect above?

In the past, Cin-CV did not auto-detect aspect ratio, and only applied 
Format aspect ratio on the output,
not on the individual input files.
https://cinelerra.skolelinux.narkive.com/kkJef8tW/cincvs-compositor-stretching-16-9

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

Terje J. H










-------------- next part --------------
A non-text attachment was scrubbed...
Name: Set_Format_Preset_hdv.png
Type: image/png
Size: 58970 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20201113/f5163f6b/attachment-0001.png>


More information about the Cin mailing list