Results 1 to 6 of 6

Thread: Playing on demand video from Amazon S3 with MediaCache.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2013
    Posts
    5

    Default Playing on demand video from Amazon S3 with MediaCache.

    I've installed Media Cache in my wowza server but I can't play the on demand video stored in S3 with VLC.

    rtsp://wowza_server_ip_address:1935/mediacache/_definst_/mp4:amazons3/bucket_name/path_to/file.mp4

    Things I changed in conf/MediaCache.xml are as follows

    <Name>http</Name>
    <BasePath>http://s3.amazonaws.com/</BasePath>
    <Prefix>amazons3/</Prefix>

    <Property>
    <Name>isAmazonS3</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    <Property>
    <Name>s3BucketNameInDomain</Name>
    <Value>true</Value>
    <Type>Boolean</Type>
    </Property>
    When I checked the logs it showed the following.
    MediaReaderH264.open[mediacache/_definst_]: Not found: /usr/local/WowzaMediaServer/content/amazons3/joywowza/stream/get.mp4
    all the files are public in AWS S3 but still not getting through.
    Last edited by droidlabour; 08-23-2013 at 09:48 AM.

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

    Default

    MediaCache is not set up right because Wowza is looking in the content folder.

    Make sure you re-start Wowza after adding the MediaCache .jar file and after making changes to /conf/Server.xml.

    Richard

  3. #3
    Join Date
    Aug 2013
    Posts
    5

    Default

    Ok After restarting, now the error log doesn't show's any logs but VLC still can't play the MP4 file in S3.
    While checking the access log Here's what I found.


    2013-08-23 18:58:54 UTC app-start application INFO 200 _definst_ mediacache/_definst_ - - - 450.394 - - - - - - - - - - - - - - - - - - -- - - - - -
    2013-08-23 18:58:54 UTC connect rtsp INFO 200 782031823 - _defaultVHost_ mediacache _definst_ 450.398 54.246.199.174 1935 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 106.209.167.110 rtsp - LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15) 782031823 0 0 - - - - - - - - -- rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 - rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 -
    2013-08-23 18:58:54 UTC create stream INFO 200 - - _defaultVHost_ mediacache _definst_ 0.059 54.246.199.174 1935 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 106.209.167.110 rtsp - LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15) 782031823 0 0 1 0 0 0 amazons3/joywowza/stream/get.mp4 -- - - - rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 - rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 -
    2013-08-23 18:58:54 UTC unpublish stream INFO 200 - - _defaultVHost_ mediacache _definst_ 0.1 54.246.199.174 1935 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 106.209.167.110 rtsp - LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15) 782031823 0 0 1 0 0 0 amazons3/joywowza/stream/get.mp4 -- - - - rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 - rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 -
    2013-08-23 18:58:54 UTC destroy stream INFO 200 - - _defaultVHost_ mediacache _definst_ 0.101 54.246.199.174 1935 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 106.209.167.110 rtsp - LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15) 782031823 0 0 1 0 0 0 amazons3/joywowza/stream/get.mp4 -- - - - rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 - rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 -
    2013-08-23 18:58:54 UTC disconnect rtsp INFO 200 782031823 - _defaultVHost_ mediacache _definst_ 0.336 54.246.199.174 1935 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 106.209.167.110 rtsp - LibVLC/2.0.6 (LIVE555 Streaming Media v2013.01.15) 782031823 0 0 - - - - - - - - -- rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4 - rtsp://54.246.199.174:1935/mediacache/_definst_/mp4:amazons3/joywowza/stream/get.mp4

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

    Default

    It is odd that there is an unpublish event. What is the /conf/mediacache/Application.xml /StreamType? Is it "live"? It should be "default"

    Otherwise, zip up /conf and /logs folders and send to support@wowza.com. Include a link to this thread for reference.

    If you have made configuration changes, be sure to re-start Wowza and run through testing before zipping up so the configuration files are what were in place when those logs were generated.

    Richard
    Last edited by rrlanham; 08-23-2013 at 02:54 PM.

  5. #5
    Join Date
    Aug 2013
    Posts
    5

    Default

    Yeah the streamtype was live, I just changed it to default and its working great.
    Thanks a lot Richard.
    You rock...

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

    Default

    Cool! Thanks for the update. Glad it's working

    Richard

Similar Threads

  1. Mediacache on Amazon S3
    By xmaverick in forum AddOn: Other AddOns
    Replies: 10
    Last Post: 10-18-2013, 11:34 AM
  2. MediaCache and Amazon S3 with new region
    By tpepernic in forum AddOn: Other AddOns
    Replies: 1
    Last Post: 06-07-2013, 03:55 PM
  3. using amazon s3 with mediacache.
    By welbyobeng in forum Video On Demand Streaming Discussion
    Replies: 8
    Last Post: 06-12-2012, 04:14 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
  •