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 5.15.2 gstreamer avi playback error
Qt 6.11 is out! See what's new in the release blog

Qt 5.15.2 gstreamer avi playback error

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 607 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.
  • KutyusK Offline
    KutyusK Offline
    Kutyus
    wrote on last edited by
    #1

    Hello!

    I want to play video files on raspberry in QtMultimediaWidget, it works fine, but in the case of avi files, the picture is delayed compared to the sound. Same error when running from terminal with gst-launch.
    The video is good, it is perfect with vlc on another computer, and it is also interesting that the error does not appear when playing mkv files.

    Does anyone have any idea what could be the source of the error?

    Thanks

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

      Hi,

      One thing that comes to mind is that there's no hardware acceleration happening for that file.
      What are its specifications ?
      Did you try with ffmpeg as well ?

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

      KutyusK 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        One thing that comes to mind is that there's no hardware acceleration happening for that file.
        What are its specifications ?
        Did you try with ffmpeg as well ?

        KutyusK Offline
        KutyusK Offline
        Kutyus
        wrote on last edited by
        #3

        @SGaist Thanks for the answer. I forgot to write that it is a raspberry pi.
        I did a bit of research and it was recommended to increase the kernel gpu_mem setting, so maybe the hardware acceleration will work, but the interesting thing happened, if I increased the default 64MB to 128, the error remained, but if I decreased it to 16MB , the error does not appear.

        1 Reply Last reply
        0
        • KutyusK Kutyus has marked this topic as solved on

        • Login

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