<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jg4xic</author_name>
  <author_url>https://blog.hatena.ne.jp/jg4xic/</author_url>
  <blog_title>jg4xic’s diary</blog_title>
  <blog_url>https://jg4xic.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Linux</anon>
  </categories>
  <description>90度単位で回転させる transposeオプションを使う。なお、複数の-vfを入れると、最後ののみ有効になるので、-vfオプションが複数ある場合はカンマで区切ること。 ffmpeg -i input.mp4 -vf &quot;transpose=1&quot; output.mp4 0:90度反時計回りに回転したのち上下反転 1:90度時計回り 2:90度反時計回り 3:90度時計回りののち上下反転 任意の角度で回転させる rotateオプションを使う。角度はラジアンで指定するので、時計回りに45度回転させる場合は、 ffmpeg -i input.mp4 -vf &quot;rotate=45*PI/180&quot; out…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjg4xic.hatenadiary.jp%2Fentry%2F2022%2F12%2F08%2F201613&quot; title=&quot;動画を回転させてエンコードする - jg4xic’s diary&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-08 20:16:13</published>
  <title>動画を回転させてエンコードする</title>
  <type>rich</type>
  <url>https://jg4xic.hatenadiary.jp/entry/2022/12/08/201613</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
