
Recherche avancée
Autres articles (65)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
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 ;
Sur d’autres sites (9095)
-
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.


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


-
combine Scheduled audio ffmpeg
5 septembre 2018, par Erfan EsmaeilzadehI am developing a music making application for Android. I need to create a system that can extract MP3s from the user’s music project.
I can save the name of every file per second of music in a string, as in the following example :
a.mp3-b.mp3-c.mp3|| d.mp3-e.mp3-f.mp3|| g.mp3-h.mp3-i.mp3
=> final.mp3Between "||" is equivalent to one second and the audio within this parameter must be combined. After that, the combinations are put together.
The most important thing is the timing of each sound. Some sounds must be combined at one time and some sounds at other times.