
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (94)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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 ) (...) -
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
Sur d’autres sites (7175)
-
How to convert multiple files with ffmpeg to GIFs [closed]
26 juillet 2020, par mriisaI found in this forum Convert-mp4-to-gif at good batch-code for converting videos to GIF-files by just dragging and dropping the files onto the batch files. The problem is I can only drop one file at the time, whereas I have maybe hundres of files, which I just want my computer to work on.



The code is as seen here :



@echo off
::** create animated GIF w/ optimized palette
::
:: https://ffmpeg.org/ffmpeg-all.html#gif-2
:: http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html
:: http://superuser.com/questions/556029/how-do-i-convert-a-video-to-gif-using-ffmpeg-with-reasonable-quality

if not exist "%~dpnx1" goto :EOF
cd "%~dp1" 

::** generate palette
@echo on
@echo.
"c:\program files\ffmpeg\bin\ffmpeg.exe" ^
 -v warning -i "%~nx1" ^
 -vf "palettegen" ^
 -y tmp-palette.png

::** generate GIF
@echo.
"c:\program files\ffmpeg\bin\ffmpeg.exe" ^
 -v warning -i "%~nx1" ^
 -i tmp-palette.png ^
 -lavfi "[0][1:v] paletteuse" ^
 "%~n1.gif"
@echo off

del /q tmp-palette.png

if errorlevel 1 pause
goto :eof




I have absolutely no idea how to program batch files, and this code was just something I found online which worked for me. Can anybody help me adding the needed code for making me able to drag and drop multiple files ?


-
get UTC time of every video frame using ffmepg
22 septembre 2015, par MathxH ChenI just read a RTSP stream from my IP Camera using FFMPEG. I need to display UTC time of every frame and video frame synchronously. The player GUI I created by Qt.
At very first, I just use libVLC to implement my requirement. Then, I just found out that LibVLC cannot get UTC timestamp of every frame(https://forum.videolan.org/viewtopic.php?f=4&t=128403), So I was out to move from libvlc to ffmepg. I code a Demo read RTSP using ffmpeg library and print the presentation time of every frame . but I find the presentation time is relative , It start from zero up to end. How I can convert the time to UTC ? RTP Packet’s timestamp is relative, It only need RTCP sender report’s absolute timestamp to calculate the UTC. How can I get the UTC time of every frame using FFMPEG ??
In FFPMEG every frame has own pts in struct AVFrame, the pts just copied from AVPacket, the struct AVStream has time_base this field, UTC time is equal to time_base*pts ?
my code snippet as follows :
//SDL End----------------------
while(av_read_frame(pFormatCtx, packet)>=0){
if(packet->stream_index==videoindex){
ret = avcodec_decode_video2(pCodecCtx, pFrame, &got_picture, packet);
if(ret < 0){
printf("Decode Error.\n");
return -1;
}
int64_t utc = packet->pts * av_q2d(pStream->time_base);
printf("UTC is :%I64d\n", utc);What’s Wrong ?
-
Anomalie #3765 (Fermé) : Bug spip 3.1 urls arborescentes | Jointures
2 avril 2016, par Karen BouscarleBonjour,
J’ai constaté que lorsqu’on sélectionne la réécriture des urls avec "urls arborescentes" (et seulement cette méthode-ci), on ne peut plus afficher ni les documents joints (quand ils ne sont pas intégrés dans le texte via un raccourci spip) ni les miniatures des images passées en portfolio.
Après l’avoir constaté sur un site en production, je l’ai testé en local et en distant sur un SPIP natif sans squelette, ni plugin, ni réglages particuliers autres que les nécessaires.
Je n’ai malheureusement pas les connaissances nécessaires pour contribuer, et c’est b_b qui a compris l’origine du problème, à savoir un problème avec la balise base href dans le head, puis m’a invitée à ouvrir un ticket ici. Ici notre échange : http://forum.spip.net/fr_263992.html#forum264143
Voilà, novice ici, j’espère que j’ai fait comme il fallait, pas osé monter la priorité au dessus de "haut", c’est déjà peut-être exagéré :-) ?
Merci à tous pour votre super et généreux boulot.