Hi, > >> > AVERROR(EINVAL); > > > > Fixed. > > Actually I think aborting is this case is bad idea. I'm don't know how to reset lowres to 0 for rawvideo to get not broken output when lowres is enabled. Regards