
Recherche avancée
Autres articles (67)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (6841)
-
Having ffmpeg add a repeating text overlay on a video
30 mai 2020, par Caius JardI'm looking to create an overlay that cycles through the characters in a string over and over. I've succeeded in using a sendcmd file to put A, B, C, D, E on the first 5 seconds of a video



0 drawtext reinit 'text=A';
1 drawtext reinit 'text=B';
2 drawtext reinit 'text=C';
3 drawtext reinit 'text=D';
4 drawtext reinit 'text=E';




But it doesn't cycle and I haven't been able to find a way to make it, because sendcmd looks like it just takes a simple timecode. I could make a command file 3600 lines long for my hour video, with those commands in over and over (the command file would be generated programmatically so not onerous)





After some considerable experimenting I was able to do it with 5 separate drawtext :



drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='A':x=if(trunc(mod(t\,5))\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='B':x=if(trunc(mod(t\,5))-1\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='C':x=if(trunc(mod(t\,5))-2\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='D':x=if(trunc(mod(t\,5))-3\,-2000\,(w-tw)/2),
drawtext=fontfile=/Windows/Fonts/bauhs93.ttf:fontsize=1024:fontcolor=white@0.1:bordercolor=black@0.1:borderw=10:r=250:text='E':x=if(trunc(mod(t\,5))-4\,-2000\,(w-tw)/2)




But as can be seen, I have to repeat a lot of stuff here. Is there any slicker way ? It does seem to have a noticeable effect on encoding speed the more chars are added



I was hoping that text expressions would help but it seems I can only return numerics from the values, so this expression didn't work out :



%{e:if(trunc(mod(t,5)),'A', '')%{e:if(trunc(mod(t,5))-1,'B', '') ...



-
Variable is not being assingned value from the stdout of a command
29 juillet 2021, par Jesse HixWhen I try to run the entire program I get an error concerning the assignment of the y variable leading to the entire thing crashing. I have tried a few different ways of formatting but none of them have worked


echo -e "Enter the name of the carrier video (include .mp4, .mp3, etc):"
read -r carrier_video
echo -e "Enter starting point x: "
read -r x
command rmdir frames
command mkdir frames

var=$(ffprobe -v error -select_streams v:0 -count_packets -show_entries stream=nb_read_packets -of csv=p=0 "$carrier__video")
command $(ffmpeg -i $carrier_video -vf select="between(n\,'$x'\,'$var')" -vsync 0 frames/frames%d.jpeg)



Error :


libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'original.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: mp42mp41isomavc1
 creation_time : 2018-09-11T11:07:38.000000Z
 Duration: 00:00:21.12, start: 0.000000, bitrate: 21519 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 3840x2160, 21514 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
 Metadata:
 creation_time : 2018-09-11T11:07:38.000000Z
 handler_name : L-SMASH Video Handler
 encoder : AVC Coding
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help

[Parsed_select_0 @ 0x5582453fdec0] [Eval @ 0x7ffedaf0ddb0] Undefined constant or missing '(' in ')'
[Parsed_select_0 @ 0x5582453fdec0] Error while parsing expression 'between(n,500,)'
[AVFilterGraph @ 0x5582453fd100] Error initializing filter 'select' with args 'between(n,500,)'
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!




-
Révision 23364 : Restructuration complète du critère `{par xxx}` pour y voir plus clair et apporte...
31 janvier 2017, par marcimat@rezo.net- les expressions telles que `par num titre` ou `par multi titre` sont extensibles. `par expr champ` cherchera une fonction
`calculer_critere_par_expression_expr` pour gérer cette expression- une fonction `calculer_critere_par_champ()` est utilisée pour retrouver la table de tri d’un champ demandé.
Cette fonction est d’ailleurs aussi utilisée par les fonctions `num` ou `multi`.
Cela harmonise un peu les diverses utilisations entre ces 3 cas principaux `par xpar num xpar multi x`.x peut être :
- un champ de la table (titre),
- un champ dont la table de jointure est nommé (documents.titre),
- un champ dont l’alias de table est nommé (L1.titre) (à éviter, surtout là pour compat)
- un champ d’exception de jointure (titre_mot)
- un champ d’une autre table dont la jointure est explicite (ARTICLES documents)par taille
- un champ d’une autre table dont la jointure est possible (DOCUMENTS)par rang_lienLe changement est que si la jointure existe déjà pour un champ, le champ sera correctement préfixé de l’alias de table correspondant,
et dans certains cas une nouvelle jointure ne sera pas créé inutilement.Entre autres :
- `(DOCUMENTS)id_article ?id_rubrique ?vu=nonpar rang_lien`, le ORDER BY de rang_lien est bien préfixé de l’alias d’une table de jointure.
Il ne peut plus y avoir d’ambiguité sur le champ, rapporté par Mysql si la table de jointure est présente 2 fois. Cependant le ticket #3894 reste entier.