
Recherche avancée
Autres articles (45)
-
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (5170)
-
How do I make Ffmpeg work for subtitles in flutter ?
19 juillet 2024, par Mohammed BekeleI'm trying to burn subtitles in a video. I'm going to show you the manual command I used :


String newCmd =
 '-i /storage/emulated/0/ffmpeg/video.avi -vf subtitles=\'/storage/emulated/0/ffmpeg/caption.srt\':force_style=\'Fontsize=24\' /storage/emulated/0/ffmpeg/apt.mp4';
 



When I use the above command it just fail, but the following code works.


String newCmd =
 '-i /storage/emulated/0/ffmpeg/video.avi /storage/emulated/0/ffmpeg/apt.mp4';



When I run ffmpeg on my pc this is the command


ffmpeg -i F:\ffmpeg\video.avi -vf subtitles='F\:\\ffmpeg\\caption.srt':force_style='Fontsize=24' F:\ffmpeg\new.mp4



So when using in subtitles we need to provide extra backslashes to the paths. So does this mean Flutter expects the same ? Or should I have to include a font file to it ?


I'm using ffmpeg_kit_flutter package.


-
How can I overlay multiple images with fade-in using ffmpeg ? [closed]
2 juin 2024, par strangerDIn the working folder, there are
text1.png
text2.png
video.mp4
(all sizes 400x400)


I would like to overlay
text1 and text2
on this video.mp4 while fading them in.


If it was just one image, I could make it with the code below,
so I am currently researching ways to improve the code below.

ffmpeg -i video.mp4 -loop 1 -i text1.png -filter_complex "[1]fade=in:st=2:d=1:alpha=1[i];[0][i]overlay=x=0:y=0:shortest=1;" output.mp4


Below is the code I created based on the manual and information I found on Google.

ffmpeg -i video.mp4 -loop -i text1.png -i text2.png -filter_complex "[1]fade=in:st=2:d=1[i];[2]fade=in:st=2:d=1[y];[0][i]overlay=x=0:y=0:shortest=1[v1];[v1][y]overlay=x=0:y=0[v2]" -map "[v2]" output.mp4


However, this will result in an error message
Invalid file index 2 in filtergraph description
and the second image will be invalid.


How can I improve the overlay of two images ?


-
SNAP : Simulation and Neuroscience Application Platform [closed]
19 avril 2024, par S_SIs there any documentation/help manual on how to use SNAP (Simulation and Neuroscience Application Platform)1.



I wanted to run the Motor Imagery sample scenario with a .avi file for the stimulus instead of the image. How can that be done ?



The following error is obtained when using the AlphaCalibration scenario which gives code to play an avi file.Any help appreciated



:movies:ffmpeg(warning): parser not found for codec indeo4, packets or times may be invalid.
:movies:ffmpeg(warning): max_analyze_duration 5000000 reached at 5000000
:movies(error): Could not open /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:audio(error): Cannot open file: /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:audio(error): Could not open audio /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:movies:ffmpeg(warning): parser not found for codec indeo4, packets or times may be invalid.
:movies:ffmpeg(warning): max_analyze_duration 5000000 reached at 5000000
:movies(error): Could not open /e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi
:gobj(error): Texture "/e/BCI_Feb2014/SNAP-master/src/studies/SampleStudy/bird.avi" exists but cannot be read.
Traceback (most recent call last):
 File "E:\BCI_Feb2014\SNAP-master\src\framework\latentmodule.py", line 458, in _run_wrap
 self.run()
 File "modules\BCI\AlphaCalibration.py", line 30, in run
Exception during run():
 m = self.movie(self.moviefile, block=False, scale=[0.7,0.4],aspect=1.125,contentoffset=[0,0],volume=0.3,timeoffset=self.begintime+t*self.awake_duration,looping=True)
Could not load texture: bird.avi
 File "E:\BCI_Feb2014\SNAP-master\src\framework\basicstimuli.py", line 348, in movie
 tex = self._engine.base.loader.loadTexture(filename)
 File "E:\BCI_Feb2014\Panda3D-1.8.0\direct\showbase\Loader.py", line 554, in loadTexture
 raise IOError, message
IOError: Could not load texture: bird.avi