5 ms·
Is there a quick link to supported media formats? I will see if I can find it. It looks like (as of early 2016 at least) it is platform-dependent, which makes
by j_s 9y ago
Is there a quick link to supported media formats? I will see if I can find it.
It looks like (as of early 2016 at least) it is platform-dependent, which makes sense but kind of takes away the appeal for me.
https://forum.qt.io/topic/57675/which-file-formats-or-codecs-does-qmediaplayer-support/3 https://forum.qt.io/topic/57675/which-file-formats-or-codecs...
https://forum.qt.io/topic/63110/list-of-video-formats-qt-supports/7 https://forum.qt.io/topic/63110/list-of-video-formats-qt-sup...
- makmanalp 9y agoEr, sorry, yes, the video /formats/ are unfortunately defined by the available media encoder backends, but it's more that I don't have to write any platform or media backend specific code to e.g. show video from a webcam, have a video player control, or record and save audio, etc etc. So your code remains the same, all you need to do is bundle codecs when shipping, or make sure you use formats that the default media backends of most platforms support. This might help: https://wiki.qt.io/Qt_5.5.0_Multimedia_Backends https://wiki.qt.io/Qt_5.5.0_Multimedia_Backends If you get a format that all of Directshow(win), AV Foundation(osx) and Gstreamer(linux) support, you're pretty much set. Something like mp4 container with h.264 video and mp3 audio is pretty standard these days.