Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (96)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11694)

  • Bash Syntax near unexpected token 'done'

    28 octobre 2014, par Yashar

    I have a bash script running within Automator that utilizes ffmpeg to determine whether a file is avi or not, then convert appropriately. I am new to bash, but I have a feeling it has to do with my "do" being outside my if then statement.

    However I am receiving the following error when running through an avi file :

    - : -c : line 12 : syntax error near unexpected token `done’

    This is my existing code :

    for f in "$@"
    do
       ${f%.*}.mp4
       if [[ $file == *.avi ]]
       then
           ffmpeg -i "$f" -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 -movflags faststart "${f%.*}.mp4"
           mv "${f%.*}.mp4" /Users/admin/Documents/Movies/
           rm "$f"
       else
           ffmpeg -i "$f" -c copy -movflags faststart "${f%.*}.mp4"
           mv "${f%.*}.mp4" /Users/admin/Documents/Movies/
           rm "$f"
    done

    For reference, this furthest I’ve reached with working code :

    for f in "$@"
    do
       ${f%.*}.mp4
       ffmpeg -i "$f" -c copy -movflags faststart "${f%.*}.mp4"
       mv "${f%.*}.mp4" /Users/yasharsahaleh/Documents/Movies/
       rm "$f"
    done

    This is the code as it appears within Automator :
    enter image description here

  • FFMpeg : 2 pass encoding, first with CRF and second with maxrate of first pass average bitrate ?

    28 septembre 2022, par Alireza Rinan

    I usually do conversions with ffmpeg 1 pass CRF 22 with maxrate 1400k for some movies to convert them to 720p and generate smallest size with best quality, the parameters I use is :

    


    c:v libx264 -vf format=yuv420p,scale=1280:-2 -crf 22 -maxrate 1400k -bufsize 7000k


    


    Doing this too much I found that apart from the black bars that reduces bitrate, the color theme, number of high movement scenes... etc affects the bitrate too much, CRF 22 makes sure you get constant quality at every scene, that makes bitrate reaches my maximum 1400k at some scenes while the reset of the scenes in some movies are barely 800k, this result the average bitrate for a same movie reaches for example about 1100k, for these movies I do the encoding again with lower maxrate
(Ex:1100k) and I get same quality with lower average rate 1000k.

    


    Now I'm wondering is there any automated method in 2 pass to get same result ?
For example doing the first pass in CRF 22 and the second pass at average bitrate of first pass to lower the quality of those bitrate rages in first pass ?

    


  • Revision b95ed6883a : a minor change to a portion of loop filtering The loop filtering used for MB ed

    17 janvier 2013, par Yaowu Xu

    Changed Paths : Modify /vp9/common/vp9_loopfilter.c Modify /vp9/common/vp9_loopfilter_filters.c a minor change to a portion of loop filtering The loop filtering used for MB edge or internal edge of a MB using 8x8 tranform was reading 5 pixel each side and writting 3 pixel each side. With (...)