Skip to content

Commit d55459b

Browse files
committed
feat: Increase default fps
A max value of 100 yields around 40-70 fps
1 parent ff74bcc commit d55459b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

resources/etc/OpenBoard.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ UsePDFMerger=true
130130

131131
[Podcast]
132132
AudioRecordingDevice=Default
133-
FramesPerSecond=10
133+
FramesPerSecond=100
134134
PublishToYouTube=false
135135
QuickTimeQuality=High
136136
VideoSize=Medium

src/core/UBSettings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ void UBSettings::init()
461461
exportBackgroundGrid = new UBSetting(this, "PDF", "ExportBackgroundGrid", false);
462462
exportBackgroundColor = new UBSetting(this, "PDF", "ExportBackgroundColor", false);
463463

464-
podcastFramesPerSecond = new UBSetting(this, "Podcast", "FramesPerSecond", 10);
464+
podcastFramesPerSecond = new UBSetting(this, "Podcast", "FramesPerSecond", 100);
465465
podcastVideoSize = new UBSetting(this, "Podcast", "VideoSize", "Medium");
466466
podcastAudioRecordingDevice = new UBSetting(this, "Podcast", "AudioRecordingDevice", "Default");
467467

src/podcast/UBPodcastController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ UBPodcastController::UBPodcastController(QObject* pParent)
8282
, mVideoEncoder(0)
8383
, mInitialized(false)
8484
, mEmptyChapter(true)
85-
, mVideoFramesPerSecondAtStart(10)
85+
, mVideoFramesPerSecondAtStart(100)
8686
, mVideoFrameSizeAtStart(1024, 768)
8787
, mVideoBitsPerSecondAtStart(1700000)
8888
, mSourceWidget(0)

src/podcast/UBPodcastPreferencesDialog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ void UBPodcastPreferencesDialog::resetDefaultSettings()
334334
setDefaultAudioDevice();
335335
mTabWidget->setCurrentIndex(mPodcastProfileNames.indexOf("Medium"));
336336
mBitRateSpinBox->setValue(1700000);
337-
mFrameRateSpinBox->setValue(10);
337+
mFrameRateSpinBox->setValue(100);
338338
mPublishToIntranet->setChecked(false);
339339
mPublishToYoutube->setChecked(false);
340340
}

0 commit comments

Comments
 (0)