qt sample of player: win10 and ubuntu show different .
-
wrote on 1 Feb 2020, 07:28 last edited by aha_1980 2 Jan 2020, 09:31
-
wrote on 1 Feb 2020, 10:15 last edited by
I understand what causes these types of errors but it doesn't help your problem. What happens if you reencode the video source using a different codec? go from h264 to MJPEG or divx or raw yuv? What is the codec type of the original clip?
-
wrote on 1 Feb 2020, 11:18 last edited by
Another thing you should do is to view the clip in linux using vlc or mplayer or ffplay directly. That will let you know if the problem is the clip, vlc, or the Qt media module. IIRC, vlc is the default backend media processor in Qt/Linux.
-
Another thing you should do is to view the clip in linux using vlc or mplayer or ffplay directly. That will let you know if the problem is the clip, vlc, or the Qt media module. IIRC, vlc is the default backend media processor in Qt/Linux.
@Kent-Dorfman no, QtMultimedia uses GStreamer on Linux.
-
wrote on 1 Feb 2020, 22:06 last edited by
Thanks Kent-Dorfman! Thanks SGaist!
It's ok for me to play the other files in player.The difference between these files is that the abnormal files have an odd width and the others are even.I don't think that's the reason, but that's the only difference.And, when I convert qt_imageFromVideoFrame to image, only this file gets an exception.So, is it true that when you use qt_imageFromVideoFrame, the width cannot be odd and must be a multiple of 4? -
wrote on 6 Feb 2020, 02:10 last edited by
Anybody know why?
-
I must say that I haven't seen an odd sized video for a long time. Is it possible to share that file or at least a clip of it ?