Recherche avancée

Médias (91)

Autres articles (42)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7589)

  • Libx264 width not divisible by 2

    1er mai 2022, par Meh Sadness

    I have this ffmpeg command :

    


    ffmpeg -framerate 1 \
-i \"path/to/background\" \
-i \"path/to/source/mp3\" \
-filter_complex \"[1:v]scale=600:-1, pad=(16/15)*iw:(16/15)*ih:(ow-iw)/2:(oh-ih)/2:white, [0:v]overlay=(W-w)/7:(H-h)/2:shortest=1,drawtext=fontsize={fontsize}:fontfile={font}:fontcolor=white:text=\'{artist} - {title}\':x=W/2+W/10.5:y=H/11,drawtext=fontsize={fontsize}:fontfile={font}:fontcolor=white:text=\'{album}\':x=W/2+W/10.5:y=2*(H/10),drawtext=fontsize={fontsize}:fontfile={font}:fontcolor=white:text=\'{date}\':x=W/2+W/10.5:y=3*(H/10),format=yuv420p\" \
-c:v libx264 \
-r 30 \
-movflags +faststart \"{output}\"


    


    It should convert the music into a video that will contain the cover art and various metadata.

    


    However, I am getting the error indicated in the title and, at the same time, various changes to the pad and scale filter unfortunately didn't work. Moreover, no matter what part of the command I change, I still get an error like this :

    


    [libx264 @ 000001581b1d7b80] width not divisible by 2 (555x260)


    


    And at the same time, the dimensions are always the same - 555x260

    


  • ffmpeg - convert background to black ? [closed]

    22 juin 2022, par david furst

    the basic problem
    
convert all pixels in all frames of a source video to black if they have a white value below a certain threshold and output the results as a series of static images with no transparency.

    


    my solution so far
    
i am able to do this with a two-step process :

    


      

    1. convert pixels below the threshold to transparent using ffmpeg's colorkey filtre, outputting a series as PNG.
    2. 


    3. use imagemagick to convert the PNG to JPEG.
    4. 


    


    this approach is very slow. ideally i'd like to do everything in one go, within ffmpeg.

    


    the reason i haven't been able to do that so far is that the resulting transparency isn't discarded (as i'd hoped) when outputting to non-transparent formats like JPG, even if i try to 'discard' the alpha layer beforehand using combinations of split and lutrgb ; the resulting JPEGs still resemble the original images.

    


    my current filter chain :

    


    ffmpeg -hide_banner -y -i input.mp4 -f lavfi -i color=c=white \
    -filter_complex "[0:v]format=gray[src];
        [1][src]scale2ref[white][vid];
        [vid][white]blend=all_mode=multiply:shortest=1,colorkey=black:0.95" %05d.png


    


  • Difference between ffmpeg and opencv [on hold]

    19 février 2017, par mehdi karimi

    I tried to use ffmpeg on Android but I’ve encountered some problems.
    A friend told me I can use OpenCV or JavaCV instead of ffmpeg with ffmpeg commands.
    Can anybody advice me on how can I use OpenCV or JavaCV on Android ?