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. Video stream from raspberry pi
QtWS25 Last Chance

Video stream from raspberry pi

Scheduled Pinned Locked Moved General and Desktop
10 Posts 3 Posters 3.7k 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.
  • O Offline
    O Offline
    Omri
    wrote on last edited by
    #1

    hello,
    I want to create an application that receives video stream from a raspberry pi that uses netcat and H264 format.
    I saw the multimedia examples of Qt 5.4.1 though didn't find a stream example.
    I have established a connection to the pi's server and sent some messages but i am new to stream programming so any example/link would be great.
    thanks.

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

      Hi,

      What OS are you running on ?

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

      O 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What OS are you running on ?

        O Offline
        O Offline
        Omri
        wrote on last edited by
        #3

        @SGaist windows 7

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

          Can you read your stream with e.g. VLC ?

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

          O 1 Reply Last reply
          0
          • SGaistS SGaist

            Can you read your stream with e.g. VLC ?

            O Offline
            O Offline
            Omri
            wrote on last edited by
            #5

            @SGaist I'd prefer using netcat because i heard it's faster..but if you have a basic example that i can learn from and change a little to use netcat it would help also..thanks.

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

              So you have a setup similar to the one here ?

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

              O 1 Reply Last reply
              1
              • O Offline
                O Offline
                Omri
                wrote on last edited by
                #7

                yes I do. So i should open a socket and call what lines to control the streaming? thanks

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

                  There's something not clear in your question, what do you want to control ?

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

                  1 Reply Last reply
                  0
                  • mrdebugM Offline
                    mrdebugM Offline
                    mrdebug
                    wrote on last edited by
                    #9

                    If you want you can try this
                    www.denisgottardello.it/DomusBoss
                    The pakage contains a server for Raspberry and a client for all platforms.
                    It works with a jpeg stream because use x264 compression with raspberry is very slow.

                    Need programmers to hire?
                    www.labcsp.com
                    www.denisgottardello.it
                    GMT+1
                    Skype: mrdebug

                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      So you have a setup similar to the one here ?

                      O Offline
                      O Offline
                      Omri
                      wrote on last edited by
                      #10

                      @SGaist ok, I've tried this code and what happens is that the video window pops and closes immediately. Another thing except that is that I don't understand why the toggle connection is after the play stream function and not before. I tried both cases and still it doesn't work.
                      thanks.

                      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