
Recherche avancée
Autres articles (21)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Les statuts des instances de mutualisation
13 mars 2010, parPour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site
Sur d’autres sites (4021)
-
How to upload and overlay animation.html file from system and overlay over video in HTML or ANGULAR
23 septembre 2020, par HirenHey I am trying to build an app which has a functionality of allowing a user to upload a pre-existing .HTML file from his system which contains a simple animation init


I want to get that file and overlay the animation contained in .HTML file on my video and display it to the user.


is that possible please help me if it is.




body {
 background: #;
}

#fullScreenBox {
 height: 500px;
 width: 50%;
 background: #;
 position: absolute;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 margin: auto;
}

#hiddenBox {
 width: 50%;
 height: 500px;
 background: #;
 position: absolute;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 margin: auto;
 overflow: hidden;
}

#title {
 width: 100%;
 height: 150px;
 background: #;
 /*U can also use #*/
 position: absolute;
 top: 200px;
 font-family: arial;
 font-size: 50px;
 color: white;
 text-align: center;
 opacity: 0;
}

#subtitle {
 width: 100%;
 height: 50px;
 background: #;
 /*U can also use #*/
 position: absolute;
 top: 300px;
 font-family: arial;
 font-size: 50px;
 color: red;
 text-align: center;
 opacity: 0;
}

#line01 {
 width: 25%;
 height: 4px;
 background: white;
 /*U can also use #*/
 position: absolute;
 top: 50px;
 bottom: 0;
 left: 0;
 right: 0;
 margin: auto;
 color: white;
 opacity: 0;
}

#overlay {
 position: absolute;
 color: #FFF;
 text-align: center;
 font-size: 20px;
 padding: 10px 0;
 width: 50%;
 height: 500px;
 background: #;
 top: 0;
 bottom: 0;
 left: 0;
 right: 0;
 margin: auto;
}

#v {
 height: 500px;
 width: 100%;
}




 <div>
 <div class="">
 <div class="webvfx" data-animate="'{
">
 LONDON
 </div>
 <div class="webvfx" data-animate="'{
">

 </div>

 <div class="webvfx" data-animate="'{
">
 City of Dreams!
 </div>
 </div>
</div>







This is my HTML file that contains a simple animation for example which is in user system


In my application when user upload this file i want to overlay the animation contained in this file on the video as he uploads it is these any way
Thank you


-
Error exporting animation ffmpeg - Matplotlib
4 décembre 2020, par jonboyI'm having issues with exporting an animation using python through anaconda on a Mac. I'm getting the following
RuntimeError
.

RuntimeError: Requested MovieWriter (ffmpeg) not available



Looking at other questions, the main options are to install
ffmpeg
via conda :

conda install -c conda-forge ffmpeg



Or designate the path :


plt.rcParams['animation.ffmpeg_path'] = '/usr/local/bin/ffmpeg'



The second option just returns the same
RuntimeError
. The first option returns a separate error :

BrokenPipeError: [Errno 32] Broken pipe


During handling of the above exception, another exception occurred:

Traceback (most recent call last):

 File "/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py", line 1152, in save
writer.grab_frame(**savefig_kwargs)

 File "/Users/person/opt/anaconda3/lib/python3.8/contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)

 File "/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py", line 232, in saving
self.finish()

 File "/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py", line 368, in finish
self.cleanup()

 File "/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py", line 411, in cleanup
raise subprocess.CalledProcessError(

CalledProcessError: Command '['ffmpeg', '-f', 'rawvideo', '-vcodec', 'rawvideo', '-s', '1600x1302', '-pix_fmt', 'rgba', '-r', '10', '-loglevel', 'error', '-i', 'pipe:', '-vcodec', 'h264', '-pix_fmt', 'yuv420p', '-b', '8000k', '-vcodec', 'libx264', '-y', 'test_text.mp4']' died with .



Chasing up this error then refers me back to uninstalling the
ffmpeg
package. But this just leads to the initial error statingffmpeg
isn't available.

-
Has anyone used the speech driven animation and can you make it work ?
16 août 2020, par hopw JanI'm talking about this repo. I installed all the dependencies but I can't make it work. Any help is highly appreciated ( :


I'm running python 3.7.5.


This is my code :


import sda
import scipy.io.wavfile as wav
from PIL import Image

va = sda.VideoAnimator(gpu=0, model_path="crema")# Instantiate the animator
fs, audio_clip = wav.read("example/audio.wav")
still_frame = Image.open("example/image.bmp")
vid, aud = va(frame, audio_clip, fs=fs)
va.save_video(vid, aud, "generated.mp4")



Sadly it doesn't seem to work and it gives me this error :


Warning (from warnings module):
 File "C:\Users\Alex\AppData\Local\Programs\Python\Python37\lib\site-packages\pydub\utils.py", line 170
 warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
Traceback (most recent call last):
 File "C:\Users\Alex\Desktop\test\test.py", line 8, in <module>
 vid, aud = va(frame, audio_clip, fs=fs)
NameError: name 'frame' is not defined
</module>


Spent about 2 hours and I can't do anything, I'm out of ideas.
If you take the time to help me thank you from the bottom of my heart.