[Libav-user] Wrong width when decoding h264

Luka Petrinsak lukapetrinsakx at gmail.com
Fri Apr 15 07:23:09 CEST 2016


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" <chen.fisher at gmail.com> 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
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160415/4cb0cfeb/attachment.html>


More information about the Libav-user mailing list