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?

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.
diff --git a/cinelerra-5.1/cinelerra/defaultformats.h b/cinelerra-5.1/cinelerra/defaultformats.h
index 61bd2165..9de780b2 100644
--- a/cinelerra-5.1/cinelerra/defaultformats.h
+++ b/cinelerra-5.1/cinelerra/defaultformats.h
@@ -39,19 +39,39 @@ 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_("720P/60"),	2, 2, 48000,	1, 1, 60000.0 / 1001,
+	{ N_("HDV 1080i/29.97"),		2, 2, 48000,	1, 1, 30000.0 / 1001,
+		1440,1080, 16,9, ILACE_MODE_TOP_FIRST, BC_YUVA8888 },
+	{ N_("HDV 1080i/25"),		2, 2, 48000,	1, 1, 25,
+		1440,1080, 16,9, ILACE_MODE_TOP_FIRST, BC_YUVA8888 },
+	{ N_("(HDV) 720P/60"),	2, 2, 48000,	1, 1, 60000.0 / 1001,
+		1280,720,  16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+	{ N_("(HDV) 720P/50"),	2, 2, 48000,	1, 1, 50,
+		1280,720,  16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+	{ N_("(HDV) 720P/29.97"),	2, 2, 48000,	1, 1, 30000.0 / 1001,
+		1280,720,  16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+	{ N_("(HDV) 720P/25"),	2, 2, 48000,	1, 1, 25,
+		1280,720,  16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+	{ N_("(HDV) 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,
+	{ 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,
 		720,480,   4,3, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
-	{ N_("NTSC 480I - DV(D)"),	2, 2, 48000,	1, 1, 30000.0 / 1001,
+	{ N_("NTSC 480i - DV(D)"),	2, 2, 48000,	1, 1, 30000.0 / 1001,
 		720,480,   4,3, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
 	{ N_("YouTube"),		1, 1, 48000,	1, 1, 30000.0 / 1001,
 		424,318,   4,3, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
-- 
Cin mailing list
Cin@lists.cinelerra-gg.org
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to