Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Calling spawnv from Qt creator crashes
Forum Updated to NodeBB v4.3 + New Features

Calling spawnv from Qt creator crashes

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 345 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    spike6479
    wrote on last edited by
    #1

    I am using the latest version (4.9.2 qt 5.12.4) on a windows 10 system using mingw. I am using spawnv of ffprobe, with pipes, to gather information on video files. When I run this from qt creator against many files it runs very slow and blinks all the windows on both screens. The system becomes so unresponsive that I must hit reset to regain control. If I run it outside qt creator it works fine. Any suggestions would be appreciated. I've tried it both from terminal and not. For now I have added a command line parameter when running from qt creator and simply don't do a spawnv.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Do you have any library that ffprobe depends on in multiple places on your system ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        spike6479
        wrote on last edited by
        #3

        Thanks, ffprobe.exe is all that's required. It works for a couple of cycles, it's when there's 100's. Then the windows, even from other applications altogether (e.g. firefox), flicker. Running the very same image from a command prompt seems to work fine.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What about using QProcess to run ffprobe ? It has the advantage of being cross-platform.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved