Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. .open() unable to open stream in packaged application
Forum Updated to NodeBB v4.3 + New Features

.open() unable to open stream in packaged application

Scheduled Pinned Locked Moved Unsolved General and Desktop
deploy problemsopencv
2 Posts 2 Posters 367 Views
  • 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.
  • B Offline
    B Offline
    BigBen
    wrote on 25 Jul 2022, 07:02 last edited by
    #1

    I have made an application that has a live video stream. I use openCV's VideoCapture.open() to open and run the stream on the application. It runs perfectly on debug and release mode on my system. Even after I package the application using the windeployqt.exe file, and run the packaged application on my system, it runs perfectly.

    However, when I try to run this packaged application on another PC, the application starts, but the stream is unable to open. Basically, the .open() function of VideoCapture returns false.

    I am not sure what might be going wrong.

    J 1 Reply Last reply 25 Jul 2022, 08:06
    0
    • B BigBen
      25 Jul 2022, 07:02

      I have made an application that has a live video stream. I use openCV's VideoCapture.open() to open and run the stream on the application. It runs perfectly on debug and release mode on my system. Even after I package the application using the windeployqt.exe file, and run the packaged application on my system, it runs perfectly.

      However, when I try to run this packaged application on another PC, the application starts, but the stream is unable to open. Basically, the .open() function of VideoCapture returns false.

      I am not sure what might be going wrong.

      J Offline
      J Offline
      JonB
      wrote on 25 Jul 2022, 08:06 last edited by
      #2

      @BigBen
      This sounds like you would be best looking for openCV's VideoCapture.open() questions? Maybe whatever it does requires certain files in certain places which are not present/found on the other system, either openCV runtime files or the file you are trying to open?

      1 Reply Last reply
      0

      1/2

      25 Jul 2022, 07:02

      • Login

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