Results 1 to 6 of 6

Thread: Server returns wrong video position

Hybrid View

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

    Default Server returns wrong video position

    Hi everyone,

    we wanted to switch from adobe flash media server to wowza, but now we stumpled upon a little problem.

    We need the videostreaming for our finisher-video service for sport events. It works like this:
    we have a video (length from 1 to 12 hours) and the timestamp of every participant finishing.
    Then on our portal the finisher can click "view video" and he can see himself finishing.

    This worked fine with adobe, but now with wowza there's the problem, taht the video is slightly too fast.
    That means, when we requesting the video an position 3600sec we actually get the video at position 3597
    It shifts around 3 seconds every hour, what makes us unable to use this, because the finisher can't see himself
    anymore in the video.

    My configuration is the sample vod configuration from the wowza website. We are streaming 360p@25fps mp4 (h.264) videos over rtmp
    to jwplayer.

    Got anyone of you a similar problem, or probably a solution for this?

    mv

    EDIT:
    Here is a test URL: http://www.trackmyrace.com/fileadmin/videotest.html
    Video is: HLL_ST.mp4
    sample Delta: 6631

    The upper one is the right position (from the adobe streaming server)
    The lower one is streamed by wowza on the wrong position
    Last edited by matrizvision; 08-16-2013 at 01:32 AM.

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

    Default

    Try adding this Property setting to the Application.xml /Streams Properties container:

    <Property>
    	<Name>seekTarget</Name>
    	<Value>enhanced</Value>
    </Property>
    Richard

  3. #3
    Join Date
    Aug 2013
    Posts
    2

    Default

    Hi Richard,

    thanks for the fast answer. I tried it, but it didn't work. Same issue as before.

    mv

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

    Default

    Are you useeking to a timecode? Or are you using cuepoints? If not using cuepoints, that should work better than seek:

    http://www.wowza.com/forums/content....ts-or-metadata

    Richard

  5. #5
    Join Date
    Aug 2013
    Posts
    2

    Default

    Quote Originally Posted by rrlanham View Post
    Are you useeking to a timecode? Or are you using cuepoints? If not using cuepoints, that should work better than seek:

    http://www.wowza.com/forums/content....ts-or-metadata

    Richard
    Hello Richard and thanks for your input.

    We do not currently use cuepoints, as I understand they are used for setting specific points in the timeline dynamically to have events happen at that points. This is not what we need. Also, we cannot easily create those cuepoints automatically, as everything we have is the uploaded video in mp4 format and the times in seconds where people run through the picture.

    I'll try to describe a little further our setup and where we are stuck:

    As said we try to move from adobe flash streaming server to wowza, using a setup with FlowPlayer where we dynamically jump to specific (time) points in the video and play back a short part of around 10-30s of video. We do this by giving a start and duration in seconds into the video with flowplayers "play" command. This works perfectly fine with the adobe streaming, but wowza jumps to a different start time (in the range of 1-10s off the actual supposed start position). As you can see, this is a real problem, because due to the short playtime a jump on the same order is inacceptable, because it renders the whole video useless if a different person is shown.
    Other than said in the OP, however, I now noticed this does not depend directly on how far into the video you try to jump. Rather it jumps differently at different points in time, which makes me believe it has something to do with the keyframes - even though we configured wowza for the enhanced seek. Is there something that could go wrong with this configuration we might overlook?

    Here are some rough offsets I noticed with some videos:
    video: AugsburgerFriedesmarathon.mp4
    position: 10000s => offset of roughly 9-10s
    position: 14000s => offset of around 1s

    video: 2012_08_01_Walchsee_Challenge.mp4
    position: 10000s => offset of around 4s
    position: 15000s => offset of around 3s

    Thanks for any further help provided.

  6. #6
    Join Date
    Aug 2013
    Posts
    2

    Default

    We solved the problem now. It was in fact a configuration problem and enhanced seek was actually not in effect, hence the seek was going for keyframes.

Similar Threads

  1. RTSP Video streaming wrong Orientation With Android
    By zing1911 in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 07-23-2014, 05:03 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
  •