Qt: Add some more video formats

This commit is contained in:
Jeffrey Pfau 2014-11-10 04:52:34 -08:00
parent 9f5df2a6f2
commit 04af84a1d2
2 changed files with 15 additions and 0 deletions

View File

@ -25,7 +25,12 @@ VideoView::VideoView(QWidget* parent)
s_acodecMap["uncompressed"] = "pcm_s16le";
}
if (s_vcodecMap.empty()) {
s_vcodecMap["dirac"] = "libschroedinger";
s_vcodecMap["h264"] = "libx264";
s_vcodecMap["hevc"] = "libx265";
s_vcodecMap["theora"] = "libtheora";
s_vcodecMap["vp8"] = "libvpx";
s_vcodecMap["vp9"] = "libvpx-vp9";
s_vcodecMap["xvid"] = "libxvid";
}
if (s_containerMap.empty()) {

View File

@ -39,6 +39,11 @@
<string>MKV</string>
</property>
</item>
<item>
<property name="text">
<string>WebM</string>
</property>
</item>
<item>
<property name="text">
<string>AVI</string>
@ -66,6 +71,11 @@
<string>h.264</string>
</property>
</item>
<item>
<property name="text">
<string>VP8</string>
</property>
</item>
<item>
<property name="text">
<string>Xvid</string>