
Recherche avancée
Autres articles (71)
-
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 ;
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (11869)
-
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 */);



-
What is the easiest way to merge GIF and Audio files into one Video file using FFMPEG
7 avril 2021, par Mouaad Abdelghafour AITALII 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