
Recherche avancée
Autres articles (60)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (13403)
-
ffmpeg making gif from serially numbered images
30 mars 2017, par hadi kmy files are named :
file1.png
file2.png
file3.png
....
file11.png
...
file123.png
...
file200.pngnow I want to make a gif of these images. I tired with
ffmpeg -framerate 10 -pattern_type glob -i 'file*.png' -c:v libx264 -pix_fmt yuv420p growth.avi
but it does not work properly. What am i doing wrong ?
-
ffmpeg doesn't recognize the local key file for decrypting a m3u8
3 juillet 2021, par RocktOk so here is the situation.


I have a m3u8 file which is encrypted using AES-128. Using a simple python script I download the m3u8 and the key file and then serves it over the local network with the aid of SimpleHTTPServer. Then I run a separate shell script to get the m3u8 and key file from the local server and it get the job done without any problems.


Now instead of getting the files from the local server, I want to decrypt them locally from the command line. So I replaced the key path of the m3u8 from,


#EXT-X-KEY:METHOD=AES-128,URI="https://example.com/key"



to


#EXT-X-KEY:METHOD=AES-128,URI="file://local/path/to/video.key"



And when executed the following from the command line,


ffmpeg -safe 0 -protocol_whitelist file,http,https,tcp,tls,crypto -allowed_extensions ALL -i playlist.m3u8 "output.mp4"



It gives me these two errors and exits.


Unable to open key file file://local/path/to/video.key
playlist.m3u8: Invalid data found when processing input



Now my question is why ffmpeg doesn't give any errors when I serve the key file over a local server, and why things get changed when I do it this way ? Any help maybe ?


-
Anomalie #3910 (Nouveau) : URL mal formaté dans le mail pour "Mot de passe oublié"
24 février 2017, par Vincent LegeardSur deux installations de SPIP en sous-répertoire (apache et nginx), je constate que l’URL qui permet de récupérer son mot de passe est mal formaté.
http://localhost/spip.php?page=spip_pass&p=129552674058b054a01ced83.27305344
devrait être
http://localhost/spip/spip.php?page=spip_pass&p=129552674058b054a01ced83.27305344
Le problème semble venir de la regex qui se trouve à la ligne 87 de ecrire/inc/filtre_mini.php
https://core.spip.net/projects/spip/repository/entry/spip/ecrire/inc/filtres_mini.php#L87
J’arrive à patcher le truc en ajoutant juste au dessus de la ligne 87 le code suivant, ce qui permet d’ajouter un / à la fin de l’URL (soit après le sous répertoire)
if ($url) {<br /> $url .= substr($url, -1) == '/' ? '' : '/';<br /> }
Mon patch n’est surement pas propre et peut faire des bug dans la fonction suivre_lien. Pour celà je le dépose ici.