Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (66)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (12988)

  • configure : remove duplicate ape_decoder_select line

    27 juin 2014, par James Almer
    configure : remove duplicate ape_decoder_select line
    

    Signed-off-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] configure
  • avcodec/ptx : Check that the input contains at least one line

    2 octobre 2019, par Michael Niedermayer
    avcodec/ptx : Check that the input contains at least one line
    

    Fixes : Timeout (19sec -> 44ms)
    Fixes : 17816/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PTX_fuzzer-5704459950227456

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/ptx.c
  • Animated line chart with pandas, matplotlib and ffmpeg

    10 avril 2020, par Mark K

    In producing an animated line chart, I have below data and codes.

    &#xA;&#xA;

    But when the chart produced, it shows no line. What did I do wrong ?

    &#xA;&#xA;

    Thank you.

    &#xA;&#xA;

    import numpy as np&#xA;import pandas as pd&#xA;import seaborn as sns&#xA;import matplotlib&#xA;import matplotlib.pyplot as plt&#xA;import matplotlib.animation as animation&#xA;&#xA;title = &#x27;Heroin Overdoses&#x27;&#xA;&#xA;data = {&#x27;Year&#x27; : ["1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016"], &#xA;&#x27;Heroin Overdoses&#x27; : [280,443,413,486,475,148,197,170,448,103,137,160,483,356,352,300,466,278]}&#xA;overdose = pd.DataFrame(data)&#xA;&#xA;Writer = animation.writers[&#x27;ffmpeg&#x27;]&#xA;writer = Writer(fps=20, metadata=dict(artist=&#x27;Me&#x27;), bitrate=1800)&#xA;&#xA;fig = plt.figure(figsize=(10,6))&#xA;plt.xlim(1999, 2016)&#xA;plt.ylim(np.min(overdose)[0], np.max(overdose)[0])&#xA;plt.xlabel(&#x27;Year&#x27;,fontsize=20)&#xA;plt.ylabel(title,fontsize=20)&#xA;plt.title(&#x27;Heroin Overdoses per Year&#x27;,fontsize=20)&#xA;&#xA;def animate(i):&#xA;    data = overdose.iloc[:int(i&#x2B;1)] #select data range&#xA;    p = sns.lineplot(x=data.index, y=data[title], data=data, color="r")&#xA;    p.tick_params(labelsize=17)&#xA;    plt.setp(p.lines,linewidth=7)&#xA;&#xA;ani = matplotlib.animation.FuncAnimation(fig, animate, frames=17, repeat=True)&#xA;&#xA;ani.save(&#x27;C:\\folder\\line chart.mp4&#x27;, writer=writer)&#xA;

    &#xA;