I'm trying to implement application which will list available video files and it can play any of them.
(1)The question is: I want videos to be built into the app, I want to play any by choosing it with GUI.
Playback: I've tried Phonon::VideoPlayer and QMovie classes, each one plays movie when compiled on windows. Have not tested on Symbian yet.
Resources: I've tried to compile video files into resource. I've added each file to the .qrc file. After a compilation there is a .cpp file containing byte arrays for each file.
(2)The question is: I can load image from resources, but I can not load a video file. I've tried QFileInfo(":/video/some.mp4"), and exists() returns true. But trying QMovie(":/video/some.mp4"), ->frameCount returns -1. Phonon::VideoPlayer does not play it too.
So, can you help me with the main question (1) or the derivated one (2), please?
Thanks in advance,
AI aka SAns.