Implement stream mapping while encoding both audio and video

Remove deprecated code from ffprober