Hi, I have extended QAbstractVideoSurface. I want to be able to process input frames from a video and process them in the original format of the video.
For testing purposes I have generated a video using the ffmpeg command: ffmpeg -f lavfi -i rgbtestsrc -pix_fmt yuv420p -t 60 rgbtestsrc.mp4 This command generates 60 secs of video with a rgb test source and makes the frames in the pixel format yuv420p I’m opening this video with QMediaPlayer and setting the video surface I have created to the media player. On present I’m receiving the video frames but these are as follow: QVideoFrame(QSize(320, 240), Format_ARGB32, NoHandle, NotMapped, [no timestamp]) I was expecting to have the frames in Format_YUV420P format. Is there anyway of getting the original frames of the video without them to be converted to ARGB32? Thanks! Nuno
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest