
Recherche avancée
Autres articles (68)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (7399)
-
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 EsmailporI'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 and1
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 BrainI 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 */);