[FFmpeg-user] FFmpeg do not activate stream capture on MS Surface Pro 7 Rear camera
IT
it at quality-partner.be
Wed Feb 19 10:28:08 EET 2020
Hi,
MS Surface Pro 7 rear camera does not activate when trying to capture stream.
This is the command I am using :
ffmpeg.exe -f dshow -i video="Surface Camera Rear" -f mpeg1video http://127.0.0.1:8082/test/640/360
ffmpeg version git-2020-02-16-8578433 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --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-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 41.100 / 56. 41.100
libavcodec 58. 70.100 / 58. 70.100
libavformat 58. 38.101 / 58. 38.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 76.100 / 7. 76.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Same command with Front camera is activating the stream :
ffmpeg.exe -f dshow -framerate 29.97 -i video="Surface Camera Front" -f mpeg1video http://127.0.0.1:8082/test/640/360
ffmpeg version git-2020-02-16-8578433 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --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-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 41.100 / 56. 41.100
libavcodec 58. 70.100 / 58. 70.100
libavformat 58. 38.101 / 58. 38.101
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 76.100 / 7. 76.100
libswscale 5. 6.100 / 5. 6.100
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, dshow, from 'video=Surface Camera Front':
Duration: N/A, start: 277359.143000, bitrate: N/A
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x360, 30 fps, 30 tbr, 10000k tbn, 10000k tbc
Stream mapping:
Stream #0:0 -> #0:0real-time buffer [Surface Camera Front] [video input] too full or near too full (90% of size: 3041280 [rtbufsize parameter])! frame dropped!
(rawvideo (native) -> mpeg1video (native))
Press [q] to stop, [?] for help
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (90% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 1 times
Output #0, mpeg1video, to 'http://127.0.0.1:8082/test/640/360':
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (106% of size: 3041280 [rtbufsize parameter])! frame dropped!
Metadata:
encoder : Lavf58.38.101
Stream #0:0: Video: mpeg1video, yuv420p, 640x360, q=2-31, 200 kb/s, 30 fps, real-time buffer [Surface Camera Front] [video input] too full or near too full (106% of size: 3041280 [rtbufsize parameter])! frame dropped!
30 tbn, 30 tbc
Metadata:
encoder : real-time buffer [Surface Camera Front] [video input] too full or near too full (106% of size: 3041280 [rtbufsize parameter])! frame dropped!
Lavc58.70.100 mpeg1video
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (106% of size: 3041280 [rtbufsize parameter])! frame dropped!
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/Areal-time buffer [Surface Camera Front] [video input] too full or near too full (106% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (90% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (90% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (90% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (90% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (90% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (90% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (106% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (75% of size: 3041280 [rtbufsize parameter])! frame dropped!
Last message repeated 1 times
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (106% of size: 3041280 [rtbufsize parameter])! frame dropped!
frame= 2796 fps= 29 q=16.4 Lsize= 2676kB time=00:01:33.16 bitrate= 235.3kbits/s dup=890 drop=86 speed=0.979x
video:2676kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
[dshow @ 000001fecd259a00] real-time buffer [Surface Camera Front] [video input] too full or near too full (106% of size: 3041280 [rtbufsize parameter])! frame dropped!
Exiting normally, received signal 2.
Any help would be appreciated.
Regards,
Benoit
More information about the ffmpeg-user
mailing list