Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (91)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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 (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Les sons

    15 mai 2013, par

Sur d’autres sites (6060)

  • adaptive HTTP streaming for open codecs

    14 octobre 2010, par silvia

    At this week’s FOMS in New York we had one over-arching topic that seemed to be of interest to every single participant : how to do adaptive bitrate streaming over HTTP for open codecs. On the first day, there was a general discussion about the advantages and disadvantages of adaptive HTTP (...)

  • FFmpeg - Vertical-Scroll Image Overlay for same duration as audio file

    28 décembre 2020, par John Doe

    I want to scroll an image vertically, but I want the animation duration to match an mp3 file, which will be different every time. Here's what I have :

    


    ffmpeg -y -hide_banner -f lavfi -i color=s=1280x720 -loop 1 -i "image.jpg" -filter_complex "[1:v]scale=1280:-2,setpts=if(eq(N\,0)\,0\,1+1/0.01/TB),fps=30[fg]; [0:v][fg]overlay=y=-'t*h*0.01':eof_action=endall[video]" -map "[video]" "output.mp4"


    


    But this always produces a video with duration of 1 minute and 40 seconds, making the animation slow down or speed up accordingly. This is not what I want. I want the output video (and the scrolling animation) duration to match a random mp3 file.

    


    I am using FFmpeg in a Batch file on Windows. Any help would be appreciated.

    


  • FFmpeg is giving me nightmares

    8 juin 2016, par Guillermo

    So, I’m trying to save animations with the animation.save command. I installed ffmpeg in Windows 10 by placing a folder with its binaries in my drive C :\, I have also set the path in my system variables like C :\ffmpeg\bin, and finally, my code for the animation function saving looks like this

    if save=='True':
        mywriter = animation.FFMpegWriter()
        plt.rcParams['animation.ffmpeg_path'] = 'C:/ffmpeg/bin'
        ani.save('mymovie.avi',writer=mywriter,fps=30)

    and all other kind of variants such as :

       mpl.animation.ffmpeg_path = r'C:\ffmpeg\bin'
       mpl.animation.ffmpeg_path = 'C:\\ffmpeg\\bin'

    No matter what I do, the result is always :

    File "<stdin>", line 2, in <module>
    File "Plot.py", line 168, in animate
    ani.save('mymovie.avi',writer=mywriter,fps=30)
    File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 801, in save
    with writer.saving(self._fig, filename, dpi):
    File "C:\Users\Guillermo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.6.1.3253.win-x86_64\lib\contextlib.py", line 17, in __enter__
    return self.gen.next()
    File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 194, in saving
    self.setup(*args)
    File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 184, in setup
    self._run()
    File "c:\users\guillermo\appdata\local\enthought\canopy\user\lib\site-packages\matplotlib\animation.py", line 212, in _run
    creationflags=subprocess_creation_flags)
    File "C:\Users\Guillermo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.6.1.3253.win-x86_64\lib\subprocess.py", line 710, in __init__
    errread, errwrite)
    File "C:\Users\Guillermo\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.6.1.3253.win-x86_64\lib\subprocess.py", line 958, in _execute_child
    startupinfo)
    WindowsError: [Error 5] Access Denied
    </module></stdin>

    Any ideas ? :D

    ------------------------------------------------------------------------------

    EDIT : I will reference this answer as it is the one that helped me the best :
    http://stackoverflow.com/a/27017734/6050676

    It worked perfectly when using :

    plt.rcParams['animation.ffmpeg_path'] = 'C:\\ffmpeg\\bin\\ffmpeg.exe'