Increased demux retries before fail from 10 to 100. Now using av_find_best_stream to determine what streams to use.