accept NAL-unit stream as input