Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (38)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (7342)

  • Correct ffmpeg scale command syntax

    10 novembre 2015, par user3132858

    I am new to ffmpeg and need some help with the correct syntax for a scale command I found here.

    Below is my code :

    $width=300;
    $height=200;
    $aspect=$width/$height;


    $command = "/usr/local/bin/ffmpeg -y -i 1.mp4 -vf scale=min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")) * (gte(a\,".$aspect.")*".$width." + \
    lt(a\,".$aspect.")*((".$height."*iw)/ih)) + not(min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")))*iw : \
    min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")) * (lte(a\,".$aspect.")*".$height." + \
    gt(a\,".$aspect.")*((".$width."*ih)/iw)) + not(min(1\,gt(iw\,".$width.")+gt(ih\,".$height.")))*ih  -b 1200k -acodec aac -strict -2 2.mp4 ";

    Video is successfully converted however, the scaling does not go trough.

    The code is copied word for word, I only make two changes :

    • removed the " before scale word and from the end
    • replaced the $FW with $width, $FH with $height and $FA with $aspect.

    Any suggestion at what might be wrong ?

  • doc/filters : fixes for scale filter

    17 octobre 2019, par Gyan Doshi
    doc/filters : fixes for scale filter
    

    Adjusted formatting and prose for option force_divisible_by in scale filter

    • [DH] doc/filters.texi
  • fate : add chroma position scale test

    23 septembre 2015, par Christophe Gisquet
    fate : add chroma position scale test
    

    The sample position is made weird and non-nominal to force catching
    such issues as default values or specialized operations hiding
    issues in corner cases.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] tests/fate/filter-video.mak
    • [DH] tests/ref/fate/filter-scalechroma