I'm having a weird problem after compiling ffmpeg release/3.0 from source After calling avcodec_open2, the codec context width is 6 and height is 1280 while the right width should have been 960 Any ideas? Thanks Chen