(This is a repost with added information) I'm using Android's screenrecord to stream the device screen via adb and pipe the output to ffplay 3.4. It works great using OS X via the command:
adb shell screenrecord --bit-rate=16m --output-format=h264 --size 800x600 - | ffplay -framerate 60 -framedrop -bufsize 60M - Windows 10 is a different story. I get a blurred out screen and the following stream of errors: ffplay version 3.4 Copyright (c) 2003-2017 the FFmpeg developers built with gcc 7.2.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 [h264 @ 000002a5f08320c0] negative number of zero coeffs at 9 6/0 [h264 @ 000002a5f08320c0] error while decoding MB 9 6 [h264 @ 000002a5f08320c0] concealing 1640 DC, 1640 AC, 1640 MV errors in I frame [h264 @ 000002a5f08320c0] negative number of zero coeffs at 44 7 [h264 @ 000002a5f08320c0] error while decoding MB 44 7 [h264 @ 000002a5f08320c0] concealing 1555 DC, 1555 AC, 1555 MV errors in P frame [h264 @ 000002a5f08320c0] out of range intra chroma pred mode [h264 @ 000002a5f08320c0] error while decoding MB 12 7 [h264 @ 000002a5f08320c0] concealing 1587 DC, 1587 AC, 1587 MV errors in P frame [h264 @ 000002a5f08320c0] out of range intra chroma pred mode [h264 @ 000002a5f08320c0] error while decoding MB 49 6 [h264 @ 000002a5f08320c0] concealing 1600 DC, 1600 AC, 1600 MV errors in P frame [h264 @ 000002a5f08320c0] mb_type 260 in P slice too large at 11 11 [h264 @ 000002a5f08320c0] error while decoding MB 11 11 [h264 @ 000002a5f08320c0] concealing 1388 DC, 1388 AC, 1388 MV errors in P frame [h264 @ 000002a5f08320c0] out of range intra chroma pred mode [h264 @ 000002a5f08320c0] error while decoding MB 24 16 [h264 @ 000002a5f08320c0] concealing 1125 DC, 1125 AC, 1125 MV errors in P frame Input #0, h264, from 'pipe:':q= 0KB vq= 0KB sq= 0B f=0/0 Duration: N/A, bitrate: N/A nan : 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0 Stream #0:0: Video: h264 (Baseline), yuv420p(tv, bt470bg/bt470bg/smpte170m, progressive), 800x600, 30 fps, 30 tbr, 1200k tbn, 60 tbc [h264 @ 000002a5f144e4c0] negative number of zero coeffs at 9 6 [h264 @ 000002a5f144e4c0] error while decoding MB 9 6 [h264 @ 000002a5f144e4c0] concealing 1640 DC, 1640 AC, 1640 MV errors in I frame [h264 @ 000002a5f10500a0] negative number of zero coeffs at 44 7 [h264 @ 000002a5f10500a0] error while decoding MB 44 7 [h264 @ 000002a5f10500a0] concealing 1555 DC, 1555 AC, 1555 MV errors in P frame [h264 @ 000002a5f1050840] out of range intra chroma pred mode [h264 @ 000002a5f1050840] error while decoding MB 12 7 [h264 @ 000002a5f1050840] concealing 1587 DC, 1587 AC, 1587 MV errors in P frame [h264 @ 000002a5f0e500a0] out of range intra chroma pred mode [h264 @ 000001f5df14e5e0] cbp too large (51) at 43 7= 0B f=0/0 [h264 @ 000001f5df14e5e0] error while decoding MB 43 7 [h264 @ 000001f5df14e5e0] concealing 1556 DC, 1556 AC, 1556 MV errors in P frame [h264 @ 000001f5de6c9980] cbp too large (51) at 43 7= 0B f=0/0 [h264 @ 000001f5de6c9980] error while decoding MB 43 7 [h264 @ 000001f5de6c9980] concealing 1556 DC, 1556 AC, 1556 MV errors in P frame [ h264 @ 000001f5df338b20] cbp too large (51) at 18 7= 0B f=0/0 [h264 @ 000001f5df338b20] error while decoding MB 18 7 [h264 @ 000001f5df338b20] concealing 1581 DC, 1581 AC, 1581 MV errors in P frame [h264 @ 000001f5de618f20] cbp too large (60) at 30 8= 0B f=0/0 [h264 @ 000001f5de618f20] error while decoding MB 30 8 [h264 @ 000001f5de618f20] concealing 1519 DC, 1519 AC, 1519 MV errors in P frame [h264 @ 000001f5de5f9120] cbp too large (151) at 15 11 0B f=0/0 [h264 @ 000001f5de5f9120] error while decoding MB 15 11 [h264 @ 000001f5de5f9120] concealing 1384 DC, 1384 AC, 1384 MV errors in P frame [h264 @ 000001f5df14e5e0] cbp too large (51) at 17 8= 0B f=0/0 [h264 @ 000001f5df14e5e0] error while decoding MB 17 8 [h264 @ 000001f5df14e5e0] concealing 1532 DC, 1532 AC, 1532 MV errors in P frame _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
