
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (49)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (5833)
-
Finding duration/number of frames of WebM using FFMPEG/libavformat
12 septembre 2015, par gcgrantI’m trying to retrieve the duration and number of frames from a WebM file using FFMPEG and libavformat. I’m adapting some code that was initially written to work with MP4s, and when passing an MP4 it seems to work fine.
I have FFMPEG 2.1 compiled with the vp8 parser and decoder and the matroska demuxer.
I have an
AVStream
pointer to the video stream,*video_st
. The code looks for the number of frames invideo_st->nb_frames
, and for the duration invideo_st->duration
. These both appear to be 0.The API docs for for
video_st->duration
(https://ffmpeg.org/doxygen/trunk/structAVStream.html#a4e04af7a5a4d8298649850df798dd0b) say that "If a source file does not specify a duration, but does specify a bitrate, this value will be estimated from bitrate and file size." I can confirm that that this file does specify a duration and a bitrate (as I tested it on my desktop withffmpeg -i
). So it seems odd that this is returning 0. Perhaps my FFMPEG build configuration is incorrect ?As for
nb_frames
, the docs say "number of frames in this stream if known or 0". Is there anything I can do if this returns 0 ? Again,ffmpeg -i
does return an estimate for fps ; that would be good enough, as I could estimate the number of frames with that and the duration.Thanks !
-
mp4 video fragmented using ffmpeg takes long time to start playing
14 mai 2020, par daldoyWhen using ffmpeg, to stream the output file to S3, it is required to use "-movflags frag_keyframe", and the generated file will be a fragmented mp4.



When I try to play this files from S3 it takes a long time to start playing. I have tried the recommended movflags from MDN Docs and all the possible combinations.



ffmpeg -i https://notreal-bucket.s3-us-west-1.amazonaws.com/video/video.mp4 -f mp4 -movflags frag_keyframe+empty_moov pipe:1 | aws s3 cp - s3://notreal-bucket/video/output.mp4



Link of the file : https://happy-testing.s3-eu-west-1.amazonaws.com/stack-overflow/help.mp4


-
Evolution #4730 : Rendre le plug 100% traduisable
15 avril 2021Pour les format de date, plusieurs remarques :
1) on utilise les chaines de langues de d3js time-format : https://git.spip.net/spip/statistiques/src/branch/master/lib/d3/time-format/locale
2) ici ça se passe beaucoup en JS et JS sait maintenant traduire (la plupart des navigateurs) différents formats de date https://caniuse.com/mdn-javascript_builtins_intl_locale_script https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/script donc au pire on aurait pu utiliser ça (et d3 l’utilisera probablement un jour qui sait mais pas pour le moment https://github.com/d3/d3-time-format/issues/57)La traduction qui manque pour le moment est "Visites" j’ai aperçu, et faut que je vois pourquoi.