Wowza Community

Fast Play Module

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

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

Here is the module:

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

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

Are there any plans to add support for mp4?

thanks

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

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

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

Richard

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

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

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

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

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.