As an experiment I have rewritten avplay to use Qt instead of SDL, and
it seems to be working fine.
Except I have ONE video (320x240 footage from an old security camera)
that is playing upside down. It plays normally in ffplay and vlc, so I'm
not quite sure how they are detecting that it should be flipped vertically.
I have verified that there is no AV_PKT_DATA_DISPLAYMATRIX for the video
stream, and when I get my output image, AVFrame linesize is not
negative. I don't think there is another way of knowing if the video is
upside down. But given avplay.c and ffmpeg.c are very similar, I don't
know where else to look.
Can anyone point me in the right direction?
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api