read info from y4m file when setting up data structures instead of reading a complete frame