VPS
Piste : • Parametrage ffmpeg

Parametrage ffmpeg

en H264 la hauteur d'image doit être paire - ffmpeg ne prévient pas - voir rubrique Astuces dans le lien ci-dessous pour s'en prémunir

Exemples de parametrage ffmpeg:

Formats
  • conversion au format Apple ProRes 4444 (ap4h) - vlc : -c:v prores
  • conversion au format Apple ProRes 422 standard (apcn) - (plus compact) : -c:v prores -pix_fmt yuv422p10le
  • h264 compatible Qt : -c:v libx264 -pix_fmt yuv420p
  • h264 incompatible Qt : -c:v libx264 -pix_fmt yuv422p
  • h264 incompatible Qt : -c:v libx264 : (yuv 444)
  • parametrage BAB : -c:v libx264 -pix_fmt yuv420p -crf 22 -c:a aac :
  • divers : -s:v 1280×720 -c:v libx264 -c:a copy -pix_fmt yuv420p -preset slow -tune animation -crf 18
Astuces
  • Forcer Resolution verticale paire (pour h264 - sinon plantage) : -vf scale=iw:-2
  • Optimisation pour l'animation : -tune animation :
Opérations
  • Resize & keep Ratio: -vf “scale=1920:-2”
  • Double Size: -vf “scale=2*in_w:2*in_h”
  • Convert To Images Sequence: -r 25/1 (Output Filename=%a_%04d.png)
  • add Tag : -vf drawtext=“fontfile=/Windows/Fonts/ariblk.ttf:text={TEXT}: fontcolor=gray: fontsize=48: x=(w-text_w-60): y=(h-text_h-60)” -codec:v dnxhd -b:v 185M -codec:a copy
  • remove identical pictures in video : -vf “select='if(eq(n,0),1,gte(scene,0.00001))',setpts=N/FRAME_RATE/TB”
    • keep only defferents pictures + first picture. Usefull tu remove fixe,White or Black sequence

Documentation ffmpeg:
https://ffmpeg.org/ffmpeg.html
https://ffmpeg.org/ffmpeg-filters.html

Vous pourriez laisser un commentaire si vous étiez connecté.
Previous Next

Outils du site

  • Gestionnaire Multimédia
  • Plan du site

Outils de la page

  • Exporter en PDF
  • Tout plier/déplier
  • Haut de page

Outils pour utilisateurs

  • S'identifier
compatoon/manuals/toonbox/v2/ffmpeg/start.txt · Dernière modification : 2024/09/05 15:09 de twinstef
VPS

Table of Contents

Documentations

  • Documentation ToonBox
  • Documentation ToonBox Plugin
  • Documentation ToonBrowser

.

2019/07/26 19:39 · twinstef