В сообщении от Tuesday 17 November 2020 00:26:40 Terje J. Hanssen via Cin
написал(а):
> The current HDV presets seems to be complete now for native camcorded,
> mpeg-2 compressed HDV.m2t, 8-bit, 4:2:0 video.
>
> At least some HDV camcorders (S. Mullen: HVR-V1 and FX7 Handbook) can
> output HDV tape playback via HDMI as uncompressed 720p50 or 720p60
> (1280x720) chroma upscaled to 4:2:2. Optional shooting live video
> (without mpeg-2 tape compression) the camera generates uncompressed
> 1440x1080i with a 4:2:2 colorspace via HDMI.
> Both these formats can i.e be recorded as in 10-bit ProRes 422 (HQ).
> Presets?
Unfortunately, only project colorspace above 8-bit is 32-bit float ..this
considerably slow down processing.
But if you wish you can add them like this (I think):
{ N_("(HDV 10 bit) 720p/60"), 2, 2, 48000, 1, 1, 60000.0 / 1001,
1280,720, 16,9, ILACE_MODE_NOTINTERLACED, BC_RGBA_FLOAT },
I think shotcut can record from some pro capture cards (via ffmpeg too, but
this requres some non-free libs during compilation). If you have someone with
hardware you can try to capture small sample and see how it come out .....
>
> Else it seems the following Full HD presets are missing:
>
> Full HD 1920x1080:
> FHD 1080i /29.97 (available), /25 /50 /24 /60 /30 (missing)
> FHD 1080p /30 /29.97 /24, /23.976 (available), /25 /50 /60 /30 (missing)
I added some ... attached to email and link to mail.ru ..
Apply to fresh sources (i.e not on top of my previous patch)
>
> Terje J. H
>
>
https://cloud.mail.ru/public/2vSu/35iEwx1Ky
diff --git a/cinelerra-5.1/cinelerra/defaultformats.h b/cinelerra-5.1/cinelerra/defaultformats.h
index 61bd2165..0a53b059 100644
--- a/cinelerra-5.1/cinelerra/defaultformats.h
+++ b/cinelerra-5.1/cinelerra/defaultformats.h
@@ -39,19 +39,53 @@ 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/24"), 6, 6, 48000, 1, 1, 24,
+ { N_("1080p/59.94"), 2, 2, 48000, 1, 1, 60000.0 / 1001,
1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
- { N_("1080I"), 2, 2, 48000, 1, 1, 30000.0 / 1001,
+ { N_("1080p/50"), 2, 2, 48000, 1, 1, 50,
+ 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/25"), 6, 6, 48000, 1, 1, 25,
+ 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_("1080p/23.976"), 6, 6, 48000, 1, 1, 24000.0 / 1001,
+ 1920,1080, 16,9, ILACE_MODE_NOTINTERLACED, BC_YUVA8888 },
+ { N_("1080i/60"), 2, 2, 48000, 1, 1, 60,
+ 1920,1080, 16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
+ { N_("1080i/50"), 2, 2, 48000, 1, 1, 50,
+ 1920,1080, 16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
+ { N_("1080i/30"), 2, 2, 48000, 1, 1, 30,
1920,1080, 16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
- { N_("720P/60"), 2, 2, 48000, 1, 1, 60000.0 / 1001,
+ { N_("1080i/29.97"), 2, 2, 48000, 1, 1, 30000.0 / 1001,
+ 1920,1080, 16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
+ { N_("1080i/25"), 2, 2, 48000, 1, 1, 25,
+ 1920,1080, 16,9, ILACE_MODE_BOTTOM_FIRST, BC_YUVA8888 },
+ { N_("1080i/24"), 2, 2, 48000, 1, 1, 24,
+ 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_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,
+ { 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
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin