clean into AvInputVideo: remove selected stream attribute and set packet size directly from frame size