
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (18)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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 (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (6010)
-
nginx-rtmp video stream seeking functionality
26 décembre 2020, par Priyansh SinghI am trying to make a video streaming service by using nginx-rtmp for reading stream and sending a dash/hls streaming media
Used this link for live streaming media


I used obs for sending the stream to nginx
But it is a live stream and user cant seek the stream


so, is there a way so that users cana actually seek it
Or is there a better way to stream video using dash/hls


-
Anomalie #4623 : Styles des fieldset dans l’espace privé
18 avril 2021Bon stop (ou pas) !
Il semble que les blocs
fieldset
ne peuvent pas parfaitement se styler seuls. Manifestement c’est assez récent que les navigateurs acceptent undisplay:flex;
dessus par exemple.J’ai fait quelques tests en partant du formulaire de préférences des menus (tiens d’ailleurs ce formulaire a des
div.editer
sansdiv.editer-groupe
parent (à corriger !)
Il contient unfieldset + .editer-groupe.deux_colonnes
(columns : 2)Ce que j’ai testé (sous macOS avec FF, Safari, Chrome & Opéra) : la formule suivante (enlever le .editer-groupe interne et le monter sur le fieldset)
- <span class="CodeRay"><span class="tag">fieldset</span><span class="class">.editer-groupe</span>
- <span class="tag">legend</span>
- <span class="tag">div</span><span class="class">.editer</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- </span>
1) Si on applique un
columns: 2
sur ce fieldset,
- Firefox & Safari : conservent le legend, passent le reste en 2 colonnes
- Chrome & Opéra : ignorent et conservent donc un affichage 1 colonne.2) Si on applique un
display: flex; flex-wrap: wrap
sur ce fieldset
- Tous : le legend est conservé comme tel
- le reste passe effectivement en flex (permettant donc de mettre plusieurs .editer sur la même ligne)Déjà je suis étonné que Flex semble fonctionner, contrairement à ce que dit https://caniuse.com/mdn-html_elements_fieldset pour tous les Gecko. Et Edge aussi est indiqué en non fonctionnel.
Donc du coup… je me dis que le .editer-groupe dans le fieldset à encore du sens stylistique.
Ce qui pour le coup ne nous arrange pas forcément, mais ça évite aussi de casser un truc de plus dans cette structure html en le laissant.Donc du coup, on en reviendrait peut être à "fieldset.editer-section" ou "fieldset.editer-fieldset" ou "fieldset.fieldset" ou "fieldset" (sans rien)…
J’utilise .editer-section ensuite (mais peut importe)A) fieldset.editer-section > div.editer-groupe¶
(le plus proche de l’actuel je pense)
- <span class="CodeRay"> <span class="tag">div</span><span class="class">.editer-groupe</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- <span class="tag">fieldset</span><span class="class">.editer-section</span>
- <span class="tag">legend</span>
- <span class="tag">div</span><span class="class">.editer-groupe</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- </span>
B) fieldset.editer-groupe > div.editer-section¶
L’autre possibilité si ça facilite vraiment le css, c’est d’inverser les classes (avec l’ennui principal de du coup devoir reprendre l’existant)
- <span class="CodeRay"> <span class="tag">div</span><span class="class">.editer-groupe</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- <span class="tag">fieldset</span><span class="class">.editer-groupe</span>
- <span class="tag">legend</span>
- <span class="tag">div</span><span class="class">.editer-fieldset</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- </span>
B) fieldset.editer-groupe.editer-section > div.editer-groupe¶
Ou du doubler d’une autre classe
- <span class="CodeRay"> <span class="tag">div</span><span class="class">.editer-groupe</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- <span class="tag">fieldset</span><span class="class">.editer-groupe</span><span class="class">.editer-section</span>
- <span class="tag">legend</span>
- <span class="tag">div</span><span class="class">.editer-groupe</span>
- <span class="tag">div</span><span class="class">.editer</span>
- ...
- </span>
Mais dans ce cas là je trouve cela redondant (fieldset.editer-section me parait suffisant, si on doit effectivement mettre un classe css dessus)
Le plus ennuyant est peut être de devoir annuler des styles CSS du .editer-groupe dans .editer-section > .editer-groupe ; -
Chrome struggles to play videos
11 décembre 2017, par CameronI have some video files I want to display on a webpage using the HTML5 video player. The videos were sent to me at 1920x1080 in H.254 MP4 format.
Using FFMPEG I have converted them so I have a smaller Mp4 file, an OGV file, and a WebM file using the following commands :
ffmpeg -i FILE.mp4 -vcodec h264 FILE.mp4
ffmpeg -i FILE.mp4 -acodec libvorbis -vcodec libtheora -f ogv FILE.ogv
ffmpeg -i FILE.mp4 -c:v libvpx -crf 10 -b:v 1M -c:a libvorbis FILE.webmAnd then the video is embedded into the page like so :
<video preload="metadata" crossorigin="anonymous" poster="poster.jpg" controls="controls" playsinline="playsinline">
<source src="FILE.webm" type="video/webm">
<source src="FILE.ogv" type="video/ogv">
<source src="FILE.mp4" type="video/mp4">
</source></source></source></video>However when I click to play the video in Chrome, it stops after a few seconds and then if I click play again it restarts. If I right click and open the video in a new tab I just see a tiny player and not the video e.g.
The same happens for all three formats. But if I refresh the browser enough times I can get the MP4 file to show up in the new tab though it still suffers from the aforementioned bug of playing for a few seconds before failing.
I have tested this in Firefox and Safari and it works fine ! In fact it even works in IE and Edge :D And I can also play the videos in a player on the machine itself... e.g. QuickTime.
Any ideas why Chrome is acting this way ? Or any resolutions ? I’m seeing the same behaviour on Chrome for Windows and Mac. Is the way I have converted the videos using FFMPEG in anyway a cause that could affect Chrome but not other browsers ?
Chrome version tested on :
Version 63.0.3239.84 (Official Build) (64-bit)
Output from
ffprobe
as per the comments on the one of the webm files :ffprobe version 3.4 Copyright (c) 2007-2017 the FFmpeg developers
built with Apple LLVM version 7.3.0 (clang-703.0.31)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-ffplay --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --enable-openssl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 --enable-nonfree
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Input #0, matroska,webm, from 'FILE.webm':
Metadata:
COMPATIBLE_BRANDS: mp42mp41
MAJOR_BRAND : mp42
MINOR_VERSION : 0
ENCODER : Lavf57.83.100
Duration: 00:00:52.57, start: 0.000000, bitrate: 910 kb/s
Stream #0:0(eng): Video: vp8, yuv420p(progressive), 1920x1080, SAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
Metadata:
HANDLER_NAME : Alias Data Handler
ENCODER : Lavc57.107.100 libvpx
DURATION : 00:00:52.563000000
Stream #0:1(eng): Audio: vorbis, 48000 Hz, stereo, fltp (default)
Metadata:
HANDLER_NAME : Alias Data Handler
ENCODER : Lavc57.107.100 libvorbis
DURATION : 00:00:52.568000000