
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (81)
-
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...) -
Qu’est ce qu’un masque de formulaire
13 juin 2013, parUn masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
Chaque formulaire de publication d’objet peut donc être personnalisé.
Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (5958)
-
Why does the video lose few seconds after FFMPEG xfade ?
25 août 2023, par promaxdevI am having a use case where I need to add a few xfade transitions to an existing video at uniform intervals. I followed an approach almost similar to the one explained in the official document here and the SO reply here


Here is the command that I use.


ffmpeg 
-i clean_0.mp4 
-filter_complex "[0] split = 8[i1][i2][i3][i4][i5][i6][i7][i8]; 
 [i1]select='between(t\,0.0\,3.75)',setpts='PTS-STARTPTS'[i11]; 
 [i2]select='between(t\,3.75\,7.5)',setpts='PTS-STARTPTS'[i22]; 
 [i3]select='between(t\,7.5\,11.25)',setpts='PTS-STARTPTS'[i33]; 
 [i4]select='between(t\,11.25\,15.0)',setpts='PTS-STARTPTS'[i44]; 
 [i5]select='between(t\,15.0\,18.75)',setpts='PTS-STARTPTS'[i55]; 
 [i6]select='between(t\,18.75\,22.5)',setpts='PTS-STARTPTS'[i66]; 
 [i7]select='between(t\,22.5\,26.25)',setpts='PTS-STARTPTS'[i77]; 
 [i8]select='between(t\,26.25\,30.0)',setpts='PTS-STARTPTS'[i88]; 
 [i11][i22]xfade=duration=1:offset=2.75:transition=dissolve [c1]; 
 [i33][i44]xfade=duration=1:offset=2.75:transition=distance [c2]; 
 [i55][i66]xfade=duration=1:offset=2.75:transition=fadegrays [c3]; 
 [i77][i88]xfade=duration=1:offset=2.75:transition=pixelize [c4]; 
 [c1][c2][c3][c4]concat=n=4:v=1:a=0 " 
-pix_fmt yuv420p -y clean_out.mp4 



(The above code is executed in a single line broken down for ease of understanding.)


What this does is splits the input video in to parts of equal length in duration and and inserts xfade effects in between and the concats them. So the net effect would be the original video with xfade effects added.


The input video is 30 seconds in length and has 25 fps. But the output video is 26 seconds.


Here are my analysis so far.


- 

- the no. of seconds reduced with each added transition. i.e. when 5 transitions are provided, the output video reduces to 25 seconds
- ffprobe at different stages below

- 

- i1, i2,... being copies of input video had 750 frames @ 25fps ie 30 seconds
- i11, i22,... -> had 94 frames @ 25fps resulting in 3.76 seconds (3.76 X 8 = 30.08s)
- c1, c2,.. -> had 163 frames @ 25fps resulting in 6.52 seconds (6.52 X 4 = 26.08s)








- Enabling trace on ffmpeg showed different filters like 'Parsed_select_', 'Parsed_setpts_' and 'Parsed_xfade_', 'Parsed_concat_' corresponding to the 'select', 'setpts', 'xfade' and concat filters and there was another 'auto_scale_' auto inserted by ffmpeg. But details were found only for Parsed_select_ and Parsed_setpts_* filters in rest of the logs. There was no other trace of Parsed_xfade_* filters. So not much info from there








End result is concat of all c* videos resulting in reduced duration


So we can infer that xfade is causing some frames to be lost. (or I am doing it wrong) I need help to find the reason for the reduction in the duration of the final video and fix it.Also, Is there a way to log Xfade trace ?


-
OCPA, FDBR and TDPSA – What you need to know about the US’s new privacy laws
22 juillet 2024, par Daniel Crough -
j2k : change fixed point of stepsize to 16.16
27 mai 2013, par Michael Niedermayer