Just an example: While watching a movie through RTSP streaming or playing a local file, in a specific scene appears a car. I would like to show a cars' advertisement in this moment. I think that the best way to achieve it is to add metadata to the file and then process it in some way in the receiver side, just as subtitles.
I would like you to tell me what technologies, software like video editors or ideas you know or have experience with that could help to get this working. Maybe MPEG-7? MPEG encapsulation? Future VLC releases

Thanks for your time,
Javi