Intelligent Video Ingestion for Real-time Traffic Monitoring