{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2819","labels_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2819/labels{/name}","comments_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2819/comments","events_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2819/events","html_url":"https://github.com/FreeRDP/FreeRDP/issues/2819","id":98315106,"number":2819,"title":"OpenH264 error during YouTube playback ","user":{"login":"RexFan","id":13547707,"avatar_url":"https://avatars.githubusercontent.com/u/13547707?v=3","gravatar_id":"","url":"https://api.github.com/users/RexFan","html_url":"https://github.com/RexFan","followers_url":"https://api.github.com/users/RexFan/followers","following_url":"https://api.github.com/users/RexFan/following{/other_user}","gists_url":"https://api.github.com/users/RexFan/gists{/gist_id}","starred_url":"https://api.github.com/users/RexFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RexFan/subscriptions","organizations_url":"https://api.github.com/users/RexFan/orgs","repos_url":"https://api.github.com/users/RexFan/repos","events_url":"https://api.github.com/users/RexFan/events{/privacy}","received_events_url":"https://api.github.com/users/RexFan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-31T04:40:03Z","updated_at":"2015-09-14T10:26:44Z","closed_at":null,"body":"Hello, I found some OpenH264 error prompt up in console during YouTube playback.\r\n\r\n### 1. It will keep prompt below error during YouTube playback. \r\n```\r\npi@raspberrypi ~ $ xfreerdp -sec-nla /cert-ignore /u: /f /drive:*,hotplug /network:modem /rfx /gfx +gfx-h264 +gfx-thin-client -offscreen-cache +async-update +fonts /v:192.168.0.1\r\n[17:55:09:462] [8079:8080] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr\r\n[17:55:09:462] [8079:8080] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd\r\n[17:55:09:463] [8079:8080] [INFO][com.freerdp.client.common.cmdline] - loading channel drdynvc\r\n[17:55:09:493] [8079:8080] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER\r\n[17:55:10:898] [8079:8080] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx\r\n[17:55:10:899] [8079:8084] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive (static)\r\n[17:55:10:900] [8079:8084] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS (type=8 id=1)\r\n[17:55:24:191] [8079:8080] [ERROR][com.freerdp.core] - ERRINFO_SERVER_DENIED_CONNECTION (0x00000007):The server denied the connection.\r\n[17:55:26:992] [8079:8083] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS (type=8 id=1)\r\n[OpenH264] this = 0x0x734308e0, Error:NAL_UNIT_CODED_SLICE: DecInitBits() fail due invalid access.\r\n[OpenH264] this = 0x0x734308e0, Error:NAL_UNIT_CODED_SLICE: DecInitBits() fail due invalid access.\r\n[OpenH264] this = 0x0x734308e0, Error:NAL_UNIT_CODED_SLICE: DecInitBits() fail due invalid access.\r\n```\r\nAfter a few minutes (or more),  the remote desktop session will be crashed. And i will see one more error like below. (The remote site CPU loading is very high.)\r\n```\r\npi@raspberrypi ~ $ xfreerdp -sec-nla /cert-ignore /u: /f /drive:*,hotplug /network:modem /rfx /gfx +gfx-h264 +gfx-thin-client -offscreen-cache +async-update +fonts /v:192.168.0.1\r\n[17:55:09:462] [8079:8080] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr\r\n[17:55:09:462] [8079:8080] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd\r\n[17:55:09:463] [8079:8080] [INFO][com.freerdp.client.common.cmdline] - loading channel drdynvc\r\n[17:55:09:493] [8079:8080] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER\r\n[17:55:10:898] [8079:8080] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel rdpgfx\r\n[17:55:10:899] [8079:8084] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive (static)\r\n[17:55:10:900] [8079:8084] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS (type=8 id=1)\r\n[17:55:24:191] [8079:8080] [ERROR][com.freerdp.core] - ERRINFO_SERVER_DENIED_CONNECTION (0x00000007):The server denied the connection.\r\n[17:55:26:992] [8079:8083] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS (type=8 id=1)\r\n[OpenH264] this = 0x0x734308e0, Error:NAL_UNIT_CODED_SLICE: DecInitBits() fail due invalid access.\r\n[OpenH264] this = 0x0x734308e0, Error:NAL_UNIT_CODED_SLICE: DecInitBits() fail due invalid access.\r\n[OpenH264] this = 0x0x734308e0, Error:NAL_UNIT_CODED_SLICE: DecInitBits() fail due invalid access.\r\nSegmentation fault\r\n```\r\n### 2. While watching the video on YouTube, the screen will fuzzy suddenly (a few minutes after start playing the video). And the console will keep prompt below errors.\r\n```\r\n[10:34:19:666] [8441:8448] [ERROR][com.freerdp.client.x11] - h264_decompress failure: -1\r\n[10:34:19:056] [8441:8448] [ERROR][com.freerdp.client.x11] - h264_decompress failure: -1\r\n[10:34:19:128] [8441:8448] [ERROR][com.freerdp.client.x11] - h264_decompress failure: -1\r\n[10:34:19:218] [8441:8448] [ERROR][com.freerdp.client.x11] - h264_decompress failure: -1\r\n[10:34:19:281] [8441:8448] [ERROR][com.freerdp.client.x11] - h264_decompress failure: -1\r\n```\r\n\r\n### 3. Some warnings prompt up while build FreeRDP. One of them are related to /gfx parameter. But i don't know it will cause some issues or not. The compile code and build code is given below. Please advice.\r\n\r\nCompile Code\r\n```\r\npi@raspberrypi ~/FreeRDP $ sudo cmake -DTARGET_ARCH=ARM -DWITH_WAYLAND=OFF -DWITH_JPEG=ON -DWITH_OPENH264=ON -DCMAKE_PREFIX_PATH=/opt/openh264 -DCMAKE_INSTALL_PREFIX:PATH=/opt/freerdp\r\n-- The C compiler identification is GNU 4.6.3\r\n-- The CXX compiler identification is GNU 4.6.3\r\n-- Check for working C compiler: /usr/bin/gcc\r\n-- Check for working C compiler: /usr/bin/gcc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Found PkgConfig: /usr/bin/pkg-config (found version \"0.26\")\r\n-- FreeRDP GIT\r\n-- Git Revision dfa2980\r\n-- Performing Test Wno-unused-result\r\n-- Performing Test Wno-unused-result - Success\r\n-- Performing Test Wno-unused-but-set-variable\r\n-- Performing Test Wno-unused-but-set-variable - Success\r\n-- Performing Test Wno-deprecated-declarations\r\n-- Performing Test Wno-deprecated-declarations - Success\r\n-- Performing Test Wno-deprecated-declarationsCXX\r\n-- Performing Test Wno-deprecated-declarationsCXX - Success\r\n-- Performing Test Wimplicit-function-declaration\r\n-- Performing Test Wimplicit-function-declaration - Success\r\n-- Performing Test Wredundant-decls\r\n-- Performing Test Wredundant-decls - Success\r\n-- Performing Test Wno-builtin-macro-redefined\r\n-- Performing Test Wno-builtin-macro-redefined - Success\r\n-- Performing Test Wno-builtin-macro-redefinedCXX\r\n-- Performing Test Wno-builtin-macro-redefinedCXX - Success\r\n-- Looking for include file fcntl.h\r\n-- Looking for include file fcntl.h - found\r\n-- Looking for include file unistd.h\r\n-- Looking for include file unistd.h - found\r\n-- Looking for include file execinfo.h\r\n-- Looking for include file execinfo.h - found\r\n-- Looking for include file stdint.h\r\n-- Looking for include file stdint.h - found\r\n-- Looking for include file inttypes.h\r\n-- Looking for include file inttypes.h - found\r\n-- Looking for include file sys/modem.h\r\n-- Looking for include file sys/modem.h - not found.\r\n-- Looking for include file sys/filio.h\r\n-- Looking for include file sys/filio.h - not found.\r\n-- Looking for include file sys/sockio.h\r\n-- Looking for include file sys/sockio.h - not found.\r\n-- Looking for include file sys/strtio.h\r\n-- Looking for include file sys/strtio.h - not found.\r\n-- Looking for include file sys/select.h\r\n-- Looking for include file sys/select.h - found\r\n-- Performing Test HAVE_TM_GMTOFF\r\n-- Performing Test HAVE_TM_GMTOFF - Success\r\n-- Looking for include file pthread.h\r\n-- Looking for include file pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - not found.\r\n-- Looking for pthread_create in pthreads\r\n-- Looking for pthread_create in pthreads - not found\r\n-- Looking for pthread_create in pthread\r\n-- Looking for pthread_create in pthread - found\r\n-- Found Threads: TRUE\r\n-- Looking for pthread_mutex_timedlock in pthread\r\n-- Looking for pthread_mutex_timedlock in pthread - found\r\n-- Looking for include file sys/eventfd.h\r\n-- Looking for include file sys/eventfd.h - found\r\n-- Looking for include file sys/eventfd.h\r\n-- Looking for include file sys/eventfd.h - found\r\n-- Looking for eventfd_read\r\n-- Looking for eventfd_read - found\r\n-- Looking for include file sys/timerfd.h\r\n-- Looking for include file sys/timerfd.h - found\r\n-- Looking for include file poll.h\r\n-- Looking for include file poll.h - found\r\n-- Looking for ceill\r\n-- Looking for ceill - found\r\n-- Finding recommended feature X11 for X11 (X11 client and server)\r\n--     Disable feature X11 using \"-DWITH_X11=OFF\"\r\n-- Found X11: /usr/lib/arm-linux-gnueabihf/libX11.so\r\n-- Skipping recommended feature Wayland for Wayland (Wayland client)\r\n-- Skipping optional feature DirectFB for DirectFB (DirectFB client)\r\n--     Enable feature DirectFB using \"-DWITH_DIRECTFB=ON\"\r\n-- Finding required feature ZLIB for compression (data compression)\r\n-- Found ZLIB: /usr/lib/arm-linux-gnueabihf/libz.so (found version \"1.2.7\")\r\n-- Finding required feature OpenSSL for cryptography (encryption, certificate validation, hashing functions)\r\n-- Found OpenSSL: /usr/lib/arm-linux-gnueabihf/libssl.so;/usr/lib/arm-linux-gnueabihf/libcrypto.so (found version \"1.0.1e\")\r\n-- Skipping optional feature OpenSLES for multimedia (OpenSLES audio / video)\r\n--     Enable feature OpenSLES using \"-DWITH_OPENSLES=ON\"\r\n-- Finding recommended feature OSS for sound (audio input, audio output and multimedia redirection)\r\n--     Disable feature OSS using \"-DWITH_OSS=OFF\"\r\n-- Found OSS Audio\r\n-- Finding recommended feature ALSA for sound (audio input, audio output and multimedia redirection)\r\n--     Disable feature ALSA using \"-DWITH_ALSA=OFF\"\r\n-- Found ALSA: /usr/lib/arm-linux-gnueabihf/libasound.so (found version \"1.0.25\")\r\n-- Skipping optional feature Pulse for sound (audio input, audio output and multimedia redirection)\r\n--     Enable feature Pulse using \"-DWITH_PULSE=ON\"\r\n-- Skipping optional feature Cups for printing (printer device redirection)\r\n--     Enable feature Cups using \"-DWITH_CUPS=ON\"\r\n-- Skipping optional feature PCSC for smart card (smart card device redirection)\r\n--     Enable feature PCSC using \"-DWITH_PCSC=ON\"\r\n-- Finding recommended feature FFmpeg for multimedia (multimedia redirection, audio and video playback)\r\n--     Disable feature FFmpeg using \"-DWITH_FFMPEG=OFF\"\r\n-- checking for module 'libavcodec'\r\n--   found libavcodec, version 54.35.0\r\n-- checking for module 'libavutil'\r\n--   found libavutil, version 52.3.0\r\n-- Found FFmpeg: TRUE\r\n-- Skipping optional feature GStreamer_0_10 for multimedia (multimedia redirection, audio and video playback, gstreamer 0.10 version)\r\n--     Enable feature GStreamer_0_10 using \"-DWITH_GSTREAMER_0_10=ON\"\r\n-- Finding recommended feature GStreamer_1_0 for multimedia (multimedia redirection, audio and video playback)\r\n--     Disable feature GStreamer_1_0 using \"-DWITH_GSTREAMER_1_0=OFF\"\r\n-- checking for module 'glib-2.0'\r\n--   found glib-2.0, version 2.40.0\r\n-- Found Glib\r\n-- checking for module 'gstreamer-1.0'\r\n--   found gstreamer-1.0, version 1.2.0\r\n-- checking for module 'gstreamer-base-1.0'\r\n--   found gstreamer-base-1.0, version 1.2.0\r\n-- checking for module 'gstreamer-app-1.0'\r\n--   found gstreamer-app-1.0, version 1.2.0\r\n-- checking for module 'gstreamer-audio-1.0'\r\n--   found gstreamer-audio-1.0, version 1.2.0\r\n-- checking for module 'gstreamer-fft-1.0'\r\n--   found gstreamer-fft-1.0, version 1.2.0\r\n-- checking for module 'gstreamer-pbutils-1.0'\r\n--   found gstreamer-pbutils-1.0, version 1.2.0\r\n-- checking for module 'gstreamer-video-1.0'\r\n--   found gstreamer-video-1.0, version 1.2.0\r\n-- Found GSTREAMER_1_0: /usr/lib/arm-linux-gnueabihf/libgstreamer-1.0.so\r\n-- Finding optional feature JPEG for codec (use JPEG library)\r\n-- Found JPEG: /usr/lib/arm-linux-gnueabihf/libjpeg.so\r\n-- Finding optional feature OpenH264 for codec (use OpenH264 library)\r\n-- Found OpenH264: /opt/openh264/lib/libopenh264.so\r\n-- Found OpenH264: /opt/openh264/lib/libopenh264.so\r\n-- Skipping optional feature GSM for codec (GSM audio codec library)\r\n--     Enable feature GSM using \"-DWITH_GSM=ON\"\r\n-- FreeRDP GIT\r\n-- Finding recommended feature XKBFile for X11 keyboard (X11 keyboard file extension)\r\n--     Disable feature XKBFile using \"-DWITH_XKBFILE=OFF\"\r\n-- Found XKBFile: /usr/lib/arm-linux-gnueabihf/libxkbfile.so\r\n-- FreeRDP GIT\r\n-- Adding dynamic channel client \"rdpei\": Input Virtual Channel Extension\r\n-- Adding static channel client server \"rdpsnd\": Audio Output Virtual Channel Extension\r\n-- Adding static channel client \"rail\": Remote Programs Virtual Channel Extension\r\n-- Adding device channel client \"smartcard\": Smart Card Virtual Channel Extension\r\n-- Adding dynamic channel client \"disp\": Display Update Virtual Channel Extension\r\n-- Adding dynamic channel client server \"audin\": Audio Input Redirection Virtual Channel Extension\r\n-- Adding device channel client \"serial\": Serial Port Virtual Channel Extension\r\n-- Adding device channel client \"drive\": Drive Redirection Virtual Channel Extension\r\n-- Adding device channel client \"parallel\": Parallel Port Virtual Channel Extension\r\n-- Adding static channel client server \"cliprdr\": Clipboard Virtual Channel Extension\r\n-- Adding static channel client server \"encomsp\": Multiparty Virtual Channel Extension\r\n-- Adding dynamic channel client server \"echo\": Echo Virtual Channel Extension\r\n-- Adding static channel client server \"rdpdr\": Device Redirection Virtual Channel Extension\r\n-- Adding static channel client server \"remdesk\": Remote Assistance Virtual Channel Extension\r\n-- Adding dynamic channel client \"rdpgfx\": Graphics Pipeline Extension\r\n-- Adding dynamic channel client \"tsmf\": Video Redirection Virtual Channel Extension\r\n-- Finding required feature XRandR for X11 randr (X11 randr extension)\r\n-- Found XRANDR: /usr/lib/arm-linux-gnueabihf/libXrandr.so\r\n-- Finding recommended feature Xext for X11 extension (X11 core extensions)\r\n--     Disable feature Xext using \"-DWITH_XEXT=OFF\"\r\n-- Found Xext: /usr/lib/arm-linux-gnueabihf/libXext.so\r\n-- Adding static channel client server \"drdynvc\": Dynamic Virtual Channel Extension\r\n-- Found DocBookXSL: /usr/share/xml/docbook/stylesheet/docbook-xsl\r\n-- Finding required feature XShm for X11 shared memory (X11 shared memory extension)\r\n-- Found XShm: /usr/lib/arm-linux-gnueabihf/libXext.so\r\n-- Finding recommended feature Xinerama for multi-monitor (X11 multi-monitor extension)\r\n--     Disable feature Xinerama using \"-DWITH_XINERAMA=OFF\"\r\n-- Found Xinerama: /usr/lib/arm-linux-gnueabihf/libXinerama.so\r\n-- Finding recommended feature Xext for X11 extension (X11 core extensions)\r\n--     Disable feature Xext using \"-DWITH_XEXT=OFF\"\r\n-- Finding recommended feature Xcursor for cursor (X11 cursor extension)\r\n--     Disable feature Xcursor using \"-DWITH_XCURSOR=OFF\"\r\n-- Found Xcursor: /usr/lib/arm-linux-gnueabihf/libXcursor.so\r\n-- Finding recommended feature Xv for video (X11 video extension)\r\n--     Disable feature Xv using \"-DWITH_XV=OFF\"\r\n-- Found Xv: /usr/lib/arm-linux-gnueabihf/libXv.so\r\n-- Finding recommended feature Xi for input (X11 input extension)\r\n--     Disable feature Xi using \"-DWITH_XI=OFF\"\r\n-- Found Xi: /usr/lib/arm-linux-gnueabihf/libXi.so\r\n-- Looking for XITouchClass\r\n-- Looking for XITouchClass - found\r\n-- Finding recommended feature Xrender for rendering (X11 render extension)\r\n--     Disable feature Xrender using \"-DWITH_XRENDER=OFF\"\r\n-- Found Xrender: /usr/lib/arm-linux-gnueabihf/libXrender.so\r\n-- Finding recommended feature Xfixes for X11 xfixes extension (Useful additions to the X11 core protocol)\r\n--     Disable feature Xfixes using \"-DWITH_XFIXES=OFF\"\r\n-- Found Xfixes: /usr/lib/arm-linux-gnueabihf/libXfixes.so\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /home/pi/FreeRDP\r\n```\r\nBuild Code\r\n```\r\npi@raspberrypi ~/FreeRDP $ sudo make\r\nScanning dependencies of target winpr\r\n[  0%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/address.c.o\r\n[  0%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/barrier.c.o\r\n[  1%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/condition.c.o\r\n[  1%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/critical.c.o\r\n[  1%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/event.c.o\r\n[  1%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/init.c.o\r\n[  2%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/mutex.c.o\r\n[  2%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/semaphore.c.o\r\n[  2%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/sleep.c.o\r\n[  2%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/srw.c.o\r\n[  3%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/timer.c.o\r\n[  3%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/wait.c.o\r\n/home/pi/FreeRDP/winpr/libwinpr/synch/wait.c: In function ‘WaitForMultipleObjects’:\r\n/home/pi/FreeRDP/winpr/libwinpr/synch/wait.c:485:25: warning: ‘signalled_idx’ may be used uninitialized in this function [-Wuninitialized]\r\n/home/pi/FreeRDP/winpr/libwinpr/synch/wait.c:446:19: warning: ‘poll_map’ may be used uninitialized in this function [-Wuninitialized]\r\n[  3%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/locale/locale.c.o\r\n[  3%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/library/library.c.o\r\n[  4%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/file/file.c.o\r\n[  4%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/file/pattern.c.o\r\n[  4%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/comm/comm.c.o\r\n...\r\n[ 69%] Building C object libfreerdp/CMakeFiles/freerdp.dir/core/gateway/ncacn_http.c.o\r\n[ 69%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/dsp.c.o\r\n[ 69%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/color.c.o\r\n[ 69%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/audio.c.o\r\n[ 70%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/planar.c.o\r\n/home/pi/FreeRDP/libfreerdp/codec/planar.c: In function ‘planar_decompress’:\r\n/home/pi/FreeRDP/libfreerdp/codec/planar.c:591:41: warning: ‘rleSizes[2]’ may be used uninitialized in this function [-Wuninitialized]\r\n/home/pi/FreeRDP/libfreerdp/codec/planar.c:588:41: warning: ‘rleSizes[1]’ may be used uninitialized in this function [-Wuninitialized]\r\n/home/pi/FreeRDP/libfreerdp/codec/planar.c:585:41: warning: ‘rleSizes[0]’ may be used uninitialized in this function [-Wuninitialized]\r\n/home/pi/FreeRDP/libfreerdp/codec/planar.c:569:41: warning: ‘rleSizes[3]’ may be used uninitialized in this function [-Wuninitialized]\r\n[ 70%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/bitmap.c.o\r\n[ 70%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/interleaved.c.o\r\n[ 71%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/progressive.c.o\r\n[ 71%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/rfx_decode.c.o\r\n[ 71%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/rfx_differential.c.o\r\n[ 71%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/rfx_dwt.c.o\r\n[ 72%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/rfx_encode.c.o\r\n[ 72%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/rfx_quantization.c.o\r\n[ 72%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/rfx_rlgr.c.o\r\n[ 72%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/rfx.c.o\r\n[ 73%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/region.c.o\r\n[ 73%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/nsc.c.o\r\n[ 73%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/nsc_encode.c.o\r\n[ 73%] Building C object libfreerdp/CMakeFiles/freerdp.dir/codec/ncrush.c.o\r\n...\r\nScanning dependencies of target rdpgfx-client\r\n[ 90%] Building C object channels/rdpgfx/client/CMakeFiles/rdpgfx-client.dir/rdpgfx_main.c.o\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_recv_caps_confirm_pdu’:\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:122:17: warning: unused variable ‘gfx’ [-Wunused-variable]\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_send_frame_acknowledge_pdu’:\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:146:17: warning: unused variable ‘gfx’ [-Wunused-variable]\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_recv_pdu’:\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:731:17: warning: unused variable ‘gfx’ [-Wunused-variable]\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_on_open’:\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:876:17: warning: unused variable ‘gfx’ [-Wunused-variable]\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c: In function ‘rdpgfx_on_close’:\r\n/home/pi/FreeRDP/channels/rdpgfx/client/rdpgfx_main.c:888:17: warning: unused variable ‘gfx’ [-Wunused-variable]\r\n[ 90%] Building C object channels/rdpgfx/client/CMakeFiles/rdpgfx-client.dir/rdpgfx_codec.c.o\r\n[ 91%] Building C object channels/rdpgfx/client/CMakeFiles/rdpgfx-client.dir/rdpgfx_common.c.o\r\nLinking C static library librdpgfx-client.a\r\n[ 91%] Built target rdpgfx-client\r\nScanning dependencies of target tsmf-client\r\n[ 91%] Building C object channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_audio.c.o\r\n[ 91%] Building C object channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_codec.c.o\r\n[ 92%] Building C object channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_decoder.c.o\r\n[ 92%] Building C object channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_ifman.c.o\r\n[ 92%] Building C object channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_main.c.o\r\n[ 92%] Building C object channels/tsmf/client/CMakeFiles/tsmf-client.dir/tsmf_media.c.o\r\nLinking C static library libtsmf-client.a\r\n[ 92%] Built target tsmf-client\r\nScanning dependencies of target tsmf-client-ffmpeg-decoder\r\n[ 92%] Building C object channels/tsmf/client/ffmpeg/CMakeFiles/tsmf-client-ffmpeg-decoder.dir/tsmf_ffmpeg.c.o\r\nLinking C static library libtsmf-client-ffmpeg-decoder.a\r\n[ 92%] Built target tsmf-client-ffmpeg-decoder\r\nScanning dependencies of target tsmf-client-gstreamer-decoder\r\n[ 92%] Building C object channels/tsmf/client/gstreamer/CMakeFiles/tsmf-client-gstreamer-decoder.dir/tsmf_gstreamer.c.o\r\n[ 92%] Building C object channels/tsmf/client/gstreamer/CMakeFiles/tsmf-client-gstreamer-decoder.dir/tsmf_X11.c.o\r\n/home/pi/FreeRDP/channels/tsmf/client/gstreamer/tsmf_X11.c: In function ‘get_shm_id’:\r\n/home/pi/FreeRDP/channels/tsmf/client/gstreamer/tsmf_X11.c:69:2: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ [-Wformat]\r\n/home/pi/FreeRDP/channels/tsmf/client/gstreamer/tsmf_X11.c:69:2: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ [-Wformat]\r\nLinking C static library libtsmf-client-gstreamer-decoder.a\r\n[ 92%] Built target tsmf-client-gstreamer-decoder\r\nScanning dependencies of target tsmf-client-oss-audio\r\n[ 93%] Building C object channels/tsmf/client/oss/CMakeFiles/tsmf-client-oss-audio.dir/tsmf_oss.c.o\r\nLinking C static library libtsmf-client-oss-audio.a\r\n[ 93%] Built target tsmf-client-oss-audio\r\nScanning dependencies of target tsmf-client-alsa-audio\r\n[ 94%] Building C object channels/tsmf/client/alsa/CMakeFiles/tsmf-client-alsa-audio.dir/tsmf_alsa.c.o\r\nLinking C static library libtsmf-client-alsa-audio.a\r\n[ 94%] Built target tsmf-client-alsa-audio\r\nScanning dependencies of target drdynvc-client\r\n[ 94%] Building C object channels/drdynvc/client/CMakeFiles/drdynvc-client.dir/drdynvc_main.c.o\r\nLinking C static library libdrdynvc-client.a\r\n[ 94%] Built target drdynvc-client\r\nScanning dependencies of target freerdp-client\r\n[ 94%] Building C object client/common/CMakeFiles/freerdp-client.dir/client.c.o\r\n[ 95%] Building C object client/common/CMakeFiles/freerdp-client.dir/cmdline.c.o\r\n[ 95%] Building C object client/common/CMakeFiles/freerdp-client.dir/compatibility.c.o\r\n[ 95%] Building C object client/common/CMakeFiles/freerdp-client.dir/file.c.o\r\n[ 96%] Building C object client/common/CMakeFiles/freerdp-client.dir/__/__/channels/client/tables.c.o\r\n[ 96%] Building C object client/common/CMakeFiles/freerdp-client.dir/__/__/channels/client/addin.c.o\r\nLinking C shared library libfreerdp-client.so\r\n[ 96%] Built target freerdp-client\r\nScanning dependencies of target generate_argument_docbook\r\n[ 96%] Building C object client/X11/CMakeFiles/generate_argument_docbook.dir/generate_argument_docbook.c.o\r\nLinking C executable generate_argument_docbook\r\n[ 96%] Built target generate_argument_docbook\r\nScanning dependencies of target xfreerdp-client\r\n[ 96%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_gdi.c.o\r\n[ 96%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_gfx.c.o\r\n[ 97%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_rail.c.o\r\n[ 97%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_tsmf.c.o\r\n[ 97%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_input.c.o\r\n[ 97%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_event.c.o\r\n[ 98%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_channels.c.o\r\n[ 98%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_cliprdr.c.o\r\n[ 98%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_monitor.c.o\r\n[ 98%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_graphics.c.o\r\n[ 99%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_keyboard.c.o\r\n[ 99%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_window.c.o\r\n/home/pi/FreeRDP/client/X11/xf_window.c: In function ‘get_shm_id’:\r\n/home/pi/FreeRDP/client/X11/xf_window.c:339:2: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ [-Wformat]\r\n/home/pi/FreeRDP/client/X11/xf_window.c:339:2: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘DWORD’ [-Wformat]\r\n[ 99%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_client.c.o\r\nLinking C shared library libxfreerdp-client.so\r\n[ 99%] Built target xfreerdp-client\r\nScanning dependencies of target xfreerdp.manpage\r\n[100%] Generating xfreerdp.1\r\nNote: Writing xfreerdp.1\r\n[100%] Built target xfreerdp.manpage\r\nScanning dependencies of target xfreerdp-cli\r\n[100%] Building C object client/X11/cli/CMakeFiles/xfreerdp-cli.dir/xfreerdp.c.o\r\nLinking C executable ../xfreerdp\r\n[100%] Built target xfreerdp-cli\r\n```\r\n\r\n\r\n\r\n### Here is my test environment.\r\nDevice: Raspberry Pi 2\r\n```\r\npi@raspberrypi ~ $ uname -a\r\nLinux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux\r\n```\r\n```\r\npi@raspberrypi ~ $ cat /etc/*-release\r\nPRETTY_NAME=\"Raspbian GNU/Linux 7 (wheezy)\"\r\nNAME=\"Raspbian GNU/Linux\"\r\nVERSION_ID=\"7\"\r\nVERSION=\"7 (wheezy)\"\r\nID=raspbian\r\nID_LIKE=debian\r\nANSI_COLOR=\"1;31\"\r\nHOME_URL=\"http://www.raspbian.org/\"\r\nSUPPORT_URL=\"http://www.raspbian.org/RaspbianForums\"\r\nBUG_REPORT_URL=\"http://www.raspbian.org/RaspbianBugs\"\r\n```\r\n```\r\npi@raspberrypi ~ $ more /etc/debian_version\r\n7.8\r\n```\r\n```\r\npi@raspberrypi ~ $ uname -a\r\nLinux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux\r\n```\r\nFreeRDP version: 1.2.4-dev (git dfa2980)\r\n\r\nThe dependencies i installed for FreeRDP\r\n```\r\nsudo apt-get install build-essential git-core cmake libssl-dev libx11-dev libxext-dev libxinerama-dev libxcursor-dev libxdamage-dev libxv-dev libxkbfile-dev libasound2-dev libcups2-dev libxml2 libxml2-dev libxrandr-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libxi-dev libavutil-dev libavcodec-dev libxtst-dev libgtk-3-dev libgcrypt11-dev libssh-dev libpulse-dev libvte-2.90-dev libxkbfile-dev libfreerdp-dev libtelepathy-glib-dev libjpeg-dev libgnutls-dev libgnome-keyring-dev libavahi-ui-gtk3-dev libvncserver-dev libappindicator3-dev intltool libgstreamer-plugins-base1.0-dev xsltproc docbook-xsl\r\n```\r\nThe command i use to remote.\r\n```\r\nxfreerdp -sec-nla /cert-ignore /u: /f /drive:*,hotplug /network:modem /rfx /gfx +gfx-h264 +gfx-thin-client -offscreen-cache +async-update +fonts /v:192.168.0.1\r\n```\r\n\r\n\r\n### Question:\r\n1 About OpenH264, i installed it by using below command. Is it correct?\r\n```\r\nsudo make\r\nsudo make install PREFIX=/opt/openh264\r\n```\r\n2 How can i fix OpenH264 error shows above?\r\n3 Do i need to fix the error prompted while building the FreeRDP?\r\n4 Is there any other library that i need to install?\r\n\r\nPlease advice.\r\n\r\nThank you very much."},"comment":{"url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/comments/140030183","html_url":"https://github.com/FreeRDP/FreeRDP/issues/2819#issuecomment-140030183","issue_url":"https://api.github.com/repos/FreeRDP/FreeRDP/issues/2819","id":140030183,"user":{"login":"akallabeth","id":3472254,"avatar_url":"https://avatars.githubusercontent.com/u/3472254?v=3","gravatar_id":"","url":"https://api.github.com/users/akallabeth","html_url":"https://github.com/akallabeth","followers_url":"https://api.github.com/users/akallabeth/followers","following_url":"https://api.github.com/users/akallabeth/following{/other_user}","gists_url":"https://api.github.com/users/akallabeth/gists{/gist_id}","starred_url":"https://api.github.com/users/akallabeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akallabeth/subscriptions","organizations_url":"https://api.github.com/users/akallabeth/orgs","repos_url":"https://api.github.com/users/akallabeth/repos","events_url":"https://api.github.com/users/akallabeth/events{/privacy}","received_events_url":"https://api.github.com/users/akallabeth/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T10:26:44Z","updated_at":"2015-09-14T10:26:44Z","body":"@RexFan So it seems that Windows 2012 R2 is affected by this bug too. I can only recommend disabling H264 until this is fixed by ms."}}