Try to guess input length for lavf input