<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ch3cooh393</author_name>
  <author_url>https://blog.hatena.ne.jp/ch3cooh393/</author_url>
  <blog_title>酢ろぐ！</blog_title>
  <blog_url>https://blog.ch3cooh.jp/</blog_url>
  <categories>
    <anon>開発</anon>
    <anon>開発-iOS</anon>
  </categories>
  <description>動画生成について知識を深める必要がでてきました。まずは簡単なところから始めるべく複数枚の静止画から動画(mp4)を生成しました。Xcode 11.3.1 / Swift 5.1を使って実装しています。 事前準備 事前に用意したものは3枚の静止画です。1024 x 1024 ピクセルのPNG画像です。 複数枚の静止画から動画(mp4)を生成する ボタンがタップされたら複数の静止画(PNG)をつなぎ合わせて1枚の動画(mp4)を生成します。 import UIKit import AVFoundation //... @IBAction func buttonAction(_ sender: An…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ch3cooh.jp%2Fentry%2Fios%2Fgenerate_movie_using_avassetwriter&quot; title=&quot;SwiftでAVFoundationを使って複数枚の静止画から動画(mp4)を生成する - 酢ろぐ！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/c/ch3cooh393/20200309/20200309182923.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-09 19:00:00</published>
  <title>SwiftでAVFoundationを使って複数枚の静止画から動画(mp4)を生成する</title>
  <type>rich</type>
  <url>https://blog.ch3cooh.jp/entry/ios/generate_movie_using_avassetwriter</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
