Open radhikat opened 7 years ago
Uncompressed video frames from your protocol?
Well, they are h.264. I extract it from the protocol, and write it to file (processing the NAL units, FU etc.. )It plays back from file.
It could theoretically also be using a different video/audio protocol, that I would know in advance. So, to answer your question, uncompressed.
You can implement MediaIO class or QIODevice class and let player play from it.
Hi,
I get video frames encapsulated in a certain protocol. I extract the frames, one by one, sometimes more as one and want to play them. Sometimes a lot of frames are recieved, sometimes fewer. Currently, I am writing them to a file and using the AV Player (QML) to play the file. However, when for sometime no data comes in, the player of course stops. Also, this is not the ideal solution for me. I do not want to save to file. When something comes in, I want to play it. If nothing is recieved for a while, nothing is played. Could you suggest how this can be achieved using QTAV?
Thanks a lot!