Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (59)

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

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

  • Amélioration de la version de base

    13 septembre 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 (...)

Sur d’autres sites (7354)

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

    


  • 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 */);