0

Here's what happens when I run a file within SMPlayer:

       |               |-zsh(7187)---smplayer(8054)-+-mplayer(8061)-+-mplayer(8062)
       |               |                            |               `-{threaded-ml}(8088)

This means that SMPlayer ran mplayer as a child process and somehow let it take control over SMPlayer's window. How does this work internally? What trick does SMPlayer use to achieve that? Does it use any library for this purpose that would handle this on Windows as well?

d33tah
  • 10,999
  • 13
  • 68
  • 158
  • Sounds like normal inter process communication. Several approaches for this exist. Most likely it creates and uses some local pipes or sockets setup during process spawning. – arkascha Jun 20 '15 at 16:16
  • Intuition tells me that rendering video through a pipe would be rather slow. – d33tah Jun 20 '15 at 16:18

0 Answers0