
Recherche avancée
Autres articles (42)
-
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 (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (4318)
-
Anomalie #4189 (En cours) : extraire_multi mélange un /li /ul final avec le de langue ajout...
8 février 2021, par cedric -Il faudrait vérifier si ça entraine des cas foireux, mais j’ai l’impression qu’un patch plus générique serait simplement
diff —git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php index a7f568a93f..4ed581557e 100644
— - a/ecrire/inc/filtres.php +++ b/ecrire/inc/filtres.php @@ -1701,6 +1701,9 @@ function extraire_multi($letexte, $lang = null, $options = array()) include_spip(’inc/texte’) ; $trad_propre = preg_replace(",(^]*>|$),Uims", "", propre($trad)) ; $mode = preg_match(’,[:space :]],iS’, $trad_propre) ? ’div’ : ’span’ ; + if ($mode === ’div’) + $trad = rtrim($trad) . "\n\n" ; + $trad = code_echappement($trad, ’multi’, false, $mode) ; $trad = str_replace("’", ’"’, inserer_attribut($trad, ’lang’, $l)) ; if (lang_dir($l) !== lang_dir($lang)) -
Concat with short inpoint and outpoint differences leads to long still image in the final video
11 mai 2017, par P. DeeI create a
list.txt
withinpoint
andoutpoint
markers, that are sometimes close - down to 0.5s in difference with GoPro MP4-files.Then I use
-y -f concat -safe 0 -i list.txt -c:v libx264 -c:a aac -af aresample=async=1 -pix_fmt yuv420p "filename.mp4"
.What happens is that the smaller the differences between
inpoint
andoutpoint
are, the longer a still image of the first video image is shown. Recently I had a 60 seconds long video and 30 seconds of it at the beginning were just the same image.How do I need to change my command ?
-
FFmpeg Not Creating or Appending Final HLS Segment When RTMP Stream Ends [closed]
14 août 2024, par ArjitI am transcoding an RTMP stream to HLS using FFmpeg, and I have a problem : when the RTMP stream finishes, the last segment, which does not reach the target duration, is not created as a
.ts
file. Consequently, this last segment is not appended to the playlist file.

command :


fmpeg -i rtmp://localhost:1935/live/xyz -c:v libx264 -preset veryfast -b:v 400k -c:a aac -b:a 64k -s 426x240 -hls_playlist_type event -hls_time 10 -hls_list_size 0 -hls_segment_filename jack/240p_%03d.ts jack/240p.m3u8



I expected that when the RTMP stream ends or when i terminate that FFmpeg process, FFmpeg would create a .ts file for the last segment, even if it is shorter than the target duration (10 seconds), and that this segment would be appended to the playlist (output.m3u8).