
Recherche avancée
Autres articles (111)
-
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 -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (11278)
-
Restreaming and transcoding a hls stream with FFMPEG.WASM fails due to tcp connection
13 juillet 2021, par Hoang NguyenI'm trying to implement a feature which is live transcoding a hls stream (h265) to another hls stream (h264) so the video can be played using html5 video player as we know that h265 is not supported on browsers. Quick summery of my tech stack :


-Electron desktop app as the client.
-FFMPEG.WASM library : https://ffmpegwasm.github.io/


(*) The on-the-fly transcoding is supposed to happen right on the client side.


My dev enviroment :


"devDependencies": { "electron": "^13.1.5", "electron-packager": "^13.0.1", "electron-winstaller": "^2.7.0" }


There are 2 ways to use this library, one is as normal html script, and the other is nodejs style which I have tried both and get different errors (though they are all about connection) :


(*) Regular JS way


<code class="echappe-js"><script async defer src="https://unpkg.com/@ffmpeg/ffmpeg@0.10.1/dist/ffmpeg.min.js"></script>



<script>&#xA; async function loadPlayerHEVC() {&#xA;var resource = &#x27;http://10.70.39.32:80/streams/60dd68fdc88f570012526657/stream/60dd68fdc8....526657.m3u8&#x27;&#xA; const { createFFmpeg } = FFmpeg;&#xA; const ffmpeg = createFFmpeg({ log: true });&#xA; const { fetchFile } = FFmpeg;&#xA; await ffmpeg.load();&#xA; await ffmpeg.run(&#x27;-re&#x27;,&#x27;-i&#x27;, resource, &#x27;-vcodec&#x27;, &#x27;libx264&#x27;, &#x27;-acodec&#x27;, &#x27;copy&#x27;, &#x27;-f&#x27; ,&#x27;hls&#x27;, &#x27;-hls_list_size&#x27;, &#x27;3&#x27;, &#x27;-hls_wrap&#x27;, &#x27;5&#x27;, &#x27;playlist.m3u8&#x27; );&#xA; // ffmpeg.exit(0);&#xA; }&#xA; </script>





(*) Nodejs way


async function tester(url)
{
 const { createFFmpeg, fetchFile } = require('@ffmpeg/ffmpeg');
 const ffmpeg = createFFmpeg({ log: true });
 await ffmpeg.load();
 await ffmpeg.run('tcp','-re', '-i', url, '-vcodec', 'libx264', '-acodec', 'aac', '-f', 'flv', '-hls_list_size', '3', '-hls_wrap', '5', 'playlist.m3u8');
 // ffmpeg.exit(0);
}





URL for testing


You guys can use this public stream to reproduce the scenario : http://113.163.94.245/hls-live/livepkgr/_definst_/liveevent/thbt.m3u8


Any help would be much appreciated.


-
avcodec/ilbcdec : Remove dead code
9 mai 2024, par Michael Niedermayer -
avcodec/libx264 : Check init_get_bits8() return code
10 mai 2024, par Michael Niedermayer