mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 21:20:05 +00:00
Recomment the ffmpeg backend
This commit is contained in:
parent
016d2b08e3
commit
c63797a096
@ -125,9 +125,11 @@ bool FFmpegVideoStream::Init(FFmpegMuxer& muxer, const Layout::FramebufferLayout
|
|||||||
codec_context->bit_rate = Settings::values.video_bitrate;
|
codec_context->bit_rate = Settings::values.video_bitrate;
|
||||||
codec_context->width = layout.width;
|
codec_context->width = layout.width;
|
||||||
codec_context->height = layout.height;
|
codec_context->height = layout.height;
|
||||||
// TODO(xperia64): Replace with the core timing derived refresh rate
|
// TODO(xperia64): While these numbers from core timing work fine, certain video codecs do not
|
||||||
// Verify that an FPS of 59.83... can actually be requested
|
// support the strange resulting timebase (280071/16756991); Addressing this issue would require
|
||||||
// (this doesn't seem to be working currently)
|
// resampling the video
|
||||||
|
// Known working: mjpeg, libx264
|
||||||
|
// Known not working: mpeg2, mpeg4
|
||||||
codec_context->time_base.num = static_cast<int>(GPU::frame_ticks);
|
codec_context->time_base.num = static_cast<int>(GPU::frame_ticks);
|
||||||
codec_context->time_base.den = static_cast<int>(BASE_CLOCK_RATE_ARM11);
|
codec_context->time_base.den = static_cast<int>(BASE_CLOCK_RATE_ARM11);
|
||||||
codec_context->gop_size = 12;
|
codec_context->gop_size = 12;
|
||||||
|
Loading…
Reference in New Issue
Block a user