Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (34)

  • 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

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (5206)

  • combine Scheduled audio ffmpeg

    5 septembre 2018, par Erfan Esmaeilzadeh

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

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

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