
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (66)
-
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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie 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 (7463)
-
Combining audio and multiple videos with FFMPEG [closed]
6 novembre 2023, par Lee PI am working on a ffmpeg script to combine two videos with one audio file. The first video file should start after about 6 seconds and the second after about 40 seconds, and there should be a padding with a black screen between the two videos.
However, it only seems to add the first video clones the final frame as the padding.


Here is my current script :


ffmpeg -i video_0.mp4 -i video_1.mp4 -i audio.mp4 -filter_complex "[0:v] tpad=start_duration=5927ms:start_mode=add:color=black:stop_mode=add:color=black; [1:v] tpad=start_duration=44901ms:start_mode=add:color=black:stop_mode=add:color=blackconcat=n=2" -map 2:a -f mp4 -movflags +faststart composite_recording.mp4



The final video timing should be :


00:00-00:06 — black screen

00:06-00:24 — first video

00:24-00:40 — black screen

00:40-00:48 — second video

I tried setting different values for the tpad start_duration for the second video and expected it to start the second video at around 40 seconds into the audio, however it didn't change anything.


-
Unrecognized option 'crf'
6 septembre 2022, par Arjit KaushalI am trying compress video using ffmpeg but i am facing errors in the command.
Although it runs perfectly fine on my linux terminal.
( ffmpeg -i input.avi -vcodec libx264 -crf 24 output.avi)
.

my code :


void _compress() {
 if (_videoModel == null) return;
 String inputPath = _videoModel!.originalCachePath;
 String outputPath = _videoModel!.editCachePath;
 
 FFmpegKit.execute("-i $inputPath -vcodec libx264 -crf 24 -y $outputPath")
 .then((session) async {
 final returnCode = await session.getReturnCode();
 if (ReturnCode.isSuccess(returnCode)) {
 Navigator.pushNamed(context, PreviewPage.routeName,
 arguments: _videoModel);
 } else if (ReturnCode.isCancel(returnCode)) {
 print("compress cancel");
 } else {
 print("compress error : $returnCode");
 FFmpegKitConfig.enableLogCallback((log){
 final message = log.getMessage();
 print(message);
 });
 
 
 }
 });
 }



I am facing the following errors :
Unrecognized option 'crf',
I/flutter (31056) : Error splitting the argument list,
Option not found.


-
How to create video from multiple gallery images store in array flutter ffmpeg
26 janvier 2023, par AmmaraI select images from gallery using multi_image_picker in flutter and store all images in array.


try {
 resultList = await 
 MultiImagePicker.pickImages(
 maxImages: 300,
 enableCamera: true,
 selectedAssets: images,
 materialOptions: MaterialOptions(
 actionBarTitle: "Photo Editor and Video 
 Maker App",
 ),
 );
 }



User can select images from gallery and store in resultlist array.
Now I want to pass this array to ffmpeg to create video from all these images.


I try a lot and search almost all sites but fail. Here is my code.


Future<void> ConvertImageToVideo () async{
const String BASE_PATH = '/storage/emulated/0/Download/';
const String AUDIO_PATH = BASE_PATH + 'audiio.mp3';
const String IMAGE_PATH = BASE_PATH + 'image002.png';
const String OUTPUT_PATH = BASE_PATH + 'output02.mp4';
// final FlutterFFmpeg _flutterFFmpeg = FlutterFFmpeg();
if(await Permission.storage.request().isGranted){
 List<asset> resultlist = <asset>[];
 String commandToExecute =
 '-r 15 -f mp3 -i ${AUDIO_PATH} -f image2 -i ${resultlist} -y ${OUTPUT_PATH}';
 await FFmpegKit.execute(commandToExecute).then((session) async {
 final returnCode = await session.getReturnCode();
 final state = await session.getState();
 if (ReturnCode.isSuccess(returnCode)) {
 print("ruuning "+state.toString());
 print("video created " + returnCode.toString());
 } else if (ReturnCode.isCancel(returnCode)) {
 print("video cancel " + returnCode.toString());
 } else {
 print("error " );
 }
 });
}else if (await Permission.storage.isPermanentlyDenied) {
 openAppSettings();
}
</asset></asset></void>


}