Recherche avancée

Médias (91)

Autres articles (61)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (8708)

  • 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 ?