
Recherche avancée
Autres articles (72)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...)
Sur d’autres sites (3964)
-
How to restrict fetching hls segment files on pause in Safari (MacOS and iOS)
24 juillet 2021, par Charan KumarWe generate hls files with segment size of 3 seconds. We use hlsjs for non Safari browsers and Safari has native hls support.


In hlsjs world we were able to restrict how much ahead we should be in terms of buffer using maxMaxBufferLength, where as we are unable to find similar solution for Safari. In Safari, after loading video m3u8, even if I pause after a second, in the network tab I can see that all the segments are being fetched which I would like to restrict.


I'll not be able to share our examples due to company polices. But, a public example file by hls.js is attached below :


https://test-streams.mux.dev/x36xhzz/url_6/193039199_mp4_h264_aac_hq_7.m3u8 try opening this url in Safari, and try pausing the video, you'll see that it continues to download. Where as if you open same one using https://hls-js.netlify.app/demo/ with maxMaxBufferLength : 5 it won't happen.


Is there an option at ffmpeg to make it controlled buffer or some solution that we should do for Safari by listening to events ?


Found the same question here -> https://developer.apple.com/forums/thread/121074


-
ffmpeg save mp3 file from available wss stream
11 juillet 2021, par phoenixAZIn a hello world node.js app I am succeeding in getting a feed from twilio conference and sending to the google speech to text. Concurrently I want to control recording to mp3 of the available audio stream (programmatically call start and stop). The was is subscribed to audio stream but I don't know how to attach ffmpeg to the local stream. I have tried :


// ffmpeg('rtsp://host:port/path/to/stream')
 //experimenting telling it to use the local stream
 //
 //ffmpeg(wss.addListener) //invlaid input error
 //ffmpeg(wss.stream) //thsi hits the console error below
 ffmpeg(wss.stream)
 .noVideo()
 .audioChannels(1)
 .audioBitrate(128)
 .duration('1:00')
 .on('end', function () { console.log('saved mp3'); })
 .on('error', function (err) { console.log('error mp3'); })
 .save('/path/to/output.mp3');



Any suggestions are welcomed. I am in a node.js project


-
ffmpeg drawtext surrounded by rounded rectangle
7 juillet 2021, par andykaisI want to use ffmpeg to recreate the text bubbles that appear in apps like tiktok. I created this example using imagemagick to illustrate what I mean :




So far with ffmpeg, all I am able to create is text backgrounds with sharp corners :




This was done with the following command :


ffmpeg -i 'live-wallpaper.mp4' -vf "drawtext=text='Hello World':x=(w-text_w)/2:y=(h-text_h)/2:fontsize=100:fontcolor=black:box=1:boxcolor=white: boxborderw=8:fontfile='fonts/proximanova-semibold.otf'" output.mp4



How can I get the output of ffmpeg to look more similar to the first image ? The text isn't always going to be "Hello World" either, so I need a solution that works for text that is shorter, longer, wraps, etc.