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. Showing a mp4 in my app
Forum Updated to NodeBB v4.3 + New Features

Showing a mp4 in my app

Scheduled Pinned Locked Moved Unsolved General and Desktop
44 Posts 5 Posters 19.2k 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.
  • JKSHJ JKSH

    @MichRX7 said in Showing a mp4 in my app:

    Go figure, if I take the MOV that won't play into my video editor and export it as a WMV it plays.
    Same goes with the MP4, convert it to WMV and it plays.

    Maybe there is an issue with my video software and MP4/MOV? Just odd that I can play them from the command line, but not from within my QT app.

    Sounds like the video codecs aren't being loaded/used correctly in your Qt app.

    What version of Qt are you using? What version of OS?

    qt5ct: using qt5ct plugin

    How did you install Qt?

    mediaStatus: QMediaPlayer::LoadingMedia error: QMediaPlayer::NoError

    Hmm... nothing in the log jumps out to me, unfortunately.

    QWidget::paintEngine: Should no longer be called

    This looks somewhat ominous; I'm not sure if this is a clue or not. https://stackoverflow.com/questions/45537627/qwidgetpaintengine-should-no-longer-be-called-appears-when-using-qmediaplay

    MichRX7M Offline
    MichRX7M Offline
    MichRX7
    wrote on last edited by
    #41

    @JKSH

    I am on a Rpi4 running Raspbian GNU/Linux 10 (buster).
    I am running Qt Creator 4.8.2 Based on Qt 5.11.3 (GCC 8.3.0, 32 bit)

    I tried to install 5.14.1, but failed gloriously (lol). I will give it a try again some day, but wanted to try writing actual code. I believe the 5.11.3 came with Raspbian buster.

    JKSHJ 1 Reply Last reply
    0
    • MichRX7M MichRX7

      @JKSH

      I am on a Rpi4 running Raspbian GNU/Linux 10 (buster).
      I am running Qt Creator 4.8.2 Based on Qt 5.11.3 (GCC 8.3.0, 32 bit)

      I tried to install 5.14.1, but failed gloriously (lol). I will give it a try again some day, but wanted to try writing actual code. I believe the 5.11.3 came with Raspbian buster.

      JKSHJ Online
      JKSHJ Online
      JKSH
      Moderators
      wrote on last edited by
      #42

      @MichRX7 said in Showing a mp4 in my app:

      I tried to install 5.14.1, but failed gloriously (lol). I will give it a try again some day, but wanted to try writing actual code. I believe the 5.11.3 came with Raspbian buster.

      When you're ready to try again, see https://www.tal.org/tutorials/building-qt-512-raspberry-pi as a good place to start.

      For now, have a look at the list of multimedia dependencies in the link above. I wonder if the Raspbian's copy of the Qt5Multimedia library was built with all of those in place?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      MichRX7M 1 Reply Last reply
      0
      • JKSHJ JKSH

        @MichRX7 said in Showing a mp4 in my app:

        I tried to install 5.14.1, but failed gloriously (lol). I will give it a try again some day, but wanted to try writing actual code. I believe the 5.11.3 came with Raspbian buster.

        When you're ready to try again, see https://www.tal.org/tutorials/building-qt-512-raspberry-pi as a good place to start.

        For now, have a look at the list of multimedia dependencies in the link above. I wonder if the Raspbian's copy of the Qt5Multimedia library was built with all of those in place?

        MichRX7M Offline
        MichRX7M Offline
        MichRX7
        wrote on last edited by
        #43

        @JKSH

        Yes, thank you for all your help and thank you for the insight from everyone on this thread. Right now just trying to do a proof of concept to show some people, and if I can get it to reliably show the wmv files that'll be fine for now.

        I actually did try that page, and replaced 5.12.7 with 5.14.1. And it was my plan to try and figure out (using that page) what I did wrong when I'm ready to try again.

        JKSHJ 1 Reply Last reply
        0
        • MichRX7M MichRX7

          @JKSH

          Yes, thank you for all your help and thank you for the insight from everyone on this thread. Right now just trying to do a proof of concept to show some people, and if I can get it to reliably show the wmv files that'll be fine for now.

          I actually did try that page, and replaced 5.12.7 with 5.14.1. And it was my plan to try and figure out (using that page) what I did wrong when I'm ready to try again.

          JKSHJ Online
          JKSHJ Online
          JKSH
          Moderators
          wrote on last edited by
          #44

          @MichRX7 said in Showing a mp4 in my app:

          I actually did try that page, and replaced 5.12.7 with 5.14.1. And it was my plan to try and figure out (using that page) what I did wrong when I'm ready to try again.

          I haven't developed for Raspbian before, but there a chance that the instructions for Qt 5.12.7 might not work with Qt 5.14.1 unmodified -- Some dependency might have changed between versions.

          The instructions have been reported to work with Qt 5.12.7 on Raspbian Buster, so that combo will give you the best chance for success.

          After you get it working with Qt 5.12.7, then try Qt 5.14.x (or even Qt 5.15: https://www.qt.io/blog/qt-5.15-alpha-released )

          Yes, thank you for all your help and thank you for the insight from everyone on this thread. Right now just trying to do a proof of concept to show some people, and if I can get it to reliably show the wmv files that'll be fine for now.

          You're welcome. All the best with your project!

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          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