Skip to content

Commit a04ac5a

Browse files
committed
feat: Increase default fps
The default has been bumped up to 100 fps. This value is never actually reached - the resulting fps hover mostly around 40-70. During testing on my rather powerful machine (with values exceeding 250 fps), the observed frame rate never got appreciably higher than 100 fps (maximum was 127 fps for short periods at 1000). Thus, the profiles in their default configuration capture all activity. Choosing a lower frame rate decreases the fps accordingly. 25 fps is at the lower end of what is perceived as fluid motion, though using that yields an actual frame rate around 12-18. Further tuning is possible via the "Podcast->FramesPerSecond" setting and the preferences dialog. A max value of 100 yields around 40-70 fps
1 parent cdcac49 commit a04ac5a

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)