Hi all. I happy visit this great Forum.
I have a question:
I use this example for playing Video
container->setGeomerty(0,0,1280,1024);
connect(mp, SIGNAL(finished(int)),this, SLOT(endPlay(int)));
QString command
=" -wid "+QString::number(container
->winId
())+" -slave "+playfile;
mp->start("mplayer "+command);
QX11EmbedContainer *container=new QX11EmbedContainer(this);
container->setGeomerty(0,0,1280,1024);
QProcess *mp=new QProcess(container);
connect(mp, SIGNAL(finished(int)),this, SLOT(endPlay(int)));
QString command=" -wid "+QString::number(container->winId())+" -slave "+playfile;
mp->start("mplayer "+command);
To copy to clipboard, switch view to plain text mode
It plays good, but it is allways Ignored aspect ratio.
Any video which plays are shows as 5:4 ratio same that setGeomerty set.
How enable 4:3 ratio as allways play?
Thank you for replays.
PS: Sorry for my bad English.
Bookmarks