Advertisement
Guest User

bartus

a guest
Apr 8th, 2019
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. diff -Naur OpenBoard-1.5.2/src/podcast/ffmpeg/UBFFmpegVideoEncoder.cpp OpenBoard-1.5.2-fps/src/podcast/ffmpeg/UBFFmpegVideoEncoder.cpp
  2. --- OpenBoard-1.5.2/src/podcast/ffmpeg/UBFFmpegVideoEncoder.cpp 2019-01-08 16:58:50.000000000 +0100
  3. +++ OpenBoard-1.5.2-fps/src/podcast/ffmpeg/UBFFmpegVideoEncoder.cpp 2019-04-08 17:03:57.266838721 +0200
  4. @@ -393,7 +393,7 @@
  5.  
  6. c = mAudioStream->codec;
  7.  
  8. - c->bit_rate = 96000;
  9. + c->bit_rate = 128000;
  10. c->sample_fmt = audioCodec->sample_fmts ? audioCodec->sample_fmts[0] : AV_SAMPLE_FMT_FLTP;// FLTP by default for AAC
  11. c->sample_rate = mAudioSampleRate;
  12. c->channel_layout = AV_CH_LAYOUT_STEREO;
  13. diff -Naur OpenBoard-1.5.2/src/podcast/UBAbstractVideoEncoder.cpp OpenBoard-1.5.2-fps/src/podcast/UBAbstractVideoEncoder.cpp
  14. --- OpenBoard-1.5.2/src/podcast/UBAbstractVideoEncoder.cpp 2019-01-08 16:58:50.000000000 +0100
  15. +++ OpenBoard-1.5.2-fps/src/podcast/UBAbstractVideoEncoder.cpp 2019-04-08 17:03:57.266838721 +0200
  16. @@ -33,7 +33,7 @@
  17.  
  18. UBAbstractVideoEncoder::UBAbstractVideoEncoder(QObject *pParent)
  19. : QObject(pParent)
  20. - , mFramesPerSecond(10)
  21. + , mFramesPerSecond(30)
  22. , mVideoSize(640, 480)
  23. , mVideoBitsPerSecond(1700000) // 1.7 Mbps
  24. {
  25. diff -Naur OpenBoard-1.5.2/src/podcast/UBPodcastController.cpp OpenBoard-1.5.2-fps/src/podcast/UBPodcastController.cpp
  26. --- OpenBoard-1.5.2/src/podcast/UBPodcastController.cpp 2019-01-08 16:58:50.000000000 +0100
  27. +++ OpenBoard-1.5.2-fps/src/podcast/UBPodcastController.cpp 2019-04-08 17:03:57.266838721 +0200
  28. @@ -81,7 +81,7 @@
  29. , mVideoEncoder(0)
  30. , mIsGrabbing(false)
  31. , mInitialized(false)
  32. - , mVideoFramesPerSecondAtStart(10)
  33. + , mVideoFramesPerSecondAtStart(30)
  34. , mVideoFrameSizeAtStart(1024, 768)
  35. , mVideoBitsPerSecondAtStart(1700000)
  36. , mSourceWidget(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement