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. FFmpeg crashes when running excutable.
Forum Updated to NodeBB v4.3 + New Features

FFmpeg crashes when running excutable.

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 394 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
    samdol
    wrote on last edited by
    #1

    Hi,

    I wrote a movie player using OpenGL, OpenAL and FFmpeg.
    When I run using Qt-creaotor(by clicking green arrow button),
    it runs and plays movie always well.
    But when I click generated excutable, it runs first few times and later it crashes. So if I turn my computer off, I could run it again, but after few runs, it crashes. Even after crash, if I run it from Qt-Creator, it runs well. but back to
    excutable, it still crashes. It seems Qt-Creator run some kind of cleanup the r
    emnants from previous run. But I don't know exact reason and how to solve it.
    Does anybody have similar experience? Thanks.

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

      Hi,

      What OS are you running ?
      Usually on Windows, you first have to follow the deployment procedure in order to execute the code outside Qt Creator. The most simple is to use windeployqt.

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

      S 1 Reply Last reply
      3
      • SGaistS SGaist

        Hi,

        What OS are you running ?
        Usually on Windows, you first have to follow the deployment procedure in order to execute the code outside Qt Creator. The most simple is to use windeployqt.

        S Offline
        S Offline
        samdol
        wrote on last edited by
        #3

        @SGaist
        I am using windows 10. I build my app statically, so I don't have to use windeployqt. And I loaded openal, ffmpeg dynamically. I am not sure whether there is a ffmpeg function to clear up previous load.

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

          Did you modify any environment variable in Qt Creator ?
          How are you using ffmpeg and the other libraries ?

          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

          • Login

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