FR 8385 then FR 878 at Barcelona
Budapest → Barcelona → Venezia
Timetable, Barcelona time
18:00FR 8385 from Budapest at the gate
08:30FR 878 to Venezia leaves the gate
14 h 30 apart on the timetable, overnight
FR 878 leaves 14 h 30 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.