FR 12 then OS 729 at Vienna
Barcelona → Vienna → Sarajevo
Timetable, Vienna time
13:25FR 12 from Barcelona at the gate
12:55OS 729 to Sarajevo leaves the gate
23 h 30 apart on the timetable, overnight
OS 729 leaves 23 h 30 after FR 12 arrives on the timetable: more than half a day, so not a connection we count.