Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (42)

  • 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

  • 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 (7270)

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

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

  • Mix more then 1000 mp3's sounds bad / Can I use FFmpeg to merge 1000 mp3s ?

    7 avril 2022, par maesbn

    I am working on a project where everybody has to activate a part of a song. I have about 7000 mp3's, each with the same length of the final mix but with only a small part of audio. So for example you can hear a drum hit at the 15th second and the rest of the mp3 (about 4 min.) is silence.

    &#xA;&#xA;

    I use the mix filter to add all the mp3's. I add them 32 mp3s at a time. &#xA;The first test I've run results in the first mixed mp3s to be silenced ? (I set the Volume on the mix to the number of tracks) Also the sound is of poor quality after the mix. Can I fix this ?

    &#xA;&#xA;

    Or do you think this can not be done by ffmpeg ? Do you know an alternative program to do this ?

    &#xA;&#xA;

    Thanks !&#xA;B.

    &#xA;