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. Qt multimedia player
Forum Updated to NodeBB v4.3 + New Features

Qt multimedia player

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.1k Views 1 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.
  • A Offline
    A Offline
    alexRM
    wrote on last edited by
    #1

    Hi, I have developed a media player using QTmultimedia in Windows. But I found different beahviour second compiler and backend engine. For example if I use msvc and multimedia foundation engine I have no problem to scroll video surface while if I use mingw with directx engine the video surface not scroll well. Only audio is scrolled and video disappear.. I world like to understand why custom video surface example runs well only if I compile with mscv2010 and later,while same example compiled with mingw disabling video showing. I suppose it is the directx backend but if so I guess there is a bug some where. Anyone has tried custom video surface example present in qt , with directx engine?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      primem0ver
      wrote on last edited by
      #2

      I have not used DirectX directly with Qt. However, I have used the irrlicht engine which I believe defaults to DirectX under windows (I believe... I could be wrong).

      I have noticed that you really need to be careful when using a 3D based graphics engine because Qt behaviors can disrupt the rendering process. If the Direct3D interface requires custom rendering behavior when scrolling this could be the issue because the scene must be drawn every couple of microseconds in order to prevent greying out or grey flashes on the control (widget).

      "Here":http://qt-project.org/forums/viewthread/48571/ is an example of an issue I had. My workaround was to insert a call to my scene rendering method in the custom style I was using to render UI components. (I have yet to see if it works but I suspect it will).

      1 Reply Last reply
      0
      • A Offline
        A Offline
        alexRM
        wrote on last edited by
        #3

        Hi thanks for response.

        I have found a work around because I showed subtitles on frame and the only way to do that was using video surface instead video widget, but I needed to use directx for other kind of formats not supported by wmf. My solution if Anyone needs was to alternate the videooutput for rendering and reactive videosurface. With stop/play and alternate Qvideowidget with videosurface each time you scroll solve the issue..but its very strange..I hope Anyone has tested this

        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