# Fast Play Module

**URL:** <https://community.wowza.com/t/fast-play-module/34896>\
**Category:** Wowza Streaming Engine\
**Created:** [July 6, 2010, 3:32pm UTC](https://community.wowza.com/t/fast-play-module/34896 "2010-07-06T15:32:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simon\_Buckle](https://avatars.discourse-cdn.com/v4/letter/s/aeb1de/32.png) [@Simon\_Buckle](https://community.wowza.com/u/Simon_Buckle)\
**Post date:** [July 6, 2010, 3:32pm UTC](https://community.wowza.com/t/fast-play-module/34896/1 "2010-07-06T15:32:01Z")

</div>

Is the source code for the fast play module available? I had a look in the add-on packages and the module collection but couldn’t find it. I am interested in understanding how it works and what the method ‘setFastPlay’ does.

If I understand correctly, it only works with FLV files and not H264 (?) Do I need to encode my video files in a particular way in order to use the fast play feature?

Thanks

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [July 6, 2010, 11:25am UTC](https://community.wowza.com/t/fast-play-module/34896/2 "2010-07-06T11:25:24Z")

</div>

Fast play only works with VP6 video. It does not work with H.264.

Here is the module:

```auto
package com.wowza.wms.module;
import com.wowza.wms.amf.*;
import com.wowza.wms.client.*;
import com.wowza.wms.request.RequestFunction;
import com.wowza.wms.stream.*;
public class ModuleFastPlay extends ModuleBase
{
	/**
	 * Turn on fast play NetStream.call("setFastPlay", null, multiplier, frames-per-second, direction);
	 * @param client client
	 * @param function function
	 * @param params params (multiplier, frames-per-second, direction)
	 */
	static public void setFastPlay(IClient client, RequestFunction function, AMFDataList params)
	{
		double multiplier = getParamDouble(params, PARAM1);
		int fps = getParamInt(params, PARAM2);
		int direction = getParamInt(params, PARAM3);
		
		client.setFastPlaySettings(new FastPlaySettings(multiplier, fps, direction));
	}
}

```

Charlie

---

<div class="post-metadata">

**Author:** ![paul\_macdonald](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@paul\_macdonald](https://community.wowza.com/u/paul_macdonald)\
**Post date:** [June 17, 2011, 10:32am UTC](https://community.wowza.com/t/fast-play-module/34896/3 "2011-06-17T10:32:09Z")

</div>

Is it still true that fast play is only supported for vp6/flv.

Are there any plans to add support for mp4?

thanks

---

<div class="post-metadata">

**Author:** ![paul\_macdonald](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@paul\_macdonald](https://community.wowza.com/u/paul_macdonald)\
**Post date:** [June 24, 2011, 11:34am UTC](https://community.wowza.com/t/fast-play-module/34896/4 "2011-06-24T11:34:58Z")

</div>

Thanks,

I see in the preview 3 server trick play is hightlighted as a feature, will this include mp4 over rtmp?

Paul.

# Wowza Network DVR (nDVR) AddOn

- Single nDVR cache — any screen playback

- Support for live stream trick play: pause, rewind, resume

- Base for catch-up TV application development

- Integrates with Wowza Transcoder for time-shifted ABR streaming

- Rich APIs for customization

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 17, 2011, 10:24pm UTC](https://community.wowza.com/t/fast-play-module/34896/5 "2011-06-17T22:24:05Z")

</div>

Yes, it is true for RTMP. Trick play features should work in Silverlight Smooth streaming with h.264, there is high-level api, but I wasn’t able to get it working when I tested. And it might be possible with Flash HTTP (Sanjose) streams with h.264 using OSMF framework, but I haven’t come across that yet.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 25, 2011, 2:16pm UTC](https://community.wowza.com/t/fast-play-module/34896/6 "2011-06-25T14:16:24Z")

</div>

I don’t think fastplay will be included with DVR trickplay, but maybe.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 9, 2012, 7:08pm UTC](https://community.wowza.com/t/fast-play-module/34896/7 "2012-01-09T19:08:07Z")

</div>

There is no short-term plan for h.264 trick play support for RTMP.

It is supported in the Silverlight API with SmoothStreamingMediaElement.SetPlaybackRate Method

[http://msdn.microsoft.com/en-us/library/microsoft.web.media.smoothstreaming.smoothstreamingmediaelement.setplaybackrate(v=VS.90).aspx](http://msdn.microsoft.com/en-us/library/microsoft.web.media.smoothstreaming.smoothstreamingmediaelement.setplaybackrate%28v=VS.90%29.aspx)

However, I didn’t have success in my tests last year. Worth another try though.

There might be a way in Flash HTTP (Sanjose) streaming with OSMF framework, but I haven’t done that, and not sure.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 9, 2012, 10:18pm UTC](https://community.wowza.com/t/fast-play-module/34896/8 "2012-01-09T22:18:00Z")

</div>

RTMP H.264 trickplay is not supported and there is no plan as far as I know, not sure what the conceptual problem is.

Richard

---

<div class="post-metadata">

**Author:** ![Greg\_K](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@Greg\_K](https://community.wowza.com/u/Greg_K)\
**Post date:** [January 9, 2012, 10:48am UTC](https://community.wowza.com/t/fast-play-module/34896/9 "2012-01-09T10:48:11Z")

</div>

Hello,

I was wondering when (if ever) trickplay/fastplay will be supported for RTMP+H.264 combination. It is one of the critical features we need to have for several of our projects.

Thank you

---

<div class="post-metadata">

**Author:** ![Greg\_K](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@Greg\_K](https://community.wowza.com/u/Greg_K)\
**Post date:** [January 9, 2012, 2:13pm UTC](https://community.wowza.com/t/fast-play-module/34896/10 "2012-01-09T14:13:25Z")

</div>

Thank you Richard. From what I understand the trickplay RTMP support is available for Flash/VP6 codec, but not H.264. Is there a conceptual problem implementing this for H.264?

I will see if we can use trickplay-enabled OSMF with Flash HTTP streaming which may be an option for us, but I’d like to know if this is on the roadmap at all. It is definitely a big switch in terms of technology, so I’d like to get more information before we make the decision.
