Recherche avancée

Médias (91)

Autres articles (33)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (4648)

  • Animation speed adjustment using ffmpeg in Python

    5 novembre 2015, par neither-nor

    I’m been for years using stock ffmpeg script to sequentially snitch together temporal plots in Python. However, I cannot figure out the trivial issue of how to, for instance, slow down the animation speed so that the resultant video file has a longer duration.

    Example :

    import matplotlib.pyplot as plt
    import os, sys

    for t in range(100):
       plt.cla()
       plt.text(0.5, 0.5, 'time %02d'%(t+1))
       plt.draw()

       fname = '_tmp%02d.png'%(t+1)
       plt.savefig(fname)

    os.system("ffmpeg -i _tmp%02d.png -pix_fmt yuv420p -r 20 -b:v 20M flipbook.mp4")
    os.system("rm _tmp*.png")    

    The resulting "flip book" takes 4s and the time stamp increases steadily. However, I tried to make the animation last twice as long by testing the following :

    1. Change 20 after -r to 1 : this still lasts 4s but now the time stamp "leaps" nonlinearly

    2. Change 20M to 1M : no discernible effect

    I can’t find much information about this line of code, either the usage of each flag or how to modify aspects of it (e.g.,speed).

  • ffplay - change playback speed without re-encoding

    18 novembre 2017, par Timothy Tan

    I have some .264 video files that I would like to view at half playback speed, without encoding them into a new file. I remember using ffplay to do this in the past, but it was some time ago, and I can’t seem to be able to do it now. From lots of searching, this is what is supposed to work :

    ffplay -f h264 -vf "setpts=2.0*PTS" filename.264

    However this does not seem to change the playback speed at all. If I try :

    ffplay -f h264 -filter:v "setpts=2.0*PTS" filename.264

    I get an error message saying ’Failed to set value ’setpts=2.0*PTS’ for option ’filter:v’ : Option not found’.

    I specifically remember being able to do this before but cannot find any information about this now. Converting the videos is not really an option because the files are finicky and often cause an error halfway through converting, corrupting the whole file.

    Is there a simple solution to this problem ? Am I typing one of the commands wrongly ?

  • ffplay - change playback speed without re-encoding

    2 novembre 2016, par Timothy Tan

    I have some .264 video files that I would like to view at half playback speed, without encoding them into a new file. I remember using ffplay to do this in the past, but it was some time ago, and I can’t seem to be able to do it now. From lots of searching, this is what is supposed to work :

    ffplay -f h264 -vf "setpts=2.0*PTS" filename.264

    However this does not seem to change the playback speed at all. If I try :

    ffplay -f h264 -filter:v "setpts=2.0*PTS" filename.264

    I get an error message saying ’Failed to set value ’setpts=2.0*PTS’ for option ’filter:v’ : Option not found’.

    I specifically remember being able to do this before but cannot find any information about this now. Converting the videos is not really an option because the files are finicky and often cause an error halfway through converting, corrupting the whole file.

    Is there a simple solution to this problem ? Am I typing one of the commands wrongly ?