<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shangtian</author_name>
  <author_url>https://blog.hatena.ne.jp/shangtian/</author_url>
  <blog_title>shangtian’s blog</blog_title>
  <blog_url>https://www.shangtian.tokyo/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>はじめに 環境 ffmpegのインストール コード 実行する うまくいかない時 はじめに phpで動画を変換させてみました。 今回取った方法はffmpegをphpからexec()で実行させる方法です。 php-ffmpegなどライブラリがありますが 結構面倒なのでこのやり方が一番手軽に出来ます。 環境 linux mint ffmpegのインストール まずはffmpegをインストールしていきます。 $sudo apt-get install ffmpeg コード コードは以下の通り。 gist3a2c1a053203ad816d635ae5b9a94073 3行目で標準入力を受け付けて変数に代…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shangtian.tokyo%2Fentry%2F2019%2F02%2F08%2F174138&quot; title=&quot;phpでffmpeg実行する - shangtian’s blog&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/s/shangtian/20190208/20190208154320.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-08 17:41:38</published>
  <title>phpでffmpeg実行する</title>
  <type>rich</type>
  <url>https://www.shangtian.tokyo/entry/2019/02/08/174138</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
