# Frame accurate seekingin Wowza 4

**URL:** https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775
**Category:** Wowza Streaming Engine
**Created:** [August 10, 2015, 1:31am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775 "2015-08-10T01:31:52Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Andrey\_Gliznetsov](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@Andrey\_Gliznetsov](https://community.wowza.com/u/Andrey_Gliznetsov)
#### Post date: [August 10, 2015, 1:31am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/1 "2015-08-10T01:31:52Z")

</div>

I can’t get Wowza 4 to perform frame-accurate seek during RTMP streaming. We had the same issue in Wowza 3.6 and solved it by adding the following properties:

seekTarget

enhanced

mp4OnSeekUseVideoTimecode

true

Boolean

calculateMoreAccurateFrameSize

true

Boolean

But it seems that in Wowza 4 these settings do not work anymore. Should I use another settings to enable accurate seeking in Wowza 4?

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [August 10, 2015, 7:03am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/2 "2015-08-10T07:03:43Z")

</div>

Did you make sure you re-loaded the application after making the change?

Salvadore

---

<div class="post-metadata">

### Author: ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)
#### Post date: [August 25, 2015, 12:40pm UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/3 "2015-08-25T12:40:59Z")

</div>

Hi,

This will now be handled in the created ticket (138733).

Regards,

Jason

---

<div class="post-metadata">

### Author: ![Pavel\_Khodchenkov](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Pavel\_Khodchenkov](https://community.wowza.com/u/Pavel_Khodchenkov)
#### Post date: [September 14, 2015, 10:47am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/4 "2015-09-14T10:47:31Z")

</div>

Is there any update on this?

Or how to access this ticket?

---

<div class="post-metadata">

### Author: ![Pavel\_Khodchenkov](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Pavel\_Khodchenkov](https://community.wowza.com/u/Pavel_Khodchenkov)
#### Post date: [September 21, 2015, 1:54pm UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/5 "2015-09-21T13:54:47Z")

</div>

Hi salvadore,

I am having exactly the same issue.

seekTarget

enhanced

Still rtmp seek jumps to the nearest frame instead of accurate seek to the requested offset. I am using wowza 4.2.0.

I am using custom rtmp player by calling netstream.seek and using flv video with h264 codec.

Is this feature does not work anymore in wowza4? (i havent tried it with wowza 3).

What is the best way to debug this setting on server side inside app?

---

<div class="post-metadata">

### Author: ![Pavel\_Khodchenkov](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Pavel\_Khodchenkov](https://community.wowza.com/u/Pavel_Khodchenkov)
#### Post date: [September 28, 2015, 10:04am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/6 "2015-09-28T10:04:31Z")

</div>

Hi,

can you please share Application.xml (with correct properties) which you used for testing?

Thanks.

---

<div class="post-metadata">

### Author: ![Pavel\_Khodchenkov](https://avatars.discourse-cdn.com/v4/letter/p/87869e/32.png) [@Pavel\_Khodchenkov](https://community.wowza.com/u/Pavel_Khodchenkov)
#### Post date: [October 8, 2015, 2:15pm UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/7 "2015-10-08T14:15:00Z")

</div>

Hi,

So indeed “enhanced” seeks mode works , however it does not perfectly seeks to the target location: there is 25-50ms difference (based on netstream.time property after doing seek).

default seek mode (requested milliseconds-\>actual after seek is done)

1000-\>799

1100-\>799

1200-\>1598

1300-\>1598

enhanced

1000-\>1027

1100-\>1054

1200-\>1183

1300-\>1300

1400-\>1375

1500-\>1457

1600-\>1598

1700-\>1700

1800-\>1749

I can see that correct offset arrives to IMediaStreamActionNotify.onSeek listener, however netstream.time returns not accurate offset after seek is done(25-50ms difference).

Is it expected behaviour? Is it possible to do exact milliseconds seek?

Thanks!

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [August 10, 2015, 7:50am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/8 "2015-08-10T07:50:18Z")

</div>

This property should be all you need.

Are you testing with the Wowza supplied RTMP example player? This feature is only support with RTMP players. If you have written your own player it may be an issue with the code.

Regards,

Salvadore

---

<div class="post-metadata">

### Author: ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)
#### Post date: [September 20, 2015, 7:11am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/9 "2015-09-20T07:11:30Z")

</div>

Werdex, can you please provide more information about what you are having an issue with?

Perhaps start a new thread with detail description of what you have set up and what issue you are facing.

Regards,

Salvadore

---

<div class="post-metadata">

### Author: ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)
#### Post date: [September 25, 2015, 10:48am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/10 "2015-09-25T10:48:27Z")

</div>

Hi,

Regarding the original issue, the customer was updated via our ticketing process. Our engineers were not able to replicate the issue and have confirmed that advanced seeking does still work correctly in version 4, so long as the properties are added correctly to the “vod” application that is being used for testing.

Regards,

Paul

---

<div class="post-metadata">

### Author: ![Andrey\_Gliznetsov](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@Andrey\_Gliznetsov](https://community.wowza.com/u/Andrey_Gliznetsov)
#### Post date: [August 10, 2015, 5:15am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/11 "2015-08-10T05:15:23Z")

</div>

> Did you make sure you re-loaded the application after making the change?
> 
> Salvadore

Yes, I did. I can see the an entry in the access log for every frame seek I do in the Video player, but the image is still updated only every 5 to 10 frames (key frames maybe?).

Do I need to specify additional properties to make it fully working?

---

<div class="post-metadata">

### Author: ![Andrey\_Gliznetsov](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@Andrey\_Gliznetsov](https://community.wowza.com/u/Andrey_Gliznetsov)
#### Post date: [August 10, 2015, 5:57am UTC](https://community.wowza.com/t/frame-accurate-seekingin-wowza-4/45775/12 "2015-08-10T05:57:28Z")

</div>

Indeed we are using our custom flash video player but it works fine with Wowza 3.

I can’t test it with built-in wowza player because it does not expose frame seeking controls.
