Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
Yusei Nishiyama
PDF, PPTX
5,152 views
Video Editing in iOS
iOSで動画編集をするためのTips。主に、AVFoundationの機能について解説しています。
Technology
◦
Read more
4
Save
Share
Embed
Embed presentation
Download
Download as PDF, PPTX
1
/ 17
2
/ 17
3
/ 17
4
/ 17
5
/ 17
6
/ 17
7
/ 17
8
/ 17
9
/ 17
10
/ 17
11
/ 17
12
/ 17
13
/ 17
14
/ 17
15
/ 17
16
/ 17
17
/ 17
More Related Content
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
PPTX
制作環境まわりについて(エディター紹介/Emmet導入)
by
takumaro web
PPT
After companion installarion
by
Yuji Kazan
PDF
GeliPayを支える技術
by
Yusei Nishiyama
PDF
Open Hack Day Japan 2 (iBencon)
by
Yusei Nishiyama
2024 Trend Updates: What Really Works In SEO & Content Marketing
by
Search Engine Journal
Storytelling For The Web: Integrate Storytelling in your Design Process
by
Chiara Aliotta
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
by
OECD Directorate for Financial and Enterprise Affairs
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
by
SocialHRCamp
制作環境まわりについて(エディター紹介/Emmet導入)
by
takumaro web
After companion installarion
by
Yuji Kazan
GeliPayを支える技術
by
Yusei Nishiyama
Open Hack Day Japan 2 (iBencon)
by
Yusei Nishiyama
Recently uploaded
PDF
エンジニアが選ぶべきAIエディタ & Antigravity 活用例@ウェビナー「触ってみてどうだった?Google Antigravity 既存IDEと...
by
NorihiroSunada
PDF
流行りに乗っかるClaris FileMaker 〜AI関連機能の紹介〜 by 合同会社イボルブ
by
Evolve LLC.
PPTX
楽々ナレッジベース「楽ナレ」3種比較 - Dify / AWS S3 Vector / Google File Search Tool
by
Kiyohide Yamaguchi
PDF
20251210_MultiDevinForEnterprise on Devin 1st Anniv Meetup
by
Masaki Yamakawa
PDF
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #2
by
Tasuku Takahashi
PDF
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #1
by
Tasuku Takahashi
エンジニアが選ぶべきAIエディタ & Antigravity 活用例@ウェビナー「触ってみてどうだった?Google Antigravity 既存IDEと...
by
NorihiroSunada
流行りに乗っかるClaris FileMaker 〜AI関連機能の紹介〜 by 合同会社イボルブ
by
Evolve LLC.
楽々ナレッジベース「楽ナレ」3種比較 - Dify / AWS S3 Vector / Google File Search Tool
by
Kiyohide Yamaguchi
20251210_MultiDevinForEnterprise on Devin 1st Anniv Meetup
by
Masaki Yamakawa
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #2
by
Tasuku Takahashi
Machine Tests Benchmark Suite. Explain github.com/alexziskind1/machine_tests #1
by
Tasuku Takahashi
Featured
PDF
Everything You Need To Know About ChatGPT
by
Expeed Software
PDF
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
PPTX
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
PDF
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
PDF
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
by
RachelPearson36
PDF
Getting into the tech field. what next
by
Tessa Mero
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
PDF
Time Management & Productivity - Best Practices
by
Vit Horky
PDF
Introduction to Data Science
by
Christy Abraham Joy
PDF
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
PDF
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
PDF
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
PDF
The six step guide to practical project management
by
MindGenius
PDF
Skeleton Culture Code
by
Skeleton Technologies
PDF
Content Methodology: A Best Practices Report (Webinar)
by
contently
Everything You Need To Know About ChatGPT
by
Expeed Software
ChatGPT and the Future of Work - Clark Boyd
by
Clark Boyd
How to Prepare For a Successful Job Search for 2024
by
Albert Qian
Product Design Trends in 2024 | Teenage Engineerings
by
Pixeldarts
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
by
RachelPearson36
Getting into the tech field. what next
by
Tessa Mero
How Race, Age and Gender Shape Attitudes Towards Mental Health
by
ThinkNow
PEPSICO Presentation to CAGNY Conference Feb 2024
by
Neil Kimberley
Time Management & Productivity - Best Practices
by
Vit Horky
Introduction to Data Science
by
Christy Abraham Joy
5 Public speaking tips from TED - Visualized summary
by
SpeakerHub
2024 State of Marketing Report – by Hubspot
by
Marius Sescu
Social Media Marketing Trends 2024 // The Global Indie Insights
by
Kurio // The Social Media Age(ncy)
How to have difficult conversations
by
Rajiv Jayarajah, MAppComm, ACC
Trends In Paid Search: Navigating The Digital Landscape In 2024
by
Search Engine Journal
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
by
marketingartwork
Google's Just Not That Into You: Understanding Core Updates & Search Intent
by
Lily Ray
The six step guide to practical project management
by
MindGenius
Skeleton Culture Code
by
Skeleton Technologies
Content Methodology: A Best Practices Report (Webinar)
by
contently
Video Editing in iOS
1.
Video Editing in
iOS potatotips #2 2013.12.11 Yusei Nishiyama
2.
自己紹介 name : 西山勇世 twitter
: @yuseinishiyama blog : http://yuseinishiyama.com ・iOS / Unity ・動画編集 / AR ・最近は色々と拗らせてSchemeとか... これからグイグイ ・社会人2年目( ) くる予定
3.
動画編集してますか??
4.
AVFoundation便利最高!!!! AVFoundationで出来ること
5.
Composing a Timeline 複数の動画をつないだり...。 AVMutableComposition
*composition = [AVMutableComposition composition]; AVMutableCompositionTrack *compositionVideoTrack = [composition addMutableTrackWithMediaType:AVMediaTypeVideo preferredTrackID:...]; [compositionVideoTrack insertTimeRange:... ofTrack:clipVideoTrack atTime:... error:...];
6.
Audio Mixing ボリュームランプをつけてみたり...。 AVMutableAudioMixInputParameters *trackMix
= [AVMutableAudioMixInputParameters audioMixInputParametersWithTrack:mainAudioTrack]; [trackMix setVolume:1.0 atTime:kCMTimeZero]; [trackMix setVolumeRampFromStartVolume:1.0 toEndVolume:0.2 timeRange:CMTimeRangeMake(x,y-x)]; ... AVMutableAudioMix *audioMix = [AVMutableAudioMix audioMix]; audioMix.inputParameters = [NSArray arrayWithObject:trackMix];
7.
Building Transitions 複数の動画を同時に表示したり...。 ディゾルブやコーナーワイプなどに 使えそう。 長い... AVMutableVideoCompositionInstruction *transition
= [AVMutableVideoCompositionInstruction videoCompositionInstruction]; transition.timeRange = transitionTimeRange; AVMutableVideoCompositionLayerInstruction *fromLayer = [AVMutableVideoCompositionLayerInstruction videoCompositionLayerInstructionWithAssetTrack:trackA]; [fromLayer setOpacityRampFromStartOpacity:1.0 toEndOpacity:0.0 timeRange:transitionTimeRange]; AVMutableVideoCompositionLayerInstruction *toLayer = ... layerInstructions = [NSArray arrayWithObjects:fromLayer, toLayer, nil];
8.
CALayers in Movies さらには、CALayerをオーバレイしたり なんてことも可能! CALayer
*parentLayer = [CALayer layer]; CALayer *videoLayer = [CALayer layer]; parentLayer.frame = CGRectMake(0, 0, VIDEO_SIZE.width, VIDEO_SIZE.height); videoLayer.frame = CGRectMake(0, 0, VIDEO_SIZE.width, VIDEO_SIZE.height); [parentLayer addSublayer:videoLayer]; [parentLayer addSublayer:[self textLayerWithStartTime:startTime withText:text]]; videoComposition.animationTool = [AVVideoCompositionCoreAnimationTool videoCompositionCoreAnimationToolWithPostProcessingAsVideoLayer:videoLayer inLayer:parentLayer];
9.
videoComposition.animationTool = [AVVideoCompositionCoreAnimationTool videoCompositionCoreAnimationToolWithPostProce ssingAsVideoLayer:videoLayer inLayer:parentLayer];
10.
Advanced Editing ピクセル単位での編集
11.
• 録画やファイル読み込みなどに、低レベルの APIを利用すればPixelBufferにアクセス可能 (cf.AVAssetReader/Writer、 AVCaptureVideoDataOutput) • それらをCPUで編集するのは流石に重い... →GPUで処理したい。 •
なんだかんだでGPUImageがおすすめ。OpenGLの セットアップのためにboilerplate codeを 書かなくて良いのは大きい。
12.
一応、iOS7にも触れておくと... ・Custom Video Composition パイプラインがより柔軟になった。 AVAssetReader/Writerに比べると、容易にpixelBufferにアクセスできるた め、コードの見通しが良くなる。 @protocol
AVVideoCompositingに 準拠したクラス。
13.
Summary
14.
• AVFoundationには、動画編集を柔軟に 行うためのAPIが多数存在する。 • GPUImageを使用することで、 OpenGLを利用したピクセル単位での処 理が簡単に行える。
15.
More Information • WWDC
2011 Working with Media in AVFoundation • WWDC 2013 Advanced Editing with AV Foundation
16.
ありがとうございました
Download