Recherche avancée

Médias (0)

Mot : - Tags -/alertes

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (21)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les 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, par

    Pour 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, par

    PHP 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 Hiren

    Hey 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%;
}

    


    &#xA;&#xA;  <div>&#xA;    <div class="">&#xA;      <div class="webvfx" data-animate="&#x27;{&#xA;">&#xA;        LONDON&#xA;      </div>&#xA;      <div class="webvfx" data-animate="&#x27;{&#xA;">&#xA;&#xA;      </div>&#xA;&#xA;      <div class="webvfx" data-animate="&#x27;{&#xA;">&#xA;        City of Dreams!&#xA;      </div>&#xA;    </div>&#xA;</div>

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

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

    &#xA;

    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&#xA;Thank you

    &#xA;

  • Error exporting animation ffmpeg - Matplotlib

    4 décembre 2020, par jonboy

    I'm having issues with exporting an animation using python through anaconda on a Mac. I'm getting the following RuntimeError.

    &#xA;

    RuntimeError: Requested MovieWriter (ffmpeg) not available&#xA;

    &#xA;

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

    &#xA;

    conda install -c conda-forge ffmpeg&#xA;

    &#xA;

    Or designate the path :

    &#xA;

    plt.rcParams[&#x27;animation.ffmpeg_path&#x27;] = &#x27;/usr/local/bin/ffmpeg&#x27;&#xA;

    &#xA;

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

    &#xA;

    BrokenPipeError: [Errno 32] Broken pipe&#xA;&#xA;&#xA;During handling of the above exception, another exception occurred:&#xA;&#xA;Traceback (most recent call last):&#xA;&#xA;  File "/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py", line 1152, in save&#xA;writer.grab_frame(**savefig_kwargs)&#xA;&#xA;  File "/Users/person/opt/anaconda3/lib/python3.8/contextlib.py", line 131, in __exit__&#xA;self.gen.throw(type, value, traceback)&#xA;&#xA;  File "/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py", line 232, in saving&#xA;self.finish()&#xA;&#xA;  File "/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py", line 368, in finish&#xA;self.cleanup()&#xA;&#xA;  File "/Users/person/opt/anaconda3/lib/python3.8/site-packages/matplotlib/animation.py", line 411, in cleanup&#xA;raise subprocess.CalledProcessError(&#xA;&#xA;CalledProcessError: Command &#x27;[&#x27;ffmpeg&#x27;, &#x27;-f&#x27;, &#x27;rawvideo&#x27;, &#x27;-vcodec&#x27;, &#x27;rawvideo&#x27;, &#x27;-s&#x27;, &#x27;1600x1302&#x27;, &#x27;-pix_fmt&#x27;, &#x27;rgba&#x27;, &#x27;-r&#x27;, &#x27;10&#x27;, &#x27;-loglevel&#x27;, &#x27;error&#x27;, &#x27;-i&#x27;, &#x27;pipe:&#x27;, &#x27;-vcodec&#x27;, &#x27;h264&#x27;, &#x27;-pix_fmt&#x27;, &#x27;yuv420p&#x27;, &#x27;-b&#x27;, &#x27;8000k&#x27;, &#x27;-vcodec&#x27;, &#x27;libx264&#x27;, &#x27;-y&#x27;, &#x27;test_text.mp4&#x27;]&#x27; died with .&#xA;

    &#xA;

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

    &#xA;

  • Has anyone used the speech driven animation and can you make it work ?

    16 août 2020, par hopw Jan

    I'm talking about this repo. I installed all the dependencies but I can't make it work. Any help is highly appreciated ( :

    &#xA;

    I'm running python 3.7.5.

    &#xA;

    This is my code :

    &#xA;

    import sda&#xA;import scipy.io.wavfile as wav&#xA;from PIL import Image&#xA;&#xA;va = sda.VideoAnimator(gpu=0, model_path="crema")# Instantiate the animator&#xA;fs, audio_clip = wav.read("example/audio.wav")&#xA;still_frame = Image.open("example/image.bmp")&#xA;vid, aud = va(frame, audio_clip, fs=fs)&#xA;va.save_video(vid, aud, "generated.mp4")&#xA;

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;