Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-51234

[QML] MediaPlayer shows four videos instead of one video on embedded Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 5.5.1, 5.6.0
    • Multimedia
    • None

    Description

      In attempt to playback the MP4 video file, using a QML player (MediaPlayer or Video item), is displayed four identical videos instead of one.

      These videos are placed in a row, like:

      +--------------------------------------+
      | +-------++-------++-------++-------+ |
      | |       ||       ||       ||       | |
      | +-------++-------++-------++-------+ |
      +--------------------------------------+
      

      instead of one:

      +------------------------------------------+
      | +--------------------------------------+ |
      | |                                      | |
      | +--------------------------------------+ |
      +------------------------------------------+
      

      The QML code is following:

      import QtQuick 2.4
      import QtMultimedia 5.5
      
      Rectangle {
          color: "black"
          Video {
              autoPlay: true
              anchors.fill: parent
              source: "file:///home/ubuntu/Downloads/movie.mp4"
          }
      }
      

      The 'gst-launch' utility works fine (displayed one video on a full-screen):

      HDMI Overlay Sink (Video playback on overlay in full-screen mode)

      $ gst-launch-1.0 filesrc location=<filename.mp4> ! qtdemux name=demux ! h264parse ! omxh264dec ! nvhdmioverlaysink –e

      Also I have compiled the QtMultimedia on a desktop ubuntu 14.04, but in this case the my QML application work fine too.

      The problem is in only with the Embedded Linux on the Tegra Jetson TK1 platform.

      The console output are same as for qst-launch and as for my qml-application:

      QML debugging is enabled. Only use this in a safe environment.
      Unable to query physical screen size, defaulting to 100 dpi.
      To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
      Inside NvxLiteH264DecoderLowLatencyInit
      NvxLiteH264DecoderLowLatencyInit set DPB and MjstreamingNvMMLiteOpen : Block : BlockType = 261
      TVMR: NvMMLiteTVMRDecBlockOpen: 4937: NvMMLiteBlockOpen
      NvMMLiteBlockCreate : Block : BlockType = 261
      TVMR: cbBeginSequence: 571: BeginSequence 1920x720, bVPR = 0
      TVMR: cbBeginSequence: 813: DecodeBuffers = 4
      TVMR: cbBeginSequence: 833: Display Resolution : (1920x720)
      TVMR: cbBeginSequence: 834: Display Aspect Ratio : (1920x720)
      TVMR: cbBeginSequence: 998: SurfaceLayout = 3
      TVMR: cbBeginSequence: 1028: NumOfSurfaces = 8, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1
      Allocating new output: 1920x720 (x 10), ThumbnailMode = 0
      TVMR: cbDisplayPicture: 2292: Retunred NULL Frame Buffer

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            valentyn.doroshchuk Valentyn Doroshchuk
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes