
Recherche avancée
Autres articles (69)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (10992)
-
ffmpeg Concatention - negative pad values
15 décembre 2015, par mmmyumI’m relatively new to ffmpeg and having an issue concatenating some videos.
Occasionally, I’m running into an issue with my command that is producing negative pad values, preventing the concat from completing. Check out this gist for details and the command output.
Brief summary is that I’m using filter_complex to scale down and/or pad videos. You can see the full commands in the above links, but here are examples of the filter text :
[$count:v]scale=if(gt(ih\,iw)\,-2\,$VID_WIDTH):if(gt(ih\,iw)\,$VID_HEIGHT\,-2),pad=$VID_WIDTH:$VID_HEIGHT:(ow-iw)/2:(oh-ih)/2,setsar=sar=1/1[v$count];
where $VID_WIDTH and $VID_HEIGHT are the smallest dimensions of the inputs.
I’m concatenating hundreds of videos (in different groups), the vast majority of which work without issue - but occasionally I run into this negative pad values issue. I assume it’s because the input width/height is larger than the output width/height, so it produces a negative value, but I’m not sure how to fix this - I need the videos to be centered.
Other details :
-
most videos are shot on a cell phone, in a portrait orientation (some in landscape, but I’d like to stitch them in portrait anyways)
-
very rarely I run into a video rotated 90 degrees (larger width than height) - not sure how I should handle this, but one issue at a time
-
usually all videos have the same dimensions, but occasionally one or more videos in a group will have slightly different dimensions, sometimes just by a couple pixels (see attached gist for example)
-
scripting everything in bash right now
-
-
winrt : multithreading support
29 septembre 2015, par wang-binwinrt : multithreading support
_beginthreadex is for desktop only. CreateThread is available for windows store apps on windows (and phone) 8.1 and later. http://msdn.microsoft.com/en-us/library/ms682453%28VS.85%29.aspx
Signed-off-by : Matt Oliver <protogonoi@gmail.com>
-
force WINAPI_FAMILY to WINAPI_FAMILY_DESKTOP_APP to be able to use dxva.h
26 juillet 2015, par Steve Lhommeforce WINAPI_FAMILY to WINAPI_FAMILY_DESKTOP_APP to be able to use dxva.h
The struct definitions in dxva.h, which are necessary in order to
actually use d3d11va, are hidden when WINAPI_FAMILY targets Windows Phone
or WindowsRT.Building with WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP is disallowed
when targeting ARM. ("Compiling Desktop applications for the ARM
platform is not supported.") So we set _CRT_BUILD_DESKTOP_APP to 0
to tell the runtime not to detect some issues with this mismatching.The same tweaks to detect if the API is available is done in dxva2_internal.h
when compiling each DXVA2/D3D11VA decoders.Signed-off-by : Martin Storsjö <martin@martin.st>