
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 (111)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (11560)
-
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 ?
-
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.