Recherche avancée

Médias (91)

Autres articles (64)

  • 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.

  • 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

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (3055)

  • 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

    


  • How to set specific minimal bitrate of video with light_compressor package in Flutter ?

    21 juin 2023, par Giant Brain

    I tried using flutter's light_compressor package to compress a video I shot with my phone or downloaded from YouTube.

    


    I refer to the article below.
https://morioh.com/p/ac6f0d2c176b
In this article, the minimum bit rate can be set and the default value is 2mbps.

    


    However, in the sample code, only the flag isMinBitrateCheckEnabled exists, and there is no parameter to set a specific bit rate.

    


    How do I compress the video to my desired bitrate ?

    


    Below is a part of the sample code.

    


    import 'package:light_compressor/light_compressor.dart';


final LightCompressor _lightCompressor = LightCompressor();
final dynamic response = await _lightCompressor.compressVideo(
  path: _sourcePath,
  destinationPath: _destinationPath,
  videoQuality: VideoQuality.medium,
  isMinBitrateCheckEnabled: false,
  frameRate: 24 /* or ignore it */);


    


  • 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 ?