Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Video seeking mp4
Forum Updated to NodeBB v4.3 + New Features

Video seeking mp4

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
8 Posts 4 Posters 641 Views 1 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.
  • M Offline
    M Offline
    MHermann
    wrote on last edited by MHermann
    #1

    Hello,

    I am using Qt5.12.7 on Linux.
    I have an application that is playing different videos.
    Now I want to move forward and backward while the video is playing.
    Therefore I am using the function seek().
    For avi it is working. But with mp4 it is not working. The whole gui is freezing.
    Does anybody know if seeking has to be handled different with mp4?

    Regards

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

      Hi,

      You should add which version of Qt you are using as well as OS you are working on.

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

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        You should add which version of Qt you are using as well as OS you are working on.

        M Offline
        M Offline
        MHermann
        wrote on last edited by
        #3

        @SGaist: I added the informationen in my first post.

        JoeCFDJ 1 Reply Last reply
        0
        • Y Offline
          Y Offline
          yamu
          wrote on last edited by yamu
          #4

          I faced this kind of scenarios, I am using windows and linux systems.

          In Linux system is supporting for .mp4 file.
          In windows system is supporting for .avi file.

          1 Reply Last reply
          0
          • M MHermann

            @SGaist: I added the informationen in my first post.

            JoeCFDJ Offline
            JoeCFDJ Offline
            JoeCFD
            wrote on last edited by JoeCFD
            #5

            @MHermann how do you play your video? By using Qt code or gstreamer or something else? You may try to upgrade your Qt to 5.15.3 or above at first if possible.

            Y M 2 Replies Last reply
            0
            • JoeCFDJ JoeCFD

              @MHermann how do you play your video? By using Qt code or gstreamer or something else? You may try to upgrade your Qt to 5.15.3 or above at first if possible.

              Y Offline
              Y Offline
              yamu
              wrote on last edited by
              #6

              @JoeCFD said in Video seeking mp4:

              o 5.15.3 or

              I am using Qt 5.15.4 version. and i played the video using qt code.
              But I am getting the below output only. But it is not an issue for me.

              In Linux system is supporting for .mp4 file.
              In windows system is supporting for .avi file.

              1 Reply Last reply
              0
              • JoeCFDJ JoeCFD

                @MHermann how do you play your video? By using Qt code or gstreamer or something else? You may try to upgrade your Qt to 5.15.3 or above at first if possible.

                M Offline
                M Offline
                MHermann
                wrote on last edited by MHermann
                #7

                @JoeCFD: I am using the Video qml type for showing the video. Is there a better way?

                JoeCFDJ 1 Reply Last reply
                0
                • M MHermann

                  @JoeCFD: I am using the Video qml type for showing the video. Is there a better way?

                  JoeCFDJ Offline
                  JoeCFDJ Offline
                  JoeCFD
                  wrote on last edited by
                  #8

                  @MHermann I use raw gstreamer code + qml sink for video streaming and display. I am not sure you can move video display forward or backward with Qt code directly. But I guess you can do it with raw gstreamer code or FFempeg.

                  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