The API can't handle the path what you gave at
mediaFile = new File(mediaStorageDir.getPath() + File.separator+ "VID_" + timeStamp + ".mp4");
try with:
mediaFile = new File(mediaStorageDir.getPath() + "VID_" + timeStamp + ".mp4");
maybe it will solve it or do a simpler time format:
mediaFile = new File(mediaStorageDir.getPath() + File.separator+ "VID_temp.mp4");