Advanced search

Medias (91)

Other articles (26)

  • Les formats acceptés

    28 January 2010, by

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 February 2011, by

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Amélioration de la version de base

    13 September 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

On other websites (7468)

  • flacdec: don’t call allocate_buffers() in init_thread_copy() when s->max_blocksize...

    6 June 2013, by Paul B Mahol
    flacdec: don’t call allocate_buffers() in init_thread_copy() when s->max_blocksize is 0
    

    This is normal, and happens when no extradata was available at decoder
    initialization.

    Signed-off-by: Paul B Mahol <onemda@gmail.com>

    • [DH] libavcodec/flacdec.c
  • lavfi/nlmeans: simplify log() call

    1 February 2019, by Clément Bœsch
    lavfi/nlmeans: simplify log() call
    
    • [DH] libavfilter/vf_nlmeans.c
  • ASP.NET: Powershell script finishes after the first ffmpeg call

    24 March 2014, by sk904861

    The following Powershell script only executes the first ffmpeg call, no matter which one is first. Both the ffmpeg and the powershell processes never finish.

    Param($InputFile, $OutputFile, $Thumbnail, $Sprites)

    $ThumbnailWidth = 120
    $ThumbnailHeight = 120

    # Thumbnail
    ffmpeg -i $InputFile -f image2 -vframes 1 -filter:v "crop=min(iw\,ih):min(iw\,ih), scale=$($ThumbnailWidth):$($ThumbnailHeight)" -crf 18 "$($Thumbnail)\150x150.png"

    # Poster
    ffmpeg -i $InputFile -f image2 -vframes 1 -filter:v "crop=min(iw\,ih):min(iw\,ih), scale=$($PosterWidth):$($PosterHeight)" -crf 18 "$($Thumbnail)\1000x1000.png"

    The script gets called within an ASP.NET application as follows:

    ProcessStartInfo startInfo = new ProcessStartInfo();
    startInfo.FileName = "powershell.exe";
    startInfo.Arguments = String.Format("-executionpolicy RemoteSigned -file \"{0}\" \"{1}\" \"{2}\" \"{3}\" \"{4}\"", scriptPath, fullPath, videoPath, thumbnailPath, sprites);
    startInfo.RedirectStandardOutput = true;
    startInfo.RedirectStandardError = true;
    startInfo.UseShellExecute = false;
    startInfo.CreateNoWindow = true;
    Process process = new Process();
    process.StartInfo = startInfo;

    process.EnableRaisingEvents = true;
    process.Exited += delegate
    {
        // Do some cleaning up
    };

    process.Start();

    Does anyone have a clue, why only the first the two ffmpeg calls is working, while each call seems to be correct?