Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How To create Dynamic Playlist

  1. Default How To create Dynamic Playlist

    Hello I have seen Stream Class Module but it is not running and i want to create dynamic playlist

    Help Me

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Try this one:

    http://www.wowza.com/forums/content....t-in-smil-file

    It is configurable, you can download the collection jar to get it without building any code, and there are many posts discussing its use:

    Richard

  3. Default

    hi ,

    I have see this link and

    add <ServerListeners>
    <ServerListener>
    <BaseClass>com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher</BaseClass>
    </ServerListener>
    </ServerListeners> into server.xml file and restart Wowza it show

    Configure logging: file:///usr/local/WowzaMediaServer/conf/log4j.properties
    INFO server server-start Wowza Media Server 3 Trial Edition (Expires: Nov 21, 2011) 3.0.2 build866 -
    INFO server comment - Server License Key: SVRT3-XXXXX-XXXXX-XXXXX-XXXXX-yb9Kf
    INFO server comment - Maximum Connections: Unlimited
    INFO server comment - Transcoder Streams Available: Unlimited
    INFO server comment - Transcoder Watermark: Yes
    INFO server comment - nDVR Available: Yes
    INFO server comment - DRM Available: Yes
    INFO server comment - Hardware Available Processors: 4
    INFO server comment - Hardware Physical Memory: 46MB/1869MB
    INFO server comment - Hardware Swap Space: 5882MB/5887MB
    INFO server comment - Max File Descriptor Count: 20000
    INFO server comment - Open File Descriptor Count: 55
    INFO server comment - OS Name: Linux
    INFO server comment - OS Version: 2.6.35.13-92.fc14.x86_64
    INFO server comment - OS Architecture: amd64
    INFO server comment - Java Name: OpenJDK 64-Bit Server VM
    INFO server comment - Java Vendor: Sun Microsystems Inc.
    INFO server comment - Java Version: 1.6.0_20
    INFO server comment - Java VM Version: 19.0-b09
    INFO server comment - Java Spec Version: 1.6
    INFO server comment - Java Home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
    INFO server comment - Java Max Heap Size: 1066MB
    INFO server comment - Java Architecture: 64
    INFO server comment - Java Encoding[file.encoding]: UTF-8
    INFO server comment - Java Args[0]: -Xmx1200M
    INFO server comment - Java Args[1]: -Djava.net.preferIPv4Stack=true
    INFO server comment - Java Args[2]: -Dcom.sun.management.jmxremote=true
    INFO server comment - Java Args[3]: -Dcom.wowza.wms.runmode=standalone
    INFO server comment - Java Args[4]: -Dcom.wowza.wms.native.base=linux
    INFO server comment - Java Args[5]: -Dcom.wowza.wms.AppHome=/usr/local/WowzaMediaServer
    INFO server comment - Java Args[6]: -Dcom.wowza.wms.ConfigURL=
    INFO server comment - Java Args[7]: -Dcom.wowza.wms.ConfigHome=/usr/local/WowzaMediaServer
    INFO server comment - Java GC[0]: PS Scavenge
    INFO server comment - Java GC[1]: PS MarkSweep
    INFO server comment - Server runmode: standalone
    INFO server comment - Server native.platform: linux
    INFO server comment - Server threads[h/t]: 10/10
    INFO server comment - CMDInterface now listening: [any]:8083
    INFO vhost vhost-start _defaultVHost_ -
    INFO server comment - _defaultVHost_ threads[h/t]:120/80 home:/usr/local/WowzaMediaServer
    INFO vhost comment _defaultVHost_ Bind attempt ([any]:1935:4)
    INFO vhost comment _defaultVHost_ Bind successful ([any]:1935)
    INFO vhost comment _defaultVHost_ Bind attempt ([any]:8086:1)
    INFO vhost comment _defaultVHost_ Bind successful ([any]:8086)
    INFO server comment - -
    INFO server comment - Wowza Media Server is started!

    but when i do to play open [install-dir]/examples/LiveVideoStreaming/client/live.html
    Server: rtmp://[wowza-address]/live
    Stream: Stream1

    it show on html page Stream1 not found but on terminal show stream create

    What is actual problem

  4. #4

    Default RE: The operation could not be completed

    I don't see 'live/Stream1' staring as soon as wowza is started,
    Are you sure you have added
    <ServerListener>
    	<BaseClass>com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher</BaseClass>
    </ServerListener>
    to /conf/Server.xml ?
    This module in default streams to application called 'live' with Stream name 'Stream1' or the name you have specified under '/content/streamschedule.smil' file.
    Make sure you have created application called 'live' under '/conf/' and '/applications/'.


    --
    ShekarKCB

  5. Default

    i do this but this error is occur now

    INFO server comment - ServerListenerStreamPublisher Started.
    WARN server comment - ApplicationInstance.setHTTPStreamerList[live/_definst_]: HTTPStreamer is not valid: sanjosestreaming
    WARN server comment - ApplicationInstance.setLiveStreamPacketizerList[live/_definst_]: LiveStreamPacketizer is not valid: sanjosestreamingpacketizer
    INFO application app-start _definst_ live/_definst_
    INFO server comment - ServerListenerStreamPublisher: Streame name is 'Stream1'
    log4j:ERROR Failed to excute sql
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Stream1'', '-', '-', '-', '33.277', '-', '-', '-', '-', '-', '-', '-', '-', '-',' at line 1
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    at com.mysql.jdbc.Util.getInstance(Util.java:382)
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3603)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3535)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1989)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2150)
    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2620)
    at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1664)
    at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1583)
    at org.apache.log4j.jdbc.JDBCAppender.execute(Unknown Source)
    at org.apache.log4j.jdbc.JDBCAppender.flushBuffer(Unknown Source)
    at org.apache.log4j.jdbc.JDBCAppender.append(Unknown Source)
    at org.apache.log4j.AppenderSkeleton.doAppend(Unknown Source)
    at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(Unknown Source)
    at org.apache.log4j.Category.callAppenders(Unknown Source)
    at org.apache.log4j.Category.forcedLog(Unknown Source)
    at org.apache.log4j.Category.log(Unknown Source)
    at com.wowza.wms.logging.WMSLogger.log(Unknown Source)
    at com.wowza.wms.logging.WMSLogger.info(Unknown Source)
    at com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher.onServerInit(ServerList enerStreamPublisher.java:103)
    at com.wowza.wms.server.Server.notifyServerInit(Unknown Source)
    at com.wowza.wms.server.Server.start(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.wowza.wms.bootstrap.Bootstrap.startServer(Unknown Source)
    at com.wowza.wms.bootstrap.Bootstrap.main(Unknown Source)
    INFO stream create - -
    INFO stream publish Stream1 -
    INFO server comment - ServerListenerStreamPublisher: Streame name is 'Stream2'
    INFO stream create - -
    INFO stream publish Stream2 -
    Error starting: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.wowza.wms.bootstrap.Bootstrap.startServer(Unknown Source)
    at com.wowza.wms.bootstrap.Bootstrap.main(Unknown Source)
    Caused by: java.lang.NoSuchMethodError: com.wowza.wms.stream.publish.Stream.setSendOnMetadata(Z)V
    at com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher.onServerInit(ServerList enerStreamPublisher.java:159)
    at com.wowza.wms.server.Server.notifyServerInit(Unknown Source)
    at com.wowza.wms.server.Server.start(Unknown Source)
    ... 6 more
    Last edited by gupta.ravi0709; 10-31-2011 at 03:41 AM.

  6. #6
    Join Date
    Sep 2011
    Posts
    1,919

    Default

    Quote Originally Posted by rrlanham View Post
    Try this one:

    http://www.wowza.com/forums/content....t-in-smil-file

    It is configurable, you can download the collection jar to get it without building any code, and there are many posts discussing its use:

    Richard
    Hi
    This is the answer and you need to configure it like this.

    Anything that you have added you need to strip it out if it doesn't work, effectively testing each element as you go so that you know which is failing. (The last 1 you added).

    Jason

  7. Default

    hi my server.xml file is like this

    <ServerListeners>
    <ServerListener>
    <BaseClass>com.wowza.wms.plugin.amazonaws.ec2.env.ServerListenerEC2Variables</BaseClass>
    </ServerListener>
    <ServerListener>
    <BaseClass>com.wowza.wms.plugin.amazonaws.ec2.mediacache.MediaCacheServerListenerAmazonEC2</BaseClass>
    </ServerListener>
    <ServerListener>
    <BaseClass>com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher</BaseClass>
    </ServerListener>
    </ServerListeners>



    till Now error is occur same , Plz Help me
    Last edited by gupta.ravi0709; 10-31-2011 at 04:17 AM.

  8. #8
    Join Date
    Sep 2011
    Posts
    1,919

    Default

    Hi
    Yes this is correct but this,
    Caused by: java.lang.NoSuchMethodError: com.wowza.wms.stream.publish.Stream.setSendOnMetad ata(Z)V
    Is usually caused by an incorrect version of Wowza or ServerListenerStreamPublisher but the above seams to be correct.

    You also have,
    log4j:ERROR Failed to excute sql,
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorEx ception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Stream1'', '-', '-', '-', '33.277', '-', '-', '-', '-', '-', '-', '-', '-', '-',' at line 1

    This is a major issue that you need to get resolved before you try to get any extra parts working.

    Jason

  9. Default

    then what should i do for better result

    My Wowza Version is Wowza Media Server 2 for Amazon EC2 2.1.1 build24490
    Last edited by gupta.ravi0709; 10-31-2011 at 05:43 AM.

  10. #10
    Join Date
    Sep 2011
    Posts
    1,919

    Default

    Quote Originally Posted by gupta.ravi0709 View Post
    then what should i do for better result

    My Wowza Version is Wowza Media Server 2 for Amazon EC2 2.1.1 build24490
    Hi
    You said it was this at the top of this thread,

    "Configure logging: file:///usr/local/WowzaMediaServer/conf/log4j.properties
    INFO server server-start Wowza Media Server 3 Trial Edition (Expires: Nov 21, 2011) 3.0.2 build866 -
    INFO server comment - Server License Key: SVRT3-XXXXX-XXXXX-XXXXX-XXXXX-yb9Kf"

    Jason

Page 1 of 2 12 LastLast

Similar Threads

  1. dynamic create and destroy stream according to the player's request
    By spiritsoul in forum Server-side Modules and Code Samples Discussion
    Replies: 6
    Last Post: 07-15-2013, 05:07 AM
  2. Create a dynamic program (kind of EPG)
    By ripleyXLR8 in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 04-09-2013, 09:08 AM
  3. How to create VOD playlist?
    By blizniak83 in forum Video On Demand Streaming Discussion
    Replies: 1
    Last Post: 01-14-2013, 06:20 AM

Posting Permissions

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