Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (52)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip 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 2013

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

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

Sur d’autres sites (10039)

  • Flutter FFMPEG - Getting the same waveform output image for different audio files

    28 novembre 2020, par mtkguy

    I'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 {&#xA;Rx<file> cachedAudioFile = Rx<file>();&#xA;  RxString waveFormImagePath = "".obs;&#xA;&#xA;Future<int> getWaveForm(String url) async {&#xA;    final FlutterFFmpeg _flutterFFmpeg = FlutterFFmpeg();&#xA;    final FlutterFFmpegConfig _flutterFFmpegConfig = FlutterFFmpegConfig();&#xA;    // clear out path for new wave form&#xA;    if (waveFormImagePath.value != "") {&#xA;      File(waveFormImagePath.value).delete();&#xA;    }&#xA;    waveFormImagePath.value = "";&#xA;    Directory appDocumentDir = await getApplicationDocumentsDirectory();&#xA;    String rawDocumentPath = appDocumentDir.path;&#xA;    waveFormImagePath.value = [rawDocumentPath, &#x27;/audioWaveForm.png&#x27;].join();&#xA;&#xA;    cachedAudioFile.value = await DefaultCacheManager().getSingleFile(url);&#xA;    String inputFilePath = cachedAudioFile.value.path;&#xA;    String commandToExecute = [&#xA;      &#x27;-y -i $inputFilePath -filter_complex "compand,aformat=channel_layouts=mono,showwavespic=s=4000x2000:colors=white" -frames:v 1 &#x27;,&#xA;      waveFormImagePath.value&#xA;    ].join();&#xA;    _flutterFFmpeg&#xA;        .execute(commandToExecute)&#xA;        .then((rc) => print("FFmpeg process exited with rc $rc"));&#xA;    int returnCode = await _flutterFFmpegConfig.getLastReturnCode();&#xA;    var output = await _flutterFFmpegConfig.getLastCommandOutput();&#xA;    print(output);&#xA;    print(waveFormImagePath.value);&#xA;&#xA;    return returnCode;&#xA;  }&#xA;}&#xA;</int></file></file>

    &#xA;

    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

    &#xA;

    FileImage(File(recordController?.waveFormImagePath?.value))&#xA;

    &#xA;

    Any help would be appreciated.

    &#xA;

  • how to Add mp3 file in to video file using ffmpeg

    20 mai 2020, par Rahane Akoliya

    i want to Add mp3 file in to video file using ffmpeg,i refer many link but not find answer.anyone can help me ?

    &#xA;&#xA;

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

    &#xA;&#xA;

    i try this command but give error.

    &#xA;

  • How to convert a video to mask with ffmpeg ?

    8 avril 2019, par Zedd W

    I want to synthesize videos with a pre-designed template.

    template structure

    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 ?