Opened 9 months ago

Last modified 8 months ago

#10484 new defect

FFmpeg does not work with Windows 10 with RDP session disconnected

Reported by: shweta Owned by:
Priority: normal Component: ffmpeg
Version: 5.1.2 Keywords: FFmpeg, Windows 10, RDP disconnected
Cc: shweta Blocked By:
Blocking: Screen Recording when RDP session is disconnected Reproduced by developer: no
Analyzed by developer: no

Description

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"

Attachments (1)

ffmpeg (1).log (2.1 KB ) - added by shweta 9 months ago.

Download all attachments as: .zip

Change History (2)

by shweta, 9 months ago

Attachment: ffmpeg (1).log added

comment:1 by Leo Izen, 8 months ago

Priority: criticalnormal
Note: See TracTickets for help on using tickets.