I am trying to play a simple video stored in S3 using and a Wowza instance running on EC2. I have created an S3 bucket and uploaded a video file(Mersal.mp4). Then I launched “WowzaStreamingEngine-4.7.1” server that includes the vods3 application which is configured and given access & secret keys for amazon mediacache.
The problem is I couldnot able to play the video which throws Error code : 400
Here are the server, bucket & media details given bellow.
AMI : Wowza Streaming Engine 4; Bring Your Own License Pro Edition (HVM)
Wowza Application : vods3 (configured with access & secret keys in mediacache property)
Use Amazon S3 bucket name in domain: true
S3 Bucket : vods3dev
S3 Bucket Region : ap-south-1
Uploaded a Video in S3 : http://vods3dev.s3.amazonaws.com/Mersal.mp4 or http://vods3dev.s3-ap-south-1.amazonaws.com/Mersal.mp4
The bellow urls I have tested in VLC & JWplayer :
(Not working & error is not generated in log)
2 ) http://35.154.105.211:1935/vods3/definst/mp4:amazons3/vods3dev/Mersal.mp4/playlist.m3u8
(Not working)
Error Log: WARN server comment 2017-10-24 19:48:04 - - - - - 0.117 - - - - - - - - MediaCacheItemBase.init: Item does not exist: amazons3/vods3dev/Mersal.mp4
WARN server comment 2017-10-24 19:48:04 - - - - - 0.119 - - - - - - - amazons3/vods3dev/Mersal.mp4 MediaReaderH264.open[1]: java.io.IOException: MediaCacheRandomAccessReader.open: Item not in cache: amazons3/vods3dev/Mersal.mp4: java.io.IOException: MediaCacheRandomAccessReader.open: Item not in cache: amazons3/vods3dev/Mersal.mp4|at com.wowza.wms.mediacache.impl.MediaCacheRandomAccessReader.open(MediaCacheRandomAccessReader.java:70)|at com.wowza.wms.mediacache.impl.MediaCacheRandomAccessReaderFilter.open(MediaCacheRandomAccessReaderFilter.java:75)|at com.wowza.wms.mediareader.h264.MediaReaderH264.open(MediaReaderH264.java:259)|at com.wowza.wms.httpstreamer.model.HTTPStreamerAdapterBase.doesFileExist(HTTPStreamerAdapterBase.java:1485)|at com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.onPlaylist(HTTPStreamerAdapterCupertinoStreamer.java:1552)|
Access Log: 2017-10-24 19:48:04 UTC comment server WARN 200 - MediaCacheItemBase.init: Item does not exist: amazons3/vods3dev/Mersal.mp4 - - - 0.539 - - - - - - - - - - - - - - - - - - - - - - - - -
2017-10-24 19:48:04 UTC comment server WARN 404 amazons3/vods3dev/Mersal.mp4 MediaReaderH264.open[1]: java.io.IOException: MediaCacheRandomAccessReader.open: Item not in cache: amazons3/vods3dev/Mersal.mp4: java.io.IOException: MediaCacheRandomAccessReader.open: Item not in cache: amazons3/vods3dev/Mersal.mp4|at com.wowza.wms.mediacache.impl.MediaCacheRandomAccessReader.open(MediaCacheRandomAccessReader.java:70)|at com.wowza.wms.mediacache.impl.MediaCacheRandomAccessReaderFilter.open(MediaCacheRandomAccessReaderFilter.java:75)|at com.wowza.wms.mediareader.h264.MediaReaderH264.open(MediaReaderH264.java:259)|at com.wowza.wms.httpstreamer.model.HTTPStreamerAdapterBase.doesFileExist(HTTPStreamerAdapterBase.java:1485)|at com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.onPlaylist(HTTPStreamerAdapterCupertinoStreamer.java:1552)| - - - 0.54 - - - - - - - - - - - - - - - - - - - - - - - - -
Kindly update me, What am I missing here?