Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Video playback lagging in qt app running on rasp pi 4
Forum Updated to NodeBB v4.3 + New Features

Video playback lagging in qt app running on rasp pi 4

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 73 Views
  • 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.
  • G Offline
    G Offline
    Gautham G B
    wrote last edited by Gautham G B
    #1

    I have made a gallery kind of app which lists the images videos and audios in separate tabs in a gridview. i have also made audio and video players and an mage viewer as well. I am using the usual qvideowidget for video playback but the playback is lagging even for hd videos. I have verified that my app is using gstreamer in the backend. the video plays smoothly when it is run from cmd prompt with gstreamer using

    gst-launch-1.0 filesrc location=/path/to/your/video.mp4 ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! autovideosink sync=false

    how to ensure smooth video playback ?

    jsulmJ 1 Reply Last reply
    0
    • G Gautham G B

      I have made a gallery kind of app which lists the images videos and audios in separate tabs in a gridview. i have also made audio and video players and an mage viewer as well. I am using the usual qvideowidget for video playback but the playback is lagging even for hd videos. I have verified that my app is using gstreamer in the backend. the video plays smoothly when it is run from cmd prompt with gstreamer using

      gst-launch-1.0 filesrc location=/path/to/your/video.mp4 ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! autovideosink sync=false

      how to ensure smooth video playback ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote last edited by
      #2

      @Gautham-G-B Just to make sure I understand correctly: do you show only one video at given time or several?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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