Results 1 to 8 of 8

Thread: Urgent: Crypt Live Stream or play file during World Cup game

  1. #1
    Join Date
    Jan 2013
    Posts
    11

    Default Urgent: Crypt Live Stream or play file during World Cup game

    We're broadcasting about TV signal via IP using Wowza Server.
    We bought broadcasting right for the Word Cup but it's only valid within our country territory.

    For this reason we would like an automatic solution to fallback (play another video) or stop streams during such hours.
    We have Wowza Transcoder turned ON.

    Thanks

  2. #2

    Default

    Hi ilimaan. i havent tried this yet. but this might help you? or give you a start in the right direction.
    http://www.wowza.com/forums/content....-stream-starts

    this might help too: http://www.wowza.com/forums/content....reamPublisher)
    Last edited by nlmaca; 06-25-2014 at 11:49 AM.

  3. #3
    Join Date
    Jan 2013
    Posts
    11

    Default Urgent: Crypt Live Stream or play file during World Cup game

    Thank you very much for getting back to us.
    I think ServerListenerStreamPublisher would be OK. Can you give me any usage example to publish over (duplicate) the live streamname? (I can allow duplicate stream name for this application)

    Quote Originally Posted by nlmaca View Post
    Hi ilimaan. i havent tried this yet. but this might help you? or give you a start in the right direction.
    http://www.wowza.com/forums/content....-stream-starts

    this might help too: http://www.wowza.com/forums/content....reamPublisher)

  4. #4
    Join Date
    Jan 2013
    Posts
    11

    Default

    I'm trying to use StreamPublisher to do this. I have this configuration in application.xml:
    <!-- overwrite stream scheduler -->
    <Module>
    <Name>streamPublisher</Name>
    <Description>Schedules streams and playlists.</Description>
    <Class>com.wowza.wms.plugin.collection.module.ModuleStreamPublisher</Class>
    </Module>

    </Modules>
    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
    <Properties>

    <!-- streampublisher smi file -->
    <Property>
    <Path>Root/Application</Path>
    <Name>streamPublisherSmilFile</Name>
    <Type>String</Type>
    <Value>rts1.smil</Value>
    </Property>

    <!-- streampublisher log setting -->
    <Property>
    <Path>Root/Application</Path>
    <Name>streamPublisherSwitchLog</Name>
    <Type>Boolean</Type>
    <Value>true</Value>
    </Property>


    </Properties>
    For the smil file part, I'm thinking about two possibilities:
    1. Use a video file with the StreamPublisher to schedule a streamname duplicate (by allowing this fror this application) from 16:00:00 to 17:00:00 and stop it after that time.
    To have this option work, what should I change in this config:
    <stream name="OurTVSignlaStreamName"></stream>

    <playlist name="pl1" playOnStream="OurTVSignlaStreamName" repeat="true" scheduled="2013-09-25 16:00:00">
    <video src="mp4:videlfile.mp4" start="-2" length="-1"/>
    </playlist>

    2. Use two Live sources, The TV signal and a Video in loop published by ffmpeg, and schedule Video in Loop to play from 16:00:00 to 17:00:00 and Live Source for the rest of time.

    To have this work, what should I change in this config?:
    <stream name="OurTVSignlaStreamName"></stream>

    <playlist name="pl1" playOnStream="OurTVSignlaStreamName" repeat="true" scheduled="2013-09-25 16:00:00 17:00:00">
    <video src="/live/livesource" start="-2" length="-1"/>
    </playlist>

    <playlist name="pl2" playOnStream="OurTVSignlaStreamName" repeat="true" scheduled="2013-09-25 14:00:00">
    <video src="/live/VideoInLoopPublishedbyFfmpeg" start="-2" length="-1"/>
    </playlist>
    Please any help would be really appreciated?

  5. #5

    Default

    hi ilimaan,

    i havent tried it out yet. i just used the search box on the forum for a solution for you. Dont have time this week to test things out for you. I hope someone from wowza support can jump in here.

  6. #6
    Join Date
    Jan 2013
    Posts
    11

    Default

    If there anyone to help with this?

  7. #7
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You are using -2 as the start value for a file, which is not correct. A start value of "-2" tells Wowza that the source is a live stream rather than a file. When it is a file, use "0" or a positive number less than the length of the video.

    Richard

  8. #8
    Join Date
    Jan 2013
    Posts
    11

    Default

    Thank you. I got it worked perfectly!

Similar Threads

  1. Play VOD file as a Live Stream from S3
    By myboynoy in forum General Forum
    Replies: 19
    Last Post: 01-12-2016, 11:09 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
  •