
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (82)
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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
Sur d’autres sites (9007)
-
ffmpeg override the same file for every second of the video [on hold]
5 février 2017, par Dorin PleavaI want to get one image for every 10 seconds from a livestream/video, but the image should have the same name, meaning I want to override it every cycle.
This is my command :
ffmpeg.exe -i http://iphone-streaming.ustream.tv/uhls/17074538/streams/live/iphone/playlist.m3u8 -bt 20M -s 480x300 -vf fps=1/10 -y photo.jpg
This code works for one image but for the next I get this
"Could not get frame filename number 2 from pattern ’photo.jpg’ (either set updatefirst or use a pattern like %03d within the filename pattern)
av_interleaved_write_frame() : Invalid argument"If I replace photo.jpeg with photo%03d.jpg I get photo001.jpec, followed by photo002.jpeg, etc.
-
FFmpeg gives me errors when YTDL says Downloading MPD manifest
6 août 2020, par jas_123For some reason FFmpeg cant play the video I want. It gives me these errors, "HTTP 404 not Found" "Failed to open an initialization section in playlist 0" "Error when loading first fragment, playlist 0". Im making a Discord bot with youtube-dl. My FFmpeg options are
FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}


Is there anything I need to change in my options ? Also, this only happens when youtube-dl says
Downloading MPD manifest
. Everything else works until that shows up.

-
HLS segments' variable durations
5 février 2017, par MidoWe have 1000s of MP4 Files with versions for the same file, ie : 720p, 480p, 360p.
Each version (24fps) is transcoded from the same source with same settings.Now we need to make these files available for streaming without transmuxing them into small ts segments (to avoid double storage), so we decided to use kaltura nginx-vod-module which works very good.
vod hls;
vod_mode local;
vod_hls_align_frames on;
vod_hls_interleave_frames on;
vod_align_segments_to_key_frames on;
vod_manifest_segment_durations_mode accurate;
vod_segment_count_policy last_rounded;
vod_segment_duration 10000;The manifest of each bitrate looks like this :
#EXTM3U
#EXT-X-TARGETDURATION:13
#EXT-X-ALLOW-CACHE:YES
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:1
#EXTINF:10.208,
seg-1-v1-a1.ts
#EXTINF:11.542,
seg-2-v1-a1.ts
#EXTINF:10.000,
seg-3-v1-a1.ts
#EXTINF:10.250,
seg-4-v1-a1.ts
#EXTINF:12.958,
seg-5-v1-a1.ts
#EXTINF:12.625,
#EXT-X-ENDLISTWhen playing this, we get frag loop error (hls.js) because keyframes are not the same in all bitrates.
A solution is to transcode again all the files with -x264-params keyint=240
so that all segments will be 10s by default.Is there any faster solution ?
How to play variable segment durations without errors ?