Results 1 to 20 of 55

Thread: Wireless Video

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Wireless Video

    Quote Originally Posted by khrave View Post
    @fatjuicymole
    Well right now I am reading the video data directly from a webcam that is plugged in to one of my usb ports on my laptop. I need to modify the code to receive video data from a vehicle flying in the air with a camera attached to it.
    And? How does the flying camera transmit its data? Wifi? Bluetooth?

  2. #2
    Join Date
    May 2010
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Wireless Video

    It transmits it via wifi to a computer on the ground purposed to view video data and other stats about the flying vehicle.

  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Wireless Video

    So what you need to do is create a server. What type of connection does it expect?

  4. #4
    Join Date
    May 2010
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Wireless Video

    We're using a camera that is mounted on the flying vehicle, which is attached via usb to a gumstix overo fire board (also mounted on the flying vehicle) which will transmit various types of information, including video data, through a tcp/ip wireless-g signal to the computer on the ground. I need to be able to get the video data from the vehicle and display it. I feel like it is an easy modification to the code I posted earlier, but I need a push in the right direction. Thanks!

  5. #5
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Wireless Video

    Wireless-G is a transport medium (well, Link Layer) for transferring data over the air-ways
    TCP over IP is a transport medium
    Before we can go further we need to know what Application Layer the camera uses. For example, HTTP, FTP, Proprietary, etc.

  6. #6
    Join Date
    May 2010
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Wireless Video

    Oh, my apologies, my terminology knowledge is relatively low. We're using UDP, sending raw data through packets between the ground computer and the vehicle.

  7. #7
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Wireless Video

    In which case, there is a nice example for UDP in the QUdpSocket documentation in Assistant.

  8. #8
    Join Date
    Mar 2009
    Posts
    116
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Wireless Video

    The same way I need to use IP camera in my proje.My question is

    1) How to know which application layer the camera uses?

  9. #9
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Wireless Video

    a) Wireshark (examine communication), or
    b) Experimentation, or
    c) Documentation

  10. #10
    Join Date
    Mar 2009
    Posts
    116
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Wireless Video

    I installd Qt 4.6.2 and OpenCV2.0 on my windows machine

    Qt is installed at C:\Qt\2010.02.1\Qt and openCV is installed at c:\OpenCV2.0

    I downloaded the QtOpenCV example which
    Opens a webcam, and displays the image in the widget.
    from http://opendesktop.org/content/show....SSID=kfmhtqozm


    I copied opencv folder where it contains cv.h,higui.h in Qt include folder also I changed .pro file as

    Qt Code:
    1. INCLUDEPATH += "C:\OpenCV2.0\src\cv"
    2. INCLUDEPATH += "C:\OpenCV2.0\src\cxcore"
    3. INCLUDEPATH += "C:\OpenCV2.0\src\cvaux"
    4. INCLUDEPATH += "C:\OpenCV2.0\src\highgui"
    5.  
    6. LIBS += -L "C:\OpenCV2.0\lib"
    7. LIBS += -lcv -lhighgui
    To copy to clipboard, switch view to plain text mode 


    when I compile example it gives me error

    Qt Code:
    1. c:/qt/2010.02.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lcv
    2. collect2: ld returned 1 exit status
    To copy to clipboard, switch view to plain text mode 

    why this error occures?

  11. #11
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Wireless Video

    Where is cv?

  12. #12
    Join Date
    Mar 2009
    Posts
    116
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Wireless Video

    OpenCV is installed at C:\OpenCV2.0

    Qt 4.6.2 is installed at C:\Qt\2010.02.1\qt

    also I have copied C:\OpenCV2.0\include\opencv folder to Qt include folder

    still it gives this error
    Qt Code:
    1. 1.
    2. c:/qt/2010.02.1/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lcv
    3. 2.
    4. collect2: ld returned 1 exit status
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Playing video using Phonon video widget
    By Leolander in forum Newbie
    Replies: 0
    Last Post: 26th February 2010, 06:15
  2. Replies: 3
    Last Post: 5th July 2009, 17:22
  3. Video freezes during mpeg video playback using Phonon
    By davejames in forum Qt Programming
    Replies: 2
    Last Post: 12th January 2009, 08:45
  4. Video
    By mahiapkum in forum Qt Programming
    Replies: 3
    Last Post: 22nd April 2008, 11:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.