input: use AVInput in AVPlayer and AVDemuxer