
Recherche avancée
Autres articles (58)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (11937)
-
ffmpeg ignore PUT and does POST when sending -f segment chunks [closed]
5 novembre 2023, par l_-A-_lI cannot figure why ffmpeg does send chunck over PUT method when I use the -f dash (parameter) :


ffmpeg -nostats -nostdin -i - -f dash -seg_duration 1 -window_size 10 extra_window_size 2 -remove_at_exit 1 -use_timeline 1 -dash_segment_type webm -c:a libvorbis -b:a 128k -method PUT http://nginx/test/main.mpd



and refuses to PUT (and use POST instead) when I use -f segment :


ffmpeg -i - -vn -acodec copy -f segment -segment_time 5 -method PUT http://nginx/flux/segment_%3d.mp3



(I need to use the PUT method)


-
How can I efficient process a video on a per-request basis ?
18 décembre 2015, par mipadiI’m working on a web application in which a watermark must be applied to a video before it is sent to the user. Currently this watermark is static, and is created using ffmpeg when a video is updated. However, the application is changing so that a unique watermark will be added to the video for every request made for the video. This prevents a problem, as the video files may be fairly large and adding a watermark may be time-consuming (e.g., in some cases it may take over a minute to add a watermark), but the watermarks cannot be added on upload.
I figured that streaming video could be a solution and implemented a solution using the nginx-rtmp-module, but several problems cropped up :
- RTMP solutions are a no-go as they appear to require Flash. This application must be supported on devices that don’t support Flash at all, or don’t (and won’t) have it installed.
- I have considered using MPEG-DASH, but that enjoys only limited support. Namely, it is not supported on versions of Firefox targeted by the application, nor is it supported on iOS or some versions of Safari.
- I have considered HLS, but that enjoys even more limited support than MPEG-DASH.
- Regardless, I haven’t actually been able to get Dash.js (the reference player for MPEG-DASH streams) to work, although that may be due to an encoding issue, I’m not sure.
I wondered if there is a better (perhaps simpler) solution to this problem ; perhaps streaming video isn’t the way to go at all ? Is there an efficient way to transcode a video file on-the-fly and start sending it to the browser quickly ?
I am not against using solutions like node.js or other platforms/frameworks, and solutions can use HTML5
<video></video>
if necessary. -
Streaming video playlist from collection of identical mp4 files
25 mars 2019, par user2746672I am looking for a way to play/stream to browser tag a list of mp4 files (same size, bitrate, etc) without hickups in between the files. I am hoping the following approach would work :
* convert mp4 files to m4s/m4v files
* generate MPEG-Dash MPD file (xml)
* stream MPD to dash player in browserIs this in any way possible ? I am aware the m4s/m4v files need special headers and an entry file must be made somehow, and there you have my roadblock.
Bottom-line is I want to avoid to concatenate the separate videos into one big video file and avoid the hick-ups you see when sequencing via a straightforward ’ended-event’ way in JS.
Any suggestion much appreciated !