<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ffmpeg on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</title>
    <link>https://move.cyber-neurones.org/tags/ffmpeg/</link>
    <description>Recent content in Ffmpeg on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Sun, 04 Jan 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://move.cyber-neurones.org/tags/ffmpeg/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Recherche compression MP4 pour Humhub</title>
      <link>https://move.cyber-neurones.org/post/humhub/update/2026-01-04/</link>
      <pubDate>Sun, 04 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/humhub/update/2026-01-04/</guid>
      <description>&lt;p&gt;Je cherche a compresser les vidéos et aussi a les afficher sur Firefox, mais pour l&amp;rsquo;instant le process ne fonctionne pas &amp;hellip;&lt;/p&gt;&#xA;&lt;p&gt;Le process :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# find /var/www/humhub/uploads/file/ -name &amp;#39;file&amp;#39; \&#xA;  -exec file {} + | grep &amp;#34;MP4 &amp;#34; | sed &amp;#39;s/:/ /g&amp;#39; \ &#xA;  | awk &amp;#39;{print $1}&amp;#39; | xargs du -b \ &#xA;  | awk &amp;#39;{ sum += $1 } END { print sum/1024/1024 }&amp;#39;&#xA;6690.92&#xA;# find /var/www/humhub/uploads/file/ -name &amp;#39;file&amp;#39; \ &#xA;  -exec file {} + | grep &amp;#34;MP4 &amp;#34; | sed &amp;#39;s/:/ /g&amp;#39; \&#xA; | awk &amp;#39;{print $1}&amp;#39; | xargs -I {} \ &#xA;  ffmpeg -i {} -c:v libx264 -preset slow -crf 18 \ &#xA;  -c:a aac -vf format=yuv420p -movflags +faststart   {}_tmp7.mp4&#xA;# find /var/www/humhub/uploads/file/ -name &amp;#39;file_tmp7.mp4&amp;#39; \ &#xA;  -exec file {} + | grep &amp;#34;MP4 &amp;#34; | sed &amp;#39;s/:/ /g&amp;#39; \ &#xA;  | awk &amp;#39;{print $1}&amp;#39; | sed &amp;#39;s/_tmp7.mp4//g&amp;#39; \ &#xA;  | xargs -I {} mv {}_tmp7.mp4 {}&#xA;# find /var/www/humhub/uploads/file/ -name &amp;#39;file&amp;#39; \&#xA;  -exec file {} + | grep &amp;#34;MP4 &amp;#34; | sed &amp;#39;s/:/ /g&amp;#39; \ &#xA;  | awk &amp;#39;{print $1}&amp;#39; | xargs du -b \&#xA;  | awk &amp;#39;{ sum += $1 } END { print sum/1024/1024 }&amp;#39;&#xA;4306.44&#xA;# chown -R www-data:www-data  /var/www/humhub&#xA;# php yii integrity/run&#xA;# php yii cache/flush-all&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;J&amp;rsquo;ai laissé un commentaire sur (&lt;a href=&#34;https://github.com/humhub/humhub/issues/6025&#34;&gt;https://github.com/humhub/humhub/issues/6025&lt;/a&gt;)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Compression ffmpeg</title>
      <link>https://move.cyber-neurones.org/post/2024/10/2024-10-14-compression-ffmpeg/</link>
      <pubDate>Mon, 14 Oct 2024 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2024/10/2024-10-14-compression-ffmpeg/</guid>
      <description>&lt;p&gt;Chaque fois je perd la commande &amp;hellip; donc je pose ici la commande :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# ffmpeg -i RocdAzur2024C.mp4 -c:v libx264 -pix_fmt yuv420p -crf 28 -preset fast -tune zerolatency -c:a aac -vf scale=&amp;#34;480:270&amp;#34; RocdAzur2024C2.mp4&#xA;&#xA;# du -sh RocdAzur2024C.mp4 RocdAzur2024C2.mp4&#xA;221M RocdAzur2024C.mp4&#xA;68M RocdAzur2024C2.mp4&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Le but était d&amp;rsquo;avoir moins de 100 Mo sur une video de 12 minutes en 960x540.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
