[Libav-user] Field order

Nisar Ahmed nisar.med at gmail.com
Mon May 18 13:31:39 CEST 2015


In all of the movies I have, this field is not set so what do i do to find
the field order and fix the artifact?


On Mon, May 18, 2015 at 4:25 PM, Hendrik Leppkes <h.leppkes at gmail.com>
wrote:

> On Mon, May 18, 2015 at 1:17 PM, Nisar Ahmed <nisar.med at gmail.com> wrote:
> > While decoding, libav is producing a different field order for some
> movies
> > which is resulting in interlacing artefacts on the output screen. I tried
> > finding field order information inside AVCodecContext->field_order and
> > AVFrame->top_field_first but both values are always set to AV_FIELD_BT
> and 0
> > respectively.
> >
> > I need to know which field order then file will decode with so that I can
> > make conversion or can I ask libav to do that.
> >
>
> AVFrame->top_field_first is what you want to look at. If its not set,
> then the video stream in question may simply not have any field order
> information.
>
> - Hendrik
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150518/80470de7/attachment.html>


More information about the Libav-user mailing list