×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,228

    Cool How to build my own QML Video Player with own rtsp streams

    How to build a qml video player. I want to keep my own rtsp streasm for symbian mobile.


    Iam following the below link/article

    http://www.youtube.com/watch?v=BLXom...ayer_embedded#!

    https://projects.developer.nokia.com/QMLVideoStreamer.


    I want to build a new qml video player by replacing contents or streams and putting my own streams.

  2. #2
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: How to build my own QML Video Player with own rtsp streams

    You can use the below code snippet. Please try adding code and we can help you in fixing any issues you face

    Code:
    Video {
            id: video
            anchors.fill: parent
            source: "rtsp://<put your link and stream name>.sdp"       // place ur stream url 
            playing: true
    
            MouseArea {
                anchors.fill: parent
                onClicked: {
                    if (video.playing)
                    {
                        console.log("stop play");
                        video.stop();
                    }
                    else
                    {
                        console.log("start play");
                        video.play();
                    }
                }
            }
    }

  3. #3
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,228

    Re: How to build my own QML Video Player with own rtsp streams

    I have kept you code in main.qml of my sample Qt application or helloworld application like this :

    import QtQuick 1.0

    Rectangle {
    id: mainwindow
    width: 360
    height: 360


    Video {
    id: video
    anchors.fill: parent
    source: "rtsp://cdn.m.yupptv.tv/liveorigin/abn1" // place ur stream url
    playing: true

    MouseArea {
    anchors.fill: parent
    onClicked: {
    if (video.playing)
    {
    console.log("stop play");
    video.stop();
    }
    else
    {
    console.log("start play");
    video.play();
    }
    }
    }
    }



    MouseArea {
    anchors.fill: parent
    onClicked: Qt.quit()
    }
    }

    Iam seeing a blank black page or screen as output now.

    I have copied videoplayer folder in qml folder of my application also

  4. #4
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: How to build my own QML Video Player with own rtsp streams

    Did you add the necessary capabilities to the .pro file?

  5. #5
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,228

    Re: How to build my own QML Video Player with own rtsp streams

    yes

    CONFIG and MOBILILITY are given as multimedia etc

  6. #6
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,228

    Cool How to build a custom qml videoplayer?I have my own rtsp streams and images.

    How to build a custom qml videoplayer?I have my own rtsp streams and images.


    I have a xml.aspx file containing streams and images etc. How to build a custom qml video player.


    Iam following the link for videoplayer

    http://www.youtube.com/watch?v=BLXom...ayer_embedded#!

    projects.developer.nokia.com/videoplayer

  7. #7
    Registered User
    Join Date
    Sep 2011
    Posts
    449

    Re: How to build my own QML Video Player with own rtsp streams

    By Capabilities i mean something like NetworkServices, ReadUserData, ReadDeviceData..etc

  8. #8
    Super Contributor
    Join Date
    Nov 2010
    Posts
    1,228

    Re: How to build my own QML Video Player with own rtsp streams

    Yes I am uisng the capabilities like TARGET.CAPABILITY += NetworkServices

Similar Threads

  1. I want to buld a own rtsp video player for s60 3rd and 5th edition mobiles.
    By somnathbanik in forum Symbian Media (Closed)
    Replies: 86
    Last Post: 2011-10-24, 08:58
  2. I want to a flsh lite player which can play rtsp live streams
    By GTO_India in forum [Archived] Flash Lite on Nokia Devices
    Replies: 6
    Last Post: 2011-07-27, 05:26
  3. Replies: 1
    Last Post: 2011-06-10, 14:41
  4. Play a rtsp youtube video in Symbian Video player
    By murthy.pramod in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2010-09-14, 19:28
  5. how to build a custom video player
    By Melmoth in forum Symbian Media (Closed)
    Replies: 14
    Last Post: 2008-07-24, 22:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×