
Recherche avancée
Médias (21)
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (59)
-
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 (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...)
Sur d’autres sites (11342)
-
Extract alpha from video ffmpeg android
24 juin 2018, par Yarik DenisykI want to overlay transparent video on the background image. I have a video where the top half is RGB object and bottom half is an alpha mask.
Now, for making this I do next steps :
1) I am extracting all frames from video and save to the folder
2) Each frame splitting to top and bottom half bitmap
3) Top bitmap composite with bottom mask for extract alpha and get a frame with transparent background
3) I am drawing each frame on the background and save to a folder
4) Create a video using FFmpeg
The problem is step 2, 3 and 4, they very slow. Maybe has another way to overlay transparent video on the background image ?
-
ffmpeg zoompan + crop
24 février 2021, par andykaisI need to pan across a video that is also being cropped by ffmpeg. How can I accomplish this in a single ffmpeg command ?


So far I see two possible options :


Option #1 : use crop variables pan across the video. This is choppy, but possibly fixed by upscaling the input.


ffmpeg -i input.mp4 -vf 'crop=w=in_w/2:h=in_h:x=t*10' crop_panned_output.mp4



Option #2 : create an alpha mask in the shape of the crop, and then apply it on top of the input video with a zoompan filter. ffmpeg is doing extra work in this case, because we have to pad the input, then zoom in on it, then pan across it, then apply the alpha mask. This is actually using the "zoompan" feature to "pan" though.


magick -size 1920x1080 xc:none -fill black -draw "rectangle 480,0 1440,1080" rectangular-alpha-mask.png
ffmpeg -i input.mp4 -i rectangular-alpha-mask.png -filter_complex "
 [0:v]pad=2112:1188,zoompan=z=1.1:px+0.5:d=1:fps=60:s=1920x1080[input_pan];
 [1:v]alphaextract[alf];
 [input_pan][alf]alphamerge[masked];
 color=s=1920x1080:color=red[base];
 [base][masked]overlay=shortest=1
" mask_panned_output.mp4



Are either of these the right way to do it or are they incredibly inefficient ? Is there another option ? Cropping & panning together feels like a fairly common workflow, but these solutions feel a bit hacky.


Here is a visual description of what panning and cropping a video looks like :


First start with a video. Here is a simple one.



I want to crop the video to a certain width/height, and move from the left to the right across the video. The background is colored red for clarity



The video moves from left to right across the original video, and keeps the same crop ratio.



-
Added : Support for Chapter sub levels.
5 octobre 2013, par GrandtAdded : Support for Chapter sub levels.
Rev. 2.53 - 2013-10-05
* Added : Support for Chapter levels.
* Added functions :
* ->subLevel() to indent one level under the current, additional
chapters are added under that.
* ->backLevel() to step one level back to the parent of the current
level.
* ->rootLevel() to step back to the root of the navMap.
* ->getCurrentLevel() to get the current level indentation (root = 1).
* ->setCurrentLevel(int) to set the current level indentation (1 or
less returns to the root, same as ->rootLevel()).
* ->buildTOC now reflects this level indentation if present.
* ePub250 is otherwise compatible to the previous version, and no
modifications are needed if you don't need this feature.