[FFmpeg-trac] #6958(avformat:new): ffprobe can show correct coded_height for h264 1080p videos

FFmpeg trac at avcodec.org
Thu Jan 11 11:45:58 EET 2018


#6958: ffprobe can show correct coded_height for h264 1080p videos
-------------------------------------+------------------------------------
             Reporter:  lizhong1008  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  1            |
-------------------------------------+------------------------------------
Changes (by lizhong1008):

 * analyzed:  0 => 1


Comment:

 Looks like it is a regression issue, checking it with an old version
 ffmpeg/ffprobe (such as ffmpeg 2.8.13), ffprobe can show correct
 coded_height (1088). It is due to codec->coded_width/coded_height haven't
 been passed to AVCodecParameters for the latest ffmpeg, then
 coded_width/coded_height will be reset by avcodec_open2 with width/height.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6958#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list