[Cin] [patch] Few more choices for samplerate, size and fps

Andrew Randrianasulu randrianasulu at gmail.com
Mon Jun 14 19:36:30 CEST 2021


Hm, I think I added few more framerates, still can't say why
ffmpeg/mpeg2/144 fps do not work... 120/100/90 fps works.. /

I also changed default proxy codec to mov (mpeg4/xvid) due to this - while
my real 25 fps clip does not hit this limitation if i just change project
settings to 144 fps...

I returned some logic in ffmpeg.C patch back to initial state, because I
still do not understand how this homebrew conversion/check work.. :/

Will post updated patch in its own thread

On Monday, June 14, 2021, Andrew Randrianasulu <randrianasulu at gmail.com>
wrote:

> Because typing from virtual kbd is hard and i have bad nemory..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20210614/6c067ff9/attachment.htm>
-------------- next part --------------
diff --git a/cinelerra-5.1/cinelerra/theme.C b/cinelerra-5.1/cinelerra/theme.C
index ab22ec8e..0c364f73 100644
--- a/cinelerra-5.1/cinelerra/theme.C
+++ b/cinelerra-5.1/cinelerra/theme.C
@@ -286,6 +286,7 @@ void Theme::build_menus()
 	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("352x288    "));
 	frame_sizes.append(new BC_ListBoxItem("360x240    "));
 	frame_sizes.append(new BC_ListBoxItem("384x288    CIF"));
 	frame_sizes.append(new BC_ListBoxItem("400x300    qSVGA"));
@@ -337,12 +338,15 @@ void Theme::build_menus()
 	frame_sizes.append(new BC_ListBoxItem("7680x4320  8K UHD"));
 
 	sample_rates.append(new BC_ListBoxItem("8000"));
+	sample_rates.append(new BC_ListBoxItem("11025"));
 	sample_rates.append(new BC_ListBoxItem("16000"));
 	sample_rates.append(new BC_ListBoxItem("22050"));
 	sample_rates.append(new BC_ListBoxItem("32000"));
 	sample_rates.append(new BC_ListBoxItem("44100"));
 	sample_rates.append(new BC_ListBoxItem("48000"));
+	sample_rates.append(new BC_ListBoxItem("88000"));
 	sample_rates.append(new BC_ListBoxItem("96000"));
+	sample_rates.append(new BC_ListBoxItem("176400"));
 	sample_rates.append(new BC_ListBoxItem("192000"));
 
 	frame_rates.append(new BC_ListBoxItem("0.25"));
@@ -359,8 +363,12 @@ void Theme::build_menus()
 	frame_rates.append(new BC_ListBoxItem("50"));
 	frame_rates.append(new BC_ListBoxItem("59.94"));
 	frame_rates.append(new BC_ListBoxItem("60"));
+	frame_rates.append(new BC_ListBoxItem("72"));
+	frame_rates.append(new BC_ListBoxItem("85"));
+	frame_rates.append(new BC_ListBoxItem("90"));
 	frame_rates.append(new BC_ListBoxItem("100"));
 	frame_rates.append(new BC_ListBoxItem("120"));
+	frame_rates.append(new BC_ListBoxItem("144"));
 	frame_rates.append(new BC_ListBoxItem("1000"));
 
 	char string[BCTEXTLEN];
-------------- next part --------------
diff --git a/cinelerra-5.1/cinelerra/proxy.C b/cinelerra-5.1/cinelerra/proxy.C
index 64897df9..190a92c1 100644
--- a/cinelerra-5.1/cinelerra/proxy.C
+++ b/cinelerra-5.1/cinelerra/proxy.C
@@ -85,8 +85,8 @@ ProxyDialog::ProxyDialog(MWindow *mwindow)
 
 // quicker than some, not as good as others
 	asset->format = FILE_FFMPEG;
-	strcpy(asset->fformat, "mpeg");
-	strcpy(asset->vcodec, "mpeg.mpeg");
+	strcpy(asset->fformat, "mov");
+	strcpy(asset->vcodec, "mov.mov");
 	asset->ff_video_bitrate = 2000000;
 	asset->video_data = 1;
 


More information about the Cin mailing list