MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.57k stars 290 forks source link

Cannot record som games in fullscreen. #421

Open omnitrax opened 8 years ago

omnitrax commented 8 years ago

On Ubuntu 14.04 Some games aren't possible to record in full screen, some examples are one game running in DOSBox another in Gen/GS and BurgerSpace. The games them self runs normal in full screen but the in the video they are in a window, I have tried all different containers and audio combinations but nothing seems to help.

Here are are a video with the issue: https://youtu.be/IaPqu0locrM

Output from the terminal, there is one error message highlight bellow with '#######===>'

==================== SSR startad ==================== SimpleScreenRecorder 0.3.6 Compiled with GCC 4.8.4 Qt: header 4.8.6, lib 4.8.6 libavformat: header 54.20.4, lib 54.20.4 libavcodec: header 54.35.0, lib 54.35.0 libavutil: header 52.3.0, lib 52.3.0 libswscale: header 2.1.1, lib 2.1.1 [CPUFeatures::Detect] Processorfunktioner: mmx sse sse2 sse3 ssse3 sse4_1 sse4_2 avx [ALSAInput::GetSourceList] Genererar källista... [ALSAInput::GetSourceList] Upptäckt kort: [hw:0] HDA Intel PCH [ALSAInput::GetSourceList] Upptäckt enhet: [hw:0,0] HDA Intel PCH: ALC269VB Analog [PulseAudioInput::GetSourceList] Genererar källista... [SourceNamesCallback] Upptäckt källa: [alsa_output.pci-0000_00_1b.0.analog-stereo.monitor] Monitor of Inbyggt ljud Analog stereo [SourceNamesCallback] Upptäckt källa: [alsa_input.pci-0000_00_1b.0.analog-stereo] Inbyggt ljud Analog stereo [SourceNamesCallback] Upptäckt källa: [ladspa_output.mbeq_1197.mbeq.monitor] Monitor of LADSPA Plugin Multiband EQ on Inbyggt ljud Analog stereo [PageRecord::StartPage] Startar sidan... [PageRecord::StartPage] Startade sidan. [PageRecord::StartOutput] Startar utdata... [Muxer::Init] Använder format mp4 (MP4 (MPEG-4 Part 14)). [Muxer::AddStream] Använder kodek libx264 (libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10). [VideoEncoder::PrepareStream] Använder pixelformat yuv420. [libx264 @ 0x2be2000] using SAR=1/1 [libx264 @ 0x2be2000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x2be2000] profile High, level 4.0 [libx264 @ 0x2be2000] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=6 psy=1 psy_rd=1,00:0,00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=4 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=30 rc=crf mbtree=1 crf=23,0 qcomp=0,60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1,25 aq=1:1,00 [BaseEncoder::EncoderThread] Kodningstråd startad [Muxer::AddStream] Använder kodek libmp3lame (libmp3lame MP3 (MPEG audio layer 3)). [AudioEncoder::PrepareStream] Använder samplingsformat f32p.

===> [libmp3lame @ 0x2bdc5e0] channel_layout not specified <===

[BaseEncoder::EncoderThread] Kodningstråd startad [Muxer::MuxerThread] Muxertråd startad [PageRecord::StartOutput] Startade utdata. [PageRecord::StartInput] Startar indata... [Synchronizer::SynchronizerThread] Synkroniseringstråd startad. [X11Input::Init] Använder X11 delat minne. [X11Input::InputThread] Indatatråd startad. [PageRecord::StartInput] Startade indata. [PulseAudioInput::InputThread] Indatatråd startad. [FastResampler::Resample] Omsamplingsförhållandet är 1.0000 (var 0.0000). [PageRecord::StopOutput] Stoppar utdata... [PageRecord::StopOutput] Stoppade utdata. [PageRecord::StopInput] Stoppar indata... [X11Input::~X11Input] Stoppar indatatråd... [X11Input::InputThread] Indatatråd stoppad. [PulseAudioInput::~PulseAudioInput] Stopping input thread ... [PulseAudioInput::InputThread] Indatatråd stoppad. [PageRecord::StopInput] Stoppade indata. [PageRecord::StopPage] Stoppar sidan... [Synchronizer::~Synchronizer] Stoppar synkroniseringstråd... [Synchronizer::SynchronizerThread] Synkroniseringstråd stoppad. [Muxer::Finish] Avslutar kodare... [BaseEncoder::EncoderThread] Rensar kodare... [BaseEncoder::EncoderThread] Kodningstråd stoppad. [BaseEncoder::EncoderThread] Rensar kodare... [BaseEncoder::EncoderThread] Kodningstråd stoppad. [Muxer::MuxerThread] Muxertråd stoppad. [Muxer::~Muxer] Stoppar kodare... [Muxer::~Muxer] Väntar på att muxertråd skall stoppa... [BaseEncoder::~BaseEncoder] Stoppar kodningstråd... [libx264 @ 0x2be2000] frame I:3 Avg QP:20,58 size:150887 [libx264 @ 0x2be2000] frame P:154 Avg QP:21,03 size: 2008 [libx264 @ 0x2be2000] frame B:407 Avg QP:23,56 size: 103 [libx264 @ 0x2be2000] consecutive B-frames: 3,5% 0,4% 1,1% 95,0% [libx264 @ 0x2be2000] mb I I16..4: 27,0% 45,3% 27,7% [libx264 @ 0x2be2000] mb P I16..4: 0,8% 1,8% 0,4% P16..4: 0,8% 0,1% 0,1% 0,0% 0,0% skip:96,1% [libx264 @ 0x2be2000] mb B I16..4: 0,0% 0,0% 0,0% B16..8: 0,1% 0,0% 0,0% direct: 0,0% skip:99,8% L0:45,8% L1:52,6% BI: 1,6% [libx264 @ 0x2be2000] 8x8 transform intra:53,1% inter:61,4% [libx264 @ 0x2be2000] coded y,uvDC,uvAC intra: 18,2% 16,6% 14,3% inter: 0,1% 0,1% 0,1% [libx264 @ 0x2be2000] i16 v,h,dc,p: 45% 53% 1% 1% [libx264 @ 0x2be2000] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 60% 20% 17% 1% 1% 1% 1% 0% 1% [libx264 @ 0x2be2000] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 40% 29% 10% 3% 4% 4% 4% 3% 4% [libx264 @ 0x2be2000] i8c dc,h,v,p: 78% 13% 9% 1% [libx264 @ 0x2be2000] Weighted P-Frames: Y:0,0% UV:0,0% [libx264 @ 0x2be2000] ref P L0: 87,2% 12,8% [libx264 @ 0x2be2000] ref B L0: 84,3% 15,7% [libx264 @ 0x2be2000] ref B L1: 96,3% 3,7% [libx264 @ 0x2be2000] kb/s:303,82 [BaseEncoder::~BaseEncoder] Stoppar kodningstråd... [PageRecord::StopPage] Stoppade sidan.

MaartenBaert commented 8 years ago

The problem is that the game is changing the resolution. SSR can't do this because videos can't change their resolution halfway. So if you want to record this game, you have to manually configure SSR to the correct size (use 'record rectangle', use the resolution of the game and set the position to (0,0)).