[FFmpeg-trac] #10484(ffmpeg:new): FFmpeg does not work with Windows 10 with RDP session disconnected
FFmpeg
trac at avcodec.org
Tue Jul 25 11:37:40 EEST 2023
#10484: FFmpeg does not work with Windows 10 with RDP session disconnected
-------------------------------------+-------------------------------------
Reporter: shweta | Type: defect
Status: new | Priority: critical
Component: ffmpeg | Version: 5.1.2
Keywords: FFmpeg, | Blocked By:
Windows 10, RDP disconnected |
Blocking: Screen | Reproduced by developer: 0
Recording when RDP session is |
disconnected |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
Launch FFmpeg from an application and before launching ffmpeg disconnect
the RDP session. This happens only with Windows 10 , on other OS ( like
Windows 2016, 2012, 2019 ) it works fine.
If the RDP session is disconnected ffmpeg crashes with error:
[gdigrab @ 000001afc3f8c480] Failed to capture image (error 5)
[gdigrab @ 000001afc3f8c480] Could not find codec parameters for stream 0
(Video: bmp, none, 312106 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and
'probesize' (5000000) options
Input #0, gdigrab, from 'desktop':
Command used to run ffmpeg:
ffmpeg -loglevel error -f gdigrab -framerate 15 -i desktop -c:v libx264
-crf 1 -maxrate 800k -bufsize 2M -preset ultrafast -pix_fmt yuv420p
-color_range 2 -f segment -segment_time 300 -reset_timestamps 1
-segment_wrap 2 "C:\\test\\1%d.mp4"
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10484>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list