Wowza Community

Streaming MP4 file on set time

Hello,

I have a pre-recorded video in MP4 format. I need to to stream it to wowza on given time. My current

solution is to have following command run at specific time:

ffmpeg -re -i /usr/local/WowzaStreamingEngine/content/xxx.mp4  -vcodec copy -acodec copy -vbsf h264_mp4toannexb -strict experimental -f mpegts udp://127.0.0.1:10004?pkt_size=1316

I do it with “at” scheudler. But now I wanted to try SMIL files as it seemed a little bit easier. My SMIL file is:

<smil>
    <head>
    </head>
    <body>
        <stream name="Stream1"></stream>
        
        <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2014-11-10 21:03:00">
            <video src="mp4:xxx.mp4:" start="0" length="-1"/>
        </playlist>
    </body>
</smil>

I import that file with Manager and start it. But nothing happens. In my understanding i should point our

player to rtsp://ip:1935/live/Stream1

But is says that it did not found that stream. Also in manager in “Incoming streams” i see:

Connections Per Protocol outgoing
Total:	0
Adobe HDS:	0
Adobe RTMP:	0
Apple HLS:	0
Microsoft Smooth:	0
MPEG DASH:	0
RTSP/RTP:	0
Stream Uptime
xxx.mp4 not running
xxx.mp4 not running
Network Throughput
Bytes In: 0  @  0.000 bits/s
Bytes Out: 0  @  0.000 bits/s
Status
 Waiting for Stream
Source
xxx.mp4
Application Instance
_definst_

This article may be of interest for you: https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher