
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (80)
-
Support de tous types de médias
10 avril 2011Contrairement à 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, parUnlike 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, parLa 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 whatwhatwhatIn 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 :


- 

- User records audio
- Audio file is processed using FFMPEG and the new processed file is created on the user's phone
- User hits submit, uploading the file to Cloud Storage and, if successful, writing a record to Realtime Database








Order of Functions After User Hits Submit :


- 

- msgInput.dart -> sendMyAppFile()
- msgInput.dart -> prepareMyAppFileForSending()
- msgInput.dart -> runFFMPEGHighLow()
- message_dao.dart -> sendMyAppFile()
- message_dao.dart -> saveMyAppFileToCloudStorage() //ERROR COMES FROM THIS FUNCTION












The Code :


//msgInput.dart
Future<void> sendMyAppFile() async {
 if (sendableMyAppFileExists == 1) {
 final MyAppFileReadyToBeSent = await prepareMyAppFileForSending();

 if (MyAppFileReadyToBeSent == '1') {
 messageDao.sendMyAppFile(MyAppFile, filepath, filename); 
 } else {
 
 }
 }

 setState(() {
 sendableMyAppFileExists = 0;
 });
 }
 
 Future<string> prepareMyAppFileForSending() async {
 if (sendableMyAppFileExists == 1) {
 if (recordedMyAppFileFilterID == '1') {

 await runFFMPEGHighLow('1'); 

 return '1';
 }

 if (recordedMyAppFileFilterID == '2') {

 await runFFMPEGHighLow('2'); 

 return '1';
 }
 }

 return '0';
 }
 
 Future<void> runFFMPEGHighLow(String filterID) async { 
 if (filterID != '1' && filterID != '2') {
 return;
 }

 if (sendableMyAppFileExists == 1) {
 if (filterID == '1') {

 await FFmpegKit.executeAsync(/*...parms...*/);
 setState(() {
 currentMyAppFileFilename = currentMyAppFileFilename + '1.mp3'; 
 });

 }

 if (filterID == '2') {

 await FFmpegKit.executeAsync(/*...parms...*/);
 setState(() {
 currentMyAppFileFilename = currentMyAppFileFilename + '2.mp3';
 });

 }
 }
 }
 
//message_dao.dart
void sendMyAppFile(ChatData MyAppFile, String filepath, String filename) {
 saveMyAppFileToCloudStorage(filepath, filename).then((value) {
 if (value == true) {
 saveMyAppFileToRTDB(MyAppFile);
 }
 });
 }
 
Future<bool> saveMyAppFileToCloudStorage(String filepath, String filename) async {
 //filepath: /data/user/0/com.example.MyApp/app_flutter/MyApp/MyAppAudioFiles/MyAppFiles/2d7af6ae-6361-4be5-8209-8498dd17d77d1.mp3
 //filename: 2d7af6ae-6361-4be5-8209-8498dd17d77d1.mp3

 _firebaseStoragePath = MyAppFileStorageDir + filename;
 
 File file = File(filepath);

 try {
 await _firebaseStorage
 .ref(_firebaseStoragePath)
 .putFile(file);
 return true;
 } catch (e) {
 print('##MyAppFile## saveMyAppFileToCloudStorage Error: ' + e.toString()); //ERROR COMES FROM THIS LINE
 return false;
 }
 return true;
 }
</bool></void></string></void>


-
fate : add dolby true hd tests
8 décembre 2014, par Janne Grunaufate : 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.