Recherche avancée

Médias (0)

Mot : - Tags -/flash

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

Autres articles (100)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

Sur d’autres sites (8809)

  • php ffmpeg how can i get current video conversation percent [duplicate]

    7 juillet 2014, par user3710676

    This question already has an answer here :

    I have a video converting site. But another video converting sites can show current conversation percent to users. How can they do this ?

  • tcp : Use a different log message and level if there’s more addresses to try

    5 août 2013, par Martin Storsjö
    tcp : Use a different log message and level if there’s more addresses to try
    

    This lowers the level of warnings printed if trying to connect
    to a host name that provides both v6 and v4 addresses but the
    service only is available on the v4 address (often occurring for
    ’localhost’, with servers that aren’t v6-aware).

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/network.c
    • [DBH] libavformat/network.h
    • [DBH] libavformat/tcp.c
    • [DBH] libavformat/unix.c
  • Animating a 2D plot (2D brownian motion) not working in Python

    8 avril 2020, par Thamu Mnyulwa

    I am trying to plot a 2D Brownian motion in Python but my plot plots the grid but does not animate the line.

    &#xA;&#xA;

    Attempted at performing this plot is below,

    &#xA;&#xA;

    !apt install ffmpeg&#xA;&#xA;import matplotlib&#xA;matplotlib.use("Agg")&#xA;import matplotlib.pyplot as plt&#xA;import matplotlib.animation as animation&#xA;&#xA;&#xA;np.random.seed(5)&#xA;&#xA;&#xA;# Set up formatting for the movie files&#xA;Writer = animation.writers[&#x27;ffmpeg&#x27;]&#xA;writer = Writer(fps=15, metadata=dict(artist=&#x27;Me&#x27;), bitrate=1800)&#xA;&#xA;&#xA;def generateRandomLines(dt, N):&#xA;    dX = np.sqrt(dt) * np.random.randn(1, N)&#xA;    X = np.cumsum(dX, axis=1)&#xA;&#xA;    dY = np.sqrt(dt) * np.random.randn(1, N)&#xA;    Y = np.cumsum(dY, axis=1)&#xA;&#xA;    lineData = np.vstack((X, Y))&#xA;&#xA;    return lineData&#xA;&#xA;&#xA;# Returns Line2D objects&#xA;def updateLines(num, dataLines, lines):&#xA;    for u, v in zip(lines, dataLines):&#xA;        u.set_data(v[0:2, :num])&#xA;&#xA;    return lines&#xA;&#xA;N = 501 # Number of points&#xA;T = 1.0&#xA;dt = T/(N-1)&#xA;&#xA;&#xA;fig, ax = plt.subplots()&#xA;&#xA;data = [generateRandomLines(dt, N)]&#xA;&#xA;ax = plt.axes(xlim=(-2.0, 2.0), ylim=(-2.0, 2.0))&#xA;&#xA;ax.set_xlabel(&#x27;X(t)&#x27;)&#xA;ax.set_ylabel(&#x27;Y(t)&#x27;)&#xA;ax.set_title(&#x27;2D Discretized Brownian Paths&#x27;)&#xA;&#xA;## Create a list of line2D objects&#xA;lines = [ax.plot(dat[0, 0:1], dat[1, 0:1])[0] for dat in data]&#xA;&#xA;&#xA;## Create the animation object&#xA;anim = animation.FuncAnimation(fig, updateLines, N&#x2B;1, fargs=(data, lines), interval=30, repeat=True, blit=False)&#xA;&#xA;plt.tight_layout()&#xA;plt.show()&#xA;&#xA;## Uncomment to save the animation&#xA;#anim.save(&#x27;brownian2d_1path.mp4&#x27;, writer=writer)&#xA;

    &#xA;&#xA;

    However, instead of performing the plot the program is printing,&#xA;enter image description here

    &#xA;&#xA;

    How do I animate this plot ? I am new to python so I apologize in advanced if this is an easy question.

    &#xA;&#xA;

    I found this question on http://people.bu.edu/andasari/courses/stochasticmodeling/lecture5/stochasticlecture5.html , there is a walkthrough of how this code came to being.

    &#xA;