FR 775 then LA 5792 at Barcelona
Torino → Barcelona → Venezia
Timetable, Barcelona time
20:00FR 775 from Torino at the gate
19:40LA 5792 to Venezia leaves the gate
23 h 40 apart on the timetable, overnight
LA 5792 leaves 23 h 40 after FR 775 arrives on the timetable: more than half a day, so not a connection we count.