Share a story with impact Build and share a complete story stronger than its parts. Share just the...
-
Upload
primrose-hopkins -
Category
Documents
-
view
217 -
download
0
Transcript of Share a story with impact Build and share a complete story stronger than its parts. Share just the...
![Page 1: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/1.jpg)
![Page 2: Share a story with impact Build and share a complete story stronger than its parts. Share just the right moment.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/2.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/3.jpg)
• 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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/4.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/5.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/6.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/7.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/8.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/9.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/10.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/11.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/12.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/13.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/14.jpg)
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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/15.jpg)
© 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.](https://reader035.fdocuments.us/reader035/viewer/2022062516/56649dc95503460f94abfd43/html5/thumbnails/16.jpg)
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#