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

MediaPlayer Not Working on bitbake Yocto OpenSource

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 6.3.2
    • None
    • Linux
    • Linux/Yocto

    Description

      Hello Guys,
      I'm working on Yocto's branch kirkstone

      meta-yocto-bsp = "kirkstone:12e2869bcff94a43cbba8bf8b7bd6774a47a95db"
      meta-qt6 = "6.3.2:d92e4fb63abbef091c838f1ca92979bd4b8c1ef2"

      I've builded an image with X11 and deployed onto two different machines:

      PC Lenovo Thinkcentre M70q  dual Intel(R) Celeron(R) G5905T CPU @ 3.30GHz, 4Gb Ram, M2 HD 500GB, Intel Corporation CometLake-S GT1 [UHD Graphics 610] (rev 03)

      PC Intel Yocto I3 dual Intel(R) Core(TM) i3-8109U CPU @ 3.00GHz, 8Gb Ram, ssd 256Gb, Intel Corporation Iris Plus Graphics 655 (rev 01)

      On boths PCs I've builded a simple application for playing video, I also have tried the "mediaplayer" example founded in the example session of Qt6.3.1 with the same issues

      Playing a MPG-2 video with audio the video play but I cannot hear audio.

      Printing from the QML the audioOutputs

      I see this:

      qml: [QAudioDevice(, HDA Intel PCH at 0xb1238000 irq 131, false, Output),QAudioDevice(, HDA Intel PCH at 0xb1238000 irq 131, false, Output),QAudioDevice(, HDA Intel PCH at 0xb1238000 irq 131, false, Output),QAudioDevice(, HDA Intel PCH at 0xb1238000 irq 131, false, Output),QAudioDevice(, HDA Intel PCH at 0xb1238000 irq 131, false, Output),QAudioDevice(, HDA Intel PCH at 0xb1238000 irq 131, false, Output)]

      printing the default audioOutput I see this:

      qml: QAudioDevice(, HDA Intel PCH at 0xb1238000 irq 131, false, Output)

      Making the same thing in the main cpp 

      auto dev = QMediaDevices::defaultAudioOutput(); 
      qDebug() << dev.id();

      the id of the audio device is ""; it is normal?

      Lauching the same program on my desktop I see a valid id for the audio device:

      qml: [QAudioDevice(pci-0000:0a:00.1, TU106 High Definition Audio Controller Digital Stereo (HDMI 2), false, Output),QAudioDevice(pci-0000:07:00.3-usb-0:1:1.0, ADI-2 DAC (51080948) Analog Stereo, false, Output)]

      and the audio is working fine

      I also have problem playing MPEG-4 video files, they are not playing.

      On Desktop are working.

       

      Could you help me?

       

       

       

      Attachments

        Activity

          People

            arpa Ari Parkkila
            peel70 Enrico Pelò
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: