Unsolved QVideoProbe not working with wmv files
-
I tried to use QVideoProbe to process frames from video files. However, when I try to process wmv files, it doesn't work. I tried to use this example(https://doc.qt.io/qt-5/qvideoprobe.html), but the slot processFrame(QVideoFrame) doesn't send a proper QVideoFrame. I checked that videoFrameProbed(QVideoFrame) signal was emitted, but the received QVideoFrame had a size of (-1,-1) and a pixel format of "Format_Invalid". Is this a problem with the wmv files I used, or do I need to do some procedures(i.e. map) to properly use the QVideoProbe?
-
@JK3WN On what OS are you?
-
@jsulm Windows 10.
Additional Info
Windows Media Foundation
Qt 5.15.2
MSVC2019 64bit -
@JK3WN Do other formats work?
-
@jsulm Yes. I checked that it works with mov, mp4, mts files.
Edit: It seems like videos that are encoded with H264 are working ok, but videos encoded with msmpeg4v3 are not working. Maybe this is the real problem?