Recherche avancée

Médias (0)

Mot : - Tags -/masques

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

Autres articles (90)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (14979)

  • FFMPEG - Crop image so that height and width of image are equal

    2 septembre 2020, par Sarmad S.

    Using ffmpeg, I want to be able to crop an image so that the dimensions become equal. For example if I have an input image that is 1600x1000, after cropping it should be 1000x1000 (because 1000 is the smallest amongst the two dimensions). When cropping the image, it should crop equally from both sides.

    


    Some examples :
Input image : 1600x1000 -> crop 300px from the left and 300px from the right side. Final image 1000x1000.

    


    Input image : 1100x1500 -> crop 200px from the top and 300px from the bottom. Final image 1100x1100.

    


    I can use this the command below to crop left and right or bottom and top or both. But the problem is that I want to crop only the largest dimension. Is there any way to know the largest dimension ?

    


    crop=in_w-in_h/2:in_h-in_w/2


    


  • How check the file is corrupted before concatenate them with FFmpeg ?

    17 février 2021, par Ali Esmailpor

    I'm using child_process package in NodeJS to run FFmpeg for concatenating some videos. The command that I use for concatenating is :

    


    ffmpeg -f concat -i list_file.txt -c copy final.mp4


    


    that list_file.txt is the list of videos file and it contains :

    


    file '700010023590099933_1612945401707.mp4'
file '700010023590099933_1612945439023.mp4'
.
.


    


    I want to check every video before concatenate them because if one of them be corrupted it stops the process and throws an error. So it makes the final video corrupted too.

    


    In addition, I can check if a video file is OK or not with this command :

    


    ffmpeg -i input.mp4 -c copy -f null -; echo $?


    


    that returns 0 if file is OK and 1 if not.

    


    I want to check all the video files and if all of them are OK then concatenate them. And if each one was corrupted then exclude it and continue the process.
Is there a way to do this in one command ?

    


  • What is the easiest way to merge GIF and Audio files into one Video file using FFMPEG

    7 avril 2021, par Mouaad Abdelghafour AITALI

    I have an audio file and GIF, I would like to merge both of them into one video file, I've done the following :

    


    Converting GIF into Video

    


    Looping the output video X time X = (int) (audioDuration / 1000.0) / gifDuration;

    


    Merge the final video with the audio

    


    FFmpeg commands :

    


    Converting GIF into Video

    


    -f gif -y -i input.gif -c:a copy -c:v libx265 -crf 26 -preset ultrafast -s 1080*1920 -pix_fmt yuv420p -map 0 gif2video.mp4


    


    Looping the output video X time

    


    -y -stream_loop " + X + " -i gif2video.mp4 -c copy looped_output.mp4


    


    Merge the final video with the audio :

    


    -y -i looped_output.mp4 -i audio.mp3 -c:v copy -c:a aac final_output.mp4


    


    The above command works, but sometimes the output video export with one GIF frame (no animation) and audio