Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (80)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (6398)

  • Evolution #2844 (Fermé) : Permettre de paramétrer define(’SYNDICATION_CORRECTION’, true) ;

    6 septembre 2012, par cedric -

    corrigé par http://zone.spip.org/trac/spip-zone/changeset/65622 quoi qu’il en soit

  • Flutter : Failed assertion : 'file.absolute.existsSync()' : is not true

    11 août 2022, par whatwhatwhat

    In my app, a user can send a file to others in a group chat. First, the user records some audio using their mic. The file is then touched up using FFMPEG. Then, the file is uploaded to Firebase Cloud Storage and if this is successful, a record is written in Firebase Realtime Database.

    


    I'm getting the error below when the user records a long audio file and then presses submit. It almost seems as though FFMPEG hasn't finished processing the file...but I thought I used my async/await correctly to make sure that this processing is finished before moving on ?

    


    


    ##MyAppFile## saveMyAppFileToCloudStorage Error : 'package:firebase_storage/src/reference.dart' : Failed assertion : line 127 pos 12 : 'file.absolute.existsSync()' : is not true.

    


    


    Psuedo-code :

    


      

    1. User records audio
    2. 


    3. Audio file is processed using FFMPEG and the new processed file is created on the user's phone
    4. 


    5. User hits submit, uploading the file to Cloud Storage and, if successful, writing a record to Realtime Database
    6. 


    


    Order of Functions After User Hits Submit :

    


      

    1. msgInput.dart -> sendMyAppFile()
    2. 


    3. msgInput.dart -> prepareMyAppFileForSending()
    4. 


    5. msgInput.dart -> runFFMPEGHighLow()
    6. 


    7. message_dao.dart -> sendMyAppFile()
    8. 


    9. message_dao.dart -> saveMyAppFileToCloudStorage() //ERROR COMES FROM THIS FUNCTION
    10. 


    


    The Code :

    


    //msgInput.dart&#xA;Future<void> sendMyAppFile() async {&#xA;    if (sendableMyAppFileExists == 1) {&#xA;      final MyAppFileReadyToBeSent = await prepareMyAppFileForSending();&#xA;&#xA;      if (MyAppFileReadyToBeSent == &#x27;1&#x27;) {&#xA;        messageDao.sendMyAppFile(MyAppFile, filepath, filename); &#xA;      } else {&#xA;      &#xA;      }&#xA;    }&#xA;&#xA;    setState(() {&#xA;      sendableMyAppFileExists = 0;&#xA;    });&#xA;  }&#xA;  &#xA;  Future<string> prepareMyAppFileForSending() async {&#xA;    if (sendableMyAppFileExists == 1) {&#xA;      if (recordedMyAppFileFilterID == &#x27;1&#x27;) {&#xA;&#xA;        await runFFMPEGHighLow(&#x27;1&#x27;); &#xA;&#xA;        return &#x27;1&#x27;;&#xA;      }&#xA;&#xA;      if (recordedMyAppFileFilterID == &#x27;2&#x27;) {&#xA;&#xA;        await runFFMPEGHighLow(&#x27;2&#x27;); &#xA;&#xA;        return &#x27;1&#x27;;&#xA;      }&#xA;    }&#xA;&#xA;    return &#x27;0&#x27;;&#xA;  }&#xA;  &#xA;  Future<void> runFFMPEGHighLow(String filterID) async { &#xA;    if (filterID != &#x27;1&#x27; &amp;&amp; filterID != &#x27;2&#x27;) {&#xA;      return;&#xA;    }&#xA;&#xA;    if (sendableMyAppFileExists == 1) {&#xA;      if (filterID == &#x27;1&#x27;) {&#xA;&#xA;        await FFmpegKit.executeAsync(/*...parms...*/);&#xA;        setState(() {&#xA;          currentMyAppFileFilename = currentMyAppFileFilename &#x2B; &#x27;1.mp3&#x27;; &#xA;        });&#xA;&#xA;      }&#xA;&#xA;      if (filterID == &#x27;2&#x27;) {&#xA;&#xA;        await FFmpegKit.executeAsync(/*...parms...*/);&#xA;        setState(() {&#xA;          currentMyAppFileFilename = currentMyAppFileFilename &#x2B; &#x27;2.mp3&#x27;;&#xA;        });&#xA;&#xA;      }&#xA;    }&#xA;  }&#xA;  &#xA;//message_dao.dart&#xA;void sendMyAppFile(ChatData MyAppFile, String filepath, String filename) {&#xA;    saveMyAppFileToCloudStorage(filepath, filename).then((value) {&#xA;      if (value == true) {&#xA;        saveMyAppFileToRTDB(MyAppFile);&#xA;      }&#xA;    });&#xA;  }&#xA;  &#xA;Future<bool> saveMyAppFileToCloudStorage(String filepath, String filename) async {&#xA;    //filepath: /data/user/0/com.example.MyApp/app_flutter/MyApp/MyAppAudioFiles/MyAppFiles/2d7af6ae-6361-4be5-8209-8498dd17d77d1.mp3&#xA;    //filename: 2d7af6ae-6361-4be5-8209-8498dd17d77d1.mp3&#xA;&#xA;    _firebaseStoragePath = MyAppFileStorageDir &#x2B; filename;&#xA;    &#xA;    File file = File(filepath);&#xA;&#xA;    try {&#xA;      await _firebaseStorage&#xA;          .ref(_firebaseStoragePath)&#xA;          .putFile(file);&#xA;      return true;&#xA;    } catch (e) {&#xA;      print(&#x27;##MyAppFile## saveMyAppFileToCloudStorage Error: &#x27; &#x2B; e.toString()); //ERROR COMES FROM THIS LINE&#xA;      return false;&#xA;    }&#xA;    return true;&#xA;  }&#xA;</bool></void></string></void>

    &#xA;

  • fate : add dolby true hd tests

    8 décembre 2014, par Janne Grunau
    fate : add dolby true hd tests
    

    The existing meridian audio test does not test
    ff_mlp_rematrix_channel_arm. This sample (first 640k of
    https://samples.libav.org/A-codecs/TrueHD/TrueHD.raw) uses
    ff_mlp_rematrix_channel_arm. Since this sample has 5.1 channels it also
    allows testing the integrated downmixing.

    • [DBH] tests/fate/lossless-audio.mak
    • [DBH] tests/ref/fate/lossless-truehd-5.1
    • [DBH] tests/ref/fate/lossless-truehd-5.1-downmix-2.0