Results 1 to 7 of 7

Thread: v4l2 video capture input in Phonon

  1. #1
    Join Date
    May 2008
    Location
    Moscow, Russia
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question v4l2 video capture input in Phonon

    Is it possible to grab the video from the v4l2 device with Qt 4.4/Phonon? I'm trying to playback the video from my tv tuner card.

  2. #2
    Join Date
    Sep 2009
    Posts
    39
    Thanks
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: v4l2 video capture input in Phonon

    Hi...
    Do you know how to interface camera with Qt. I my board i have USB port where few cameras are suppoted by kernel it self. I want to know how to call camera device on Qt Code and to get data (Frames) in Qt Code and Display oin Q MainWindow....

  3. #3
    Join Date
    Mar 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default Re: v4l2 video capture input in Phonon

    I have done something for that ~ Do you use the ARM9?

  4. #4
    Join Date
    Aug 2010
    Posts
    1
    Qt products
    Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Re: v4l2 video capture input in Phonon

    Hi,

    I am working on the Intel Atom board and I am looking for a solution to capture and play the v4l2 webcam. Please help me if you have done something like this.

    Many thanks in advance.

    Regards
    Sathees

  5. #5
    Join Date
    Sep 2010
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: v4l2 video capture input in Phonon

    I want to know how to capture the webcam with Qt 4.7
    anyone can help?

  6. #6
    Join Date
    Sep 2010
    Posts
    7
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: v4l2 video capture input in Phonon

    A lot of questions for answers.

    As far as I know, you cannot capture from a camera using Qt. Not directly anyway. And Phonon does not (yet) support that either. You'd need to pass through OpenCV (and DirectShow on Windows). I am guessing that you *could* use V4L2 directly through a pipe or something. But that would make it platform dependent as well as easily breakable.

    But anyone knows a better way. I would love to hear about it too!

  7. #7
    Join Date
    Feb 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Re: v4l2 video capture input in Phonon

    Hi all,

    I am using Qt 4.7.1 in linux (slackware 13). using QtCreator for UI development.
    I searched and tried, to use phonon for multimedia support in Qt. I found that, we can easily use phonon to play the stored file, but in order to capture image, yet there is no support in Qt - phonon(after searching I came to know this). What we can do is, using gstreamer we can capture the video. Any how phonon also uses gstreamer.
    Now the problem is, I have the video capture module(in C), and Qt widget. Don't know how to copy the image content into Qt videowidget or Qt Image(The image format i'm getting is yuv).
    Please help how to integrate this??
    Thanks in advance. If I am wrong anywhere please guide me in proper direction.

    --
    Lohith
    Last edited by lohitha.r; 16th February 2011 at 12:02.

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.