share a story with impact build and share a complete story stronger than its parts. share just the...

16

Upload: primrose-hopkins

Post on 24-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment
Page 2: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

John SernaPrincipal Program ManagerVideo Editing

Welcome to Windows.Media.Editing

2-555

Jeff McGlynnDeveloperVideo Editing

Page 3: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

• Editing Makes Video and Video Apps Better

• Features and Frameworks• Basic Architecture • Editing in Action• Editing Trimmer App

Walkthrough

Agenda

Page 4: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

Creates more compelling contentand encourages sharing.

Puts innovation and creativity in the hands of the customer.

An Application That Edits Video

Page 5: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

Share a story

with impact

Build and share a complete story stronger than its parts.

When you let customers edit video they can…

Share just the right moment

Page 6: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

Windows.Media.Editing gives you the toolsIn Windows Phone 8.1 we are delivering a new API with support for:

Quickly building basic video trimming into any app.

Hardware smart remux for single clip edits

Support complex tasks such as stitching clips.

UI support for timelines with thumbnail generation

Add Background Soundtracks.

Enable 3rd parties to add Audio and Video Effects via MFTs (Media Foundation Transforms.)

Page 7: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

Simple Clip Trimming withSmart Remux

Real time preview via Media Stream Source to MediaElementMultiple Clip combine Thumbnail Generation for UIBackground soundtracksAdding still imagesAdding effects using Media Foundation Transforms (MFTs)

Feature Summary and Framework Support

Windows Phone Silverlight 8.1Windows XAML and JS 8.1

Windows XAML and JS8.1

Page 8: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

Basic Editing Architecture

MediaComposition: stitched

MediaClip: main MediaClip: insert MediaClip: maintwo

Source File: main

Source File: insert

BackgroundAudio: music

Source File: music

Page 9: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

API Trimming and Stitching Example:// Assume we already loaded 2 MediaClips, |main| and |insert|, eg. from a picker.MediaClip maintwo = main.Clone(); // Trim from main everything after the seek positionmain.TrimTimeFromEnd = main.OriginalDuration - seekPosition;

// Trim from maintwo everything before seek positionmaintwo.TrimTimeFromStart = seekPosition;

// Create composition to stitch clips.MediaComposition stitched = new MediaComposition();stitched.Clips.Add(main);stitched.Clips.Add(insert);stitched.Clips.Add(maintwo);

// Preview the result using MediaElement.MyMediaElement.SetSource(stitched.GeneratePreviewMediaStreamSource(640,480));

Example in C#

Page 10: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

Demo

Full featured editing appEffects demo

Page 11: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

Demo

Visual Studio Walkthrough: Basic Video Trimmer

Page 12: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

In Windows Phone 8.1 Media Foundation is open.

You can create and call your own Media Foundation Transform (MFT) from the Editing APIs

This allows: Custom Filters Audio Transforms

Adding custom MFT Effects

Page 13: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

Questions?FYI: Expert 1:1 Office Hours5:30PM–6:30PM

Page 14: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

Your Feedback is Important

Fill out an evaluation of this session and help shape future events.

Scan the QR code to evaluate this session on your mobile device.

You’ll also be entered into a daily prize drawing!

Page 15: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Page 16: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment

API Example: Adding an Effect

// Assume we already loaded MediaClip |clip|. clip.VideoEffects.Add(new VideoEffectDefinition("MyEffects.MyGrayScale"));

// Add the clip with effect to compositionMediaComposition composition = new MediaComposition();composition.Clips.Add(clip);

Example in C#