Record different video with different source

This is a known bug for Deepstream 5.0GA, and it has been fixed with DeepStream5.0.1. Please upgrade to DeepStream5.0.1.
Announcing DeepStream 5.0.1 - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums