Results 1 to 2 of 2

Thread: [QML] Video element

  1. #1

    Default [QML] Video element

    I'm currrently tryinnng out the QML part of QT 4.7.
    I've sorted it out so far how everything works, but i'm stuck at the following.
    I created a rectangle which holds a Video. This video has to display a stream. I'm streaming on my network to a multicast ip with VLC

    1 Code:
    1. cvlc -vvv test.flv --sout "#transcode{vcodec=mp2v,acodec=mp2a,ab=96,channels=2,vb=3000,width=720,height=576,aspect=4:3}:std{access=udp,mux=ts,dst=multicast_ip:port}" --loop --sout-keep
    To copy to clipboard, switch view to plain text mode 

    When i try to display the stream on my pc, i use VLC and it displays correct.
    In my element i have the following
    2 Code:
    1. Video {
    2. id: video
    3. width : parent.width
    4. height : parent.height
    5. source: "udp://ip:port/"
    6. playing: true
    7. anchors.horizontalCenter: parent.horizontalCenter
    8. }
    To copy to clipboard, switch view to plain text mode 
    The above isn't working, but if i change source to source: file.flv it works.
    I'm getting one warning
    3 Code:
    1. Warning: QMediaPluginLoader: Failed to load plugin: "libqgstengine.so.debug" "The shared library was not found."
    To copy to clipboard, switch view to plain text mode 
    , on both the local video as the stream.

    Isn't it possible at this stage to display a stream? Or am i doing something wrong?

  2. #2
    Join Date
    Feb 2011
    Posts
    11
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: [QML] Video element

    Hi
    Ive got the same problem, did you find the solution

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. Fix element in risizing window
    By JoZCaVaLLo in forum Newbie
    Replies: 4
    Last Post: 26th June 2009, 10:35
  4. Video freezes during mpeg video playback using Phonon
    By davejames in forum Qt Programming
    Replies: 2
    Last Post: 12th January 2009, 08:45

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.