Results 1 to 1 of 1

Thread: QSharedMemory + video frames + synthetic signals

  1. #1
    Join Date
    Jan 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Question QSharedMemory + video frames + synthetic signals

    Hi all,

    I'm currently attempting to propagate signals between two processes.

    In my old application, I was emitting a pointer to a byte array containing the RGB 8bit still from a video stream at 15fps.

    I want to do this now between two processes, using qshared memory. I need to have a boolean flag which is set by the process which provides the video still, and polled by the parent process. If that bool becomes true, it means that another part of shared memory contains the video still.

    The video is 640x480px, at a size of 1228800 bits.

    Will speed become an issue if I am locking, writing, unlocking in the child and locking, reading, unlocking in the parent?

    I also intend to use this as a method of propagating signals between the processes, because for windows there doesn't seem to be a better method. Would this result in any speed issues as well?

    Edit: I'm also trying to figure out how to spawn a child process which could actually do this.
    Last edited by w32stuxnet; 16th January 2012 at 05:24.

Similar Threads

  1. QSharedMemory, signals and QBuffer
    By sky in forum Qt Programming
    Replies: 1
    Last Post: 23rd November 2011, 05:06
  2. How to drop some frames while playing video?
    By cic in forum Qt Programming
    Replies: 0
    Last Post: 11th November 2011, 14:49
  3. Replies: 8
    Last Post: 17th May 2011, 14:03
  4. Video freezes during mpeg video playback using Phonon
    By davejames in forum Qt Programming
    Replies: 2
    Last Post: 12th January 2009, 08:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.