If I'm not mistaken, HDV in its interlaced format is "Upper (top) field first" (unlike DV which is "Bottom field first").

Pierre


Le 20-10-31 à 20 h 38, Andrew Randrianasulu via Cin a écrit :
В сообщении от Saturday 31 October 2020 19:21:05 вы написали:
Hi,

I chime in here, because some time ago I reported what I think may be a
related issue #0000491 on MantisBT:

1) HDV format not auto-detected correctly and
2) HDV formats not available among presets

Well, I added two HDV presets, as I udnerstand them .. but I can be wrong, or 
VERY wrong!

diff --git a/cinelerra-5.1/cinelerra/defaultformats.h 
b/cinelerra-5.1/cinelerra/defaultformats.h
index 61bd2165..1fe71282 100644
--- a/cinelerra-5.1/cinelerra/defaultformats.h
+++ b/cinelerra-5.1/cinelerra/defaultformats.h
@@ -39,14 +39,34 @@ struct formatpresets
  };
static struct formatpresets format_presets[] = {
-       { N_("1080P/60"),               2, 2, 48000,    1, 1, 60000.0 / 1001,
+       { N_("1080P/60"),               2, 2, 48000,    1, 1, 60,
+               1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+       { N_("1080P/59.94"),            2, 2, 48000,    1, 1, 60000.0 / 1001,
+               1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+       { N_("1080P/30"),               6, 6, 48000,    1, 1, 30,
+               1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+       { N_("1080P/29.97"),            6, 6, 48000,    1, 1, 30000.0 / 1001,
                 1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
         { N_("1080P/24"),               6, 6, 48000,    1, 1, 24,
                 1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
-       { N_("1080I"),          2, 2, 48000,    1, 1, 30000.0 / 1001,
+       { N_("1080P/23.976"),           6, 6, 48000,    1, 1, 24000.0 / 1001,
+               1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+       { N_("1080I/29.97"),            2, 2, 48000,    1, 1, 30000.0 / 1001,
                 1920,1080, 16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
+       { N_("HDV 1080i/29.97"),                2, 2, 48000,    1, 1, 30000.0 / 
1001,
+               1440,1080, 16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
+       { N_("HDV 1080i/25"),           2, 2, 48000,    1, 1, 25,
+               1440,1080, 16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
         { N_("720P/60"),        2, 2, 48000,    1, 1, 60000.0 / 1001,
                 1280,720,  16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+       { N_("720P/50"),        2, 2, 48000,    1, 1, 50,
+               1280,720,  16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+       { N_("720P/29.97"),     2, 2, 48000,    1, 1, 30000.0 / 1001,
+               1280,720,  16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+       { N_("720P/25"),        2, 2, 48000,    1, 1, 25,
+               1280,720,  16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+       { N_("720P/23.976"),    2, 2, 48000,    1, 1, 24000.0 / 1001,
+               1280,720,  16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
         { N_("PAL 576I - DV(D)"),       2, 2, 48000,    1, 1, 25,
                 720,576,   4,3, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
         { N_("NTSC 480P - DV(D)"),      2, 2, 48000,    1, 1, 60000.0 / 1001,

I added plenty of 1080p formats because this line in wiki:

https://en.wikipedia.org/wiki/1080p24

"DVB also supports 1080p encoded at ATSC frame rates of 23.976, 24, 29.97, 30, 59.94 
and 60.[9][10]"


https://www.cinelerra-gg.org/bugtracker/view.php?id=491


Terje J. Hanssen


Den 31.10.2020 15:30, skrev Andrew Randrianasulu via Cin:
В сообщении от Saturday 31 October 2020 16:06:48 Pierre autourduglobe via Cin 
написал(а):
Maybe the HDV (1440x1080)?
Added this too, but in general there is something about pixel aspect ratioI 
don't understand:

https://en.wikipedia.org/wiki/Pixel_aspect_ratio

1440x1080i will come as exactly this stream from mpeg2 decoder. But for 
display/processing it must be stretched 1.33 horizontally?

https://en.wikipedia.org/wiki/HDV

Pixel aspect ratio  1.0 (720p)   1.33 (1080i)

Is this specific kind of aspect ration handled in  CinGG?

I see recent (this year) discussion on cin ML, but ...

https://www.mail-archive.com/cin%40lists.cinelerra-gg.org/msg01473.html

"So it changes DAR (Display Aspect Ratio) and/or PAR (Pixel Aspect Ratio) for some 
types of container/codec: pixel may not be square (1:1)."

so, when it does AND and when it does OR ? :} Because they not the same ....

Pierre


Le 20-10-31 à 07 h 40, Andrew Randrianasulu via Cin a écrit :
Not sure how many of them actually useful (CIF might be, and of course my own 
1440x900 :-)), but this list already requires scrolling :}

diff --git a/cinelerra-5.1/cinelerra/theme.C b/cinelerra-5.1/cinelerra/theme.C
index d89c789f..07cfb1d2 100644
--- a/cinelerra-5.1/cinelerra/theme.C
+++ b/cinelerra-5.1/cinelerra/theme.C
@@ -274,6 +274,7 @@ void Theme::build_menus()
           aspect_ratios.append(new BC_ListBoxItem("3:2"));
           aspect_ratios.append(new BC_ListBoxItem("4:3"));
           aspect_ratios.append(new BC_ListBoxItem("16:9"));
+       aspect_ratios.append(new BC_ListBoxItem("16:10"));
           aspect_ratios.append(new BC_ListBoxItem("2.10:1"));
           aspect_ratios.append(new BC_ListBoxItem("2.20:1"));
           aspect_ratios.append(new BC_ListBoxItem("2.25:1"));
@@ -283,9 +284,11 @@ void Theme::build_menus()
frame_sizes.append(new BC_ListBoxItem("128x96 "));
           frame_sizes.append(new BC_ListBoxItem("160x120    "));
+       frame_sizes.append(new BC_ListBoxItem("240x160   HQVGA"));
           frame_sizes.append(new BC_ListBoxItem("320x240    "));
           frame_sizes.append(new BC_ListBoxItem("360x240    "));
-       frame_sizes.append(new BC_ListBoxItem("400x300    "));
+       frame_sizes.append(new BC_ListBoxItem("384x288    CIF"));
+       frame_sizes.append(new BC_ListBoxItem("400x300    qSVGA"));
           frame_sizes.append(new BC_ListBoxItem("640x360    nHD"));
           frame_sizes.append(new BC_ListBoxItem("640x400    "));
           frame_sizes.append(new BC_ListBoxItem("640x480    VGA"));
@@ -299,19 +302,31 @@ void Theme::build_menus()
           frame_sizes.append(new BC_ListBoxItem("1024x576   "));
           frame_sizes.append(new BC_ListBoxItem("1024x768   XGA"));
           frame_sizes.append(new BC_ListBoxItem("1152x648   "));
+       frame_sizes.append(new BC_ListBoxItem("1152x768   "));
+       frame_sizes.append(new BC_ListBoxItem("1152x864  XGA+"));
           frame_sizes.append(new BC_ListBoxItem("1280x720   HD"));
+       frame_sizes.append(new BC_ListBoxItem("1280x800   "));
           frame_sizes.append(new BC_ListBoxItem("1280x1024  SXGA"));
           frame_sizes.append(new BC_ListBoxItem("1366x768   WXGA"));
+       frame_sizes.append(new BC_ListBoxItem("1440x900   WXGA+"));
           frame_sizes.append(new BC_ListBoxItem("1600x900   HD+"));
           frame_sizes.append(new BC_ListBoxItem("1600x1200  UXGA"));
           frame_sizes.append(new BC_ListBoxItem("1920x1080  Full HD"));
+       frame_sizes.append(new BC_ListBoxItem("1920x1280  FHD+"));
+       frame_sizes.append(new BC_ListBoxItem("2048x1080  DCI 2K"));
           frame_sizes.append(new BC_ListBoxItem("2048x1152  "));
+       frame_sizes.append(new BC_ListBoxItem("2048x1536   QXGA"));
+       frame_sizes.append(new BC_ListBoxItem("2160x1440   "));
           frame_sizes.append(new BC_ListBoxItem("2304x1296  "));
-       frame_sizes.append(new BC_ListBoxItem("2560x1440  QHD"));
+       frame_sizes.append(new BC_ListBoxItem("2560x1080  UW-FHD"));
+       frame_sizes.append(new BC_ListBoxItem("2560x1440  WQHD"));
           frame_sizes.append(new BC_ListBoxItem("2880x1620  "));
-       frame_sizes.append(new BC_ListBoxItem("3200x1800  QHD+"));
+       frame_sizes.append(new BC_ListBoxItem("3200x1800  WQXGA+"));
+       frame_sizes.append(new BC_ListBoxItem("3440x1440  Ultra-Wide QHD"));
           frame_sizes.append(new BC_ListBoxItem("3520x1980  "));
+       frame_sizes.append(new BC_ListBoxItem("3840x1600  UW4K"));
           frame_sizes.append(new BC_ListBoxItem("3840x2160  4K UHD"));
+       frame_sizes.append(new BC_ListBoxItem("4096x2160  DCI 4K"));
           frame_sizes.append(new BC_ListBoxItem("4096x2304  Full 4K UHD"));
           frame_sizes.append(new BC_ListBoxItem("4480x2520  "));
           frame_sizes.append(new BC_ListBoxItem("5120x2880  5K UHD"));

----

list of course from https://en.wikipedia.org/wiki/List_of_common_resolutions









--
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to