With QT5.9 ubuntu 14 or 16 and android 5.1 device, best way to perform a video straming.



  • I read some old post on stackoverflow about video straming from IP camera to QT desk .... in my case I use a android 5.1 devices to perform a wifi videostreaming with my pc on QT5.9 app. My pc is ubuntu 14 or 16.

    before starting the experiments, I would like to know the best approach to use using qt5.9 c ++ to relocate the video streaming in real-time between the device (tablet) android 5.1 and my pc.

    I have not found specific qt5.9 / 5.10 doc about.

    regards
    giorgio


  • Lifetime Qt Champion

    Hi,

    What kind of stream is that ?

    What code did you use ?



  • No code actually, is only my first experiment about.

    The purpose is to share in realtime, or better with an acceptable latency of 0.5 / 1.5 sec, a movie that is being captured from the tablet, on a remote desktop.

    On the desk side I plan to use symply an html5 web video interfaces ... I read these is possible with last Qt5.10 ...
    On the tablet side i grab the camera and send "using wifi channel" the data on web server. These part of code is actually build in java (AS), but I would like to try to do everything with the qt. Also on android.

    I read about various web service that can perform these .... but I'm curious about the possibility of using a private web server (like a remote server on a commercial web hosting ) ... I'm curious about the best videocodec for these service and other details about the best instruments for these pourpose.

    thanks for every type of suggest about.

    regards
    Giorgio


  • Lifetime Qt Champion

    So you want to send the live feed of the device camera to a web service that will re-compress the video live to make it available through a web site ?



  • @SGaist Yes ... exactly. Sorry for my bad English.
    But, on pc side, without using a web browser. I would make my Qt app that show the web video. Because I would add some useful command, like "bring a photos from video", "draw over photos" and "send to remote device the image". So the service work similar to a chat, where the tablet send the video to remote server ant the pc desk send the modify image to the tablet device.
    The tablet has a small window on the screen to see the modified images or the doc and the pc desk has its own window to see the video and another to edit the images.

    The graphical part of qt app is not a problem, I just realize a "paint" app. Nevere used web engine or similar .... but the actual problem is choose the better strategy to make these ideas working.

    Regards
    Giorgio


  • Lifetime Qt Champion

    So the which video stream should the computer application get access to ? The live feed directly or the re-compressed feed ?



  • @SGaist said in With QT5.9 ubuntu 14 or 16 and android 5.1 device, best way to perform a video straming.:

    So the which video stream should the computer application get access to ? The live feed directly or the re-compressed feed ?

    These is a good question .... I have no experience about these system. My first answer would be the live feed. But from what I read all the video streaming servers make a recompression .... so that your question confuses me on the kind of answer I should give you ...

    Any how thanks a lot .... I'waiting some news.

    In the meantime I give you my best wishes for a happy Christmas party.


  • Lifetime Qt Champion

    In that case you should first ensure that you have a good architecture for your client/server. Then it will be easier to get thing running.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.