When you open input file with avformat_open_input function and find decoder
based on previously populated format context structure using
av_find_decoder ,width and height should be in codex context structure. I
had no problems decoding h264.
On Apr 13, 2016 11:36 AM, "Chen Fisher" <[email protected]> wrote:

> 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
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to