
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (70)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (11195)
-
Flutter FFMPEG - Getting the same waveform output image for different audio files
28 novembre 2020, par mtkguyI'm trying to generate waveform images for different audio files but no matter what i do, i keep getting the same waveform image for every audio. The first audio file returns the correct waveform image but subsequent files also return that same image as output. Yes, i already set the overwrite flag to my command but it doesn't change anything. Here's my code.


class RecordController extends GetxController {
Rx<file> cachedAudioFile = Rx<file>();
 RxString waveFormImagePath = "".obs;

Future<int> getWaveForm(String url) async {
 final FlutterFFmpeg _flutterFFmpeg = FlutterFFmpeg();
 final FlutterFFmpegConfig _flutterFFmpegConfig = FlutterFFmpegConfig();
 // clear out path for new wave form
 if (waveFormImagePath.value != "") {
 File(waveFormImagePath.value).delete();
 }
 waveFormImagePath.value = "";
 Directory appDocumentDir = await getApplicationDocumentsDirectory();
 String rawDocumentPath = appDocumentDir.path;
 waveFormImagePath.value = [rawDocumentPath, '/audioWaveForm.png'].join();

 cachedAudioFile.value = await DefaultCacheManager().getSingleFile(url);
 String inputFilePath = cachedAudioFile.value.path;
 String commandToExecute = [
 '-y -i $inputFilePath -filter_complex "compand,aformat=channel_layouts=mono,showwavespic=s=4000x2000:colors=white" -frames:v 1 ',
 waveFormImagePath.value
 ].join();
 _flutterFFmpeg
 .execute(commandToExecute)
 .then((rc) => print("FFmpeg process exited with rc $rc"));
 int returnCode = await _flutterFFmpegConfig.getLastReturnCode();
 var output = await _flutterFFmpegConfig.getLastCommandOutput();
 print(output);
 print(waveFormImagePath.value);

 return returnCode;
 }
}
</int></file></file>


I'm using the Getx package to manage state and as such i can use the
waveFormImagePath
anywhere in my UI plus it's reactive. So somewhere in my UI i have this

FileImage(File(recordController?.waveFormImagePath?.value))



Any help would be appreciated.


-
how to Add mp3 file in to video file using ffmpeg
20 mai 2020, par Rahane Akoliyai want to Add mp3 file in to video file using ffmpeg,i refer many link but not find answer.anyone can help me ?



final String[] command= ("-i "+ Constant.getTempVideo(VideoEditorActivity.this, false) +" -i " +Constant.Song_Path+ " -c copy -map 0:0 -map 0:1 -map 1:0 -shortest " + videoOutputPath).split(" ");




i try this command but give error.


-
How to convert a video to mask with ffmpeg ?
8 avril 2019, par Zedd WI want to synthesize videos with a pre-designed template.
template structure
- background video : background
- mask video : mask
- foreground video : foreground
- content video : content
The final result is similar to the video below
result : This video is synthesized by me using moviepy(a Python module for video editing). But it takes too long to be used in production.
So, I need to overlay these videos into a single video.
Current problems
- How to convert a video to mask by ffmpeg ?
- How to synthesize these videos to a single video by ffmpeg ?