
Recherche avancée
Autres articles (37)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (...)
Sur d’autres sites (6212)
-
FFMPEG libavformat internal buffering
4 octobre 2013, par TheodorI'm using FFMPEG for a C++ audio streaming and playback application.
I use the avformat_open_input function to open an URL to an external compressed audio file and then I step through to stream using av_read_frame. Then for each packet i directly decode the data and queue it in the audio buffer using OpenAL.
My question is if FFMPEG internally prebuffers compressed data from the external URL ?
Does FFMPEG keep downloading data in the background even if I don't call av_read_frame ?
Or is it my responsibility to maintain a intermediate buffer where I download as many packets as possible ahead of time to avoid starving the audio-playback ?
If so, how much does it buffer/download internally ? Can I configure this ?
I have been looking through the documentation but have not found any information on this.
Thanks.
Update :
According to this thread http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=15&t=376 libav should by default prebuffer about 5MB depending on AVFormatContext::max_analyze_duration. However I haven't noticed this behavior and it doesn't seem to change if I alter max_analyze_duration.If I monitor the memory consumption of my process it doesn't increase after I call avformat_open_input and if I simulate slow-network, av_read_frame directly stops working like if it didn't have any packets buffered.
-
Anomalie #3675 (Nouveau) : fsockopen => lenteur dans inc/queue
6 février 2016, par Gilles VINCENTSur certains hébergeurs, l’utilisation de fsockopen() à la place de curl() ralentit beaucoup les pages.
Certains utilisateurs désactivent le bloc dans queue_affichage_cron()
cf. http://forum.spip.net/fr_244583.html#forum263615
Mais avant ça, il maudissent le jour où ils sont passé de la version 2.1 à la version 3.x :/Est-ce qu’il n’y a pas de meilleure stratégie que celle actuelle ?
Par exemple, ne pourrait-on pas avoir une variable statique (ou dans un fichier lu par SPIP) qui soit modifié quand on détecte qu’une méthode tombe en timeout ?
Quel était l’inconvénient de la méthode de l’image de qqs pixels ?Wordpress n’utilise pas de socket pour son API Http, mais curl et stream.
https://core.trac.wordpress.org/browser/tags/4.4.2/src/wp-includes/class-http.php#L308Il faudrait regarder d’autres frameworks..
-
Révision 20697 : Micro-modif dans la page de contrôle des forums :
3 juillet 2013, par esj -- mettre un ancre vers le message de forum même dans le cas interne ;
* prendre en compte les noms de site de longueur 3 ;
* decouper en 2 la fonction principale afin de permettre facilement une surcharge, notamment l’argument "type".
- mettre un ancre vers le message de forum même dans le cas interne ;