
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (72)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (7677)
-
Recorded & uploaded video from iphone device won't play in iphone
11 juin 2019, par Sohil ChamadiaI am facing an issue regarding :
Recording video from iphone and uploading that video on my application(Develop in Wordpress Framework) then the video uploaded won’t play in iphone devices.
This issue occurs only when I "Record video from iphone and then uploading that video into the application".If I upload existing video from iphone device then video will be played and it’s working fine. So please help to resolve this issue.I have used "FFmpeg library" to reduce the size of video.
Below is the code which i have used to play video :
<video preload="auto" width="320" height="240" controls=""><source src="abc.mp4" type="video/mp4">Your browser does not support the video tag.</source></video>
When i click on video to play it then video is not play and cross sign is shown over the play button.Below i have attached screenshot of it :
-
ffmpeg take screenshots from mp4 at specific frames
7 mars 2024, par GhostOrderI want to store some frames from an mp4 as jpg files, I should be able to specify which frames I want, all this in one command line.


Looking in SO I found this answer, it seems to be the way but in my case it is storing just one frame, this is my command which is almost the same as the linked answer :


ffmpeg -i <mp4 that="that" contains="contains" video="video" stream="stream"> \
 -vf select='eq(n\,0)+eq(n\,94740)+eq(n\,297570)+eq(n\,507570)+eq(n\,728970)+eq(n\,947460)\eq(n\,1116420)'\
 -fps_mode:0 vfr ./ss_%02d.jpg
</mp4>


So the frames I want to store as jpg's are : 0, 94740, 297570 and so on, but ffmpeg only saves the first one (the frame 0), this is the response I always get (I removed the default ffmpeg output part for brevity but I can add it if you think is necessary) :


frame= 1 fps=0.4 q=4.9 Lsize=N/A time=00:00:01.66 bitrate=N/A speed=0.65x



the video have a duration of 00:11:40.97 and I've calculated those frames using the formula


(minutes * 60 + seconds) * frame rate (which is 30).



What I'm missing here ?


-
@ffmpeg/ffmpeg : Uncaught (in promise) ReferenceError : SharedArrayBuffer is not defined
19 mai 2022, par FlobbinhoodI have a small react app with a node.js backend (monorepo). The client is using @ffmpeg/ffmpeg, and all works fine locally, but when deployed to Heroku I'm getting the error
ReferenceError: SharedArrayBuffer is not defined
. This happens when I runffmpeg.load()
. Note that I am only using ffmpeg on the client in the React app.

What I have done so far :


- 

- Ensured that my deployed app is using https
- Added these lines in
setupProxy.js
inapp.use
(located in the client directory). See this answer for context






response.setHeader('Cross-Origin-Opener-Policy', 'same-origin');
response.setHeader('Cross-Origin-Embedder-Policy', 'require-corp');



- 

- Registered for an origin trial with chrome. This actually worked, but I'd prefer a more permanent solution that works across browsers.
- Tested debugging
crossOriginIsolated
, and verifying that it istrue
locally butfalse
on my deployed site.






It seems like something is wrong with my Cross-Origin config, or maybe it's just not being applied. Any help would be appreciated.