Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (55)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (11237)

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

    


  • 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