c++ - Playing *.avi files with Qt -


i trying play *.avi file (~900mb) code:

qmediaplayer* player = new qmediaplayer(this); player->setmedia(qurl::fromlocalfile("mes1.avi")); player->setvideooutput(ui->videowidget); player->play(); 

where ui->videowidget qvideowidget , every time play getting error code (in application output console)

since google doesn't help, choice...

directshowplayerservice::dorender: unresolved error code 0x80040266 (idispatch error #102) 

edit1: have installed k-lite codec pack 12.2.6.

edit2: application 32bit, shouldn't problem since k-lite include 32bit (source).

use vlc-qt, , find easy play sorts of video on platforms, xp, has been abandoned qt long time ago.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -