OS 772 then FR 947 at Vienna
Sofia → Vienna → Krakow
Timetable, Vienna time
13:10OS 772 from Sofia at the gate
08:30FR 947 to Krakow leaves the gate
19 h 20 apart on the timetable, overnight
FR 947 leaves 19 h 20 after OS 772 arrives on the timetable: more than half a day, so not a connection we count.