500 km
To be honest, it's probably better to fly, but if you want to take the train, you will need to take a train first from Barcelona to Venice in Italy. Then you will need to take the train from Venice to Vienna.
According to Rail Europe, distributor of train tickets and rail passes, approximately between 7 and 10 hours.
lyon - vienna
Vienna is the capital of Austria. Venice is in north-eastern Italy, on the Adriatic Sea.
5
about 3 hours by train
4 hours
The flight distance from Venice, Italy to Vienna, Austria is: 270 miles / 435 km
San Mariano is in the Philippines (according to Wikipedia). There is no way you can get a train there from Venice!
a few hours
How long it takes to get from Venice to Brindisi on the train depends on the service. It can take between 8.5 and 9.5 hours to travel between the two cities.
On the high-speed day train the trip from Paris to Venice will take around 4 and a half hours while if you take the night train, it will be around 12 hours.