Ticket #465 (closed defect: invalid)
Incorrect height after avcodec_open
| Reported by: | DonMoir | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | unspecified | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | yes |
Description
With the attached file, the AVCodecContext height is wrong after you do avcodec_open. Before you call avcodec_open the height is correct. When rendering, the frame has the correct height. The correct height for this file is 216. After avcodec_open, the AVCodecContext height is 224.
I have not noticed this problem with any other file. ffplay gets this wrong. Problem occurs with any ffmpeg build I have tried.
Attachments
Change History
comment:2 Changed 17 months ago by saste
- Analyzed by developer set
- Status changed from new to closed
- Resolution set to invalid
Closing the ticket as I don't have enough information for analyzing it, ffprobe/ffplay/ffmpeg all seem to correctly interpret the size of the video stream.
Please provide a minimal code sample if the problem is related to the API.



