Methods and systems for processing vehicle to everything (V2X) messages for use by machine learning applications are disclosed. From each of a plurality of vehicles, one or more V2X messages are received, each V2X message including vehicle-related data associated with the vehicle and the received message. A sequence of frames is generated based on the vehicle-related data from at least a subset of vehicles in the plurality of vehicles. Slices of the sequence of frames are aggregated to generate a plurality of time-lapse images. One or more time-lapse images are processed using a machine learning algorithm to generate an output indicative of a traffic-related prediction.