Results 1 to 8 of 8

Thread: MediaCache newbie (?) problem

  1. #1

    Default MediaCache newbie (?) problem

    Hello

    I'm trying to MediaCache that stream (as a sample one - just to start):
    http://people.sc.fsu.edu/~jburkardt/...flow_movie.mp4

    with SimpleVideoStreaming/client/simplevideostreaming.html (vod example) with parameters:
    Server: rtmp://localhost/mediacache
    Stream: mp4:http/people.sc.fsu.edu/~jburkardt/data/mp4/cavity_flow_movie.mp4

    MediaCache is configured according to example1 from MediaCache User Guide.

    And I can't see anything in the player (it does not say that anything is wrong either).

    But this is what I see in WMS2 console:
    INFO stream play http/people.sc.fsu.edu/~jburkardt/data/mp4/cavity_flow_movie.mp4 -
    INFO stream stop http/people.sc.fsu.edu/~jburkardt/data/mp4/cavity_flow_movie.mp4 -

    Why is it stopping when I only clicked 'Play' in web player?

    Can't really solve that simple case :/

  2. #2
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    Welcome to Wowza forum. I tried to play your file from mediacache app here with the same result. I downloaded then tried to open your mp4 file with GSpot, which hung for a while, then showed error saying it timed out waiting for codec info.

    ... Then it showed up after awhile, and I can see that

    Copy the Wowza sample.mp4 to that location and test that. I think it will work, you seem to be set up correctly.
    Code:
    mp4:http/people.sc.fsu.edu/~jburkardt/data/mp4/sample.mp4
    Then take a look at these encoding suggestions. You might be able to use ffmpeg to fix that file, and you can use these examples as starting place or reference for encoding with other software:
    http://www.wowzamedia.com/forums/con...ideo-on-Demand

    Richard

  3. #3
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    Welcome to Wowza forum. I tried to play your file from mediacache app here with the same result. I downloaded then tried to open your mp4 file with GSpot, which hung for a while, then showed error saying it timed out waiting for codec info.

    ... Then it showed up after awhile, and I can see that the video is mpeg-4 part 2. You want "mpeg-4 part 10 (avc) h.264", or similar arrangement of that string

    Copy the Wowza sample.mp4 to that location and test that. I think it will work, you seem to be set up correctly.
    Code:
    mp4:http/people.sc.fsu.edu/~jburkardt/data/mp4/sample.mp4
    Then take a look at these encoding suggestions. You might be able to use ffmpeg to fix that file, and you can use these examples as starting place or reference for encoding with other software:
    http://www.wowzamedia.com/forums/con...ideo-on-Demand

    Richard

  4. #4

    Default

    Thanks! I understand that it was a broken video issue.

    But I do have another (more serious) problem.

    I need to access videos from urls which contain not only a simple path to a remote file but also some
    url parameters that are required in order to download that specific file. For instance I can download this
    file from any browser:
    http://v.mccont.com/ItemFiles/%5BFro...ead0dab73ac868

    But I would get "Item does not exist: " from WMS2 if I requested such stream through WMS application.

    In general: is it possible to set things up in such a way that I could request through WMS any media
    that I can download with a browser (by requesting a specific media resource like above)?

  5. #5
    Join Date
    Dec 2007
    Posts
    25,645

    Default

    I think the problem is urlencoding. Otherwise, it should work, in principle: If you can return an mp4 file over http from that url, and prefix with mp4: and the MediaCache alias (http/), it should not be a problem, but my guess is that the urlencoding in that URL is a problem.

    Richard

  6. #6

    Default

    Should it be urlencoded then (all special characters escaped, including '?')?
    Or should I leave it not encoded (as a whole)?
    Frankly, I checked both and it fails anyway.
    Interesting thing is that when I leave '?' unencoded, WMS treats it as an end of url - 'Item does not exist: http/v.....mp4'

  7. #7
    Join Date
    Jun 2011
    Posts
    1

    Default

    I found the same problem.

    C.K.

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

    Default

    Hi
    I suspect that MediaCache is only designed for simple file retrieval and that is the problem you are facing.

    I'm sure you could write your own but that would be another task in its self.

    Jason

Tags for this Thread

Posting Permissions

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