Incorporate process with output data
-
I have a program that transmits a video output, I wanted to know how I do my program (QWidget) to receive this output and playback.
I'm using QProcess to embed the player in my process of QWidget, passing parameters to the same as well as the most important WinID.
Recalling that both the player when the transmitter program were called by my program with QProcess.
Thus I was wondering how to get the output (video) transmitter that is also QProcess and pass to my player, which is also in QProcess.
Also remember that the player itself receives a parameter that would be the video.
The direct question is: How to pass the output (video) from a QProcess to the input of another QProcess?
Example:
!http://i.minus.com/jbxDMRaI8xvpd0.png(http://i.minus.com/jbxDMRaI8xvpd0.png)!