
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (8970)
-
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 */);



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


-
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