Recherche avancée

Médias (91)

Autres articles (6)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (3098)

  • aarch64 : hevc : Produce epel_uni_w_hv functions for both neon and i8mm

    20 mars 2024, par Martin Storsjö
    aarch64 : hevc : Produce epel_uni_w_hv functions for both neon and i8mm
    

    AWS Graviton 3 :
    put_hevc_epel_uni_w_hv4_8_c : 191.2
    put_hevc_epel_uni_w_hv4_8_neon : 87.7
    put_hevc_epel_uni_w_hv4_8_i8mm : 83.2
    put_hevc_epel_uni_w_hv6_8_c : 349.5
    put_hevc_epel_uni_w_hv6_8_neon : 153.0
    put_hevc_epel_uni_w_hv6_8_i8mm : 148.5
    put_hevc_epel_uni_w_hv8_8_c : 581.2
    put_hevc_epel_uni_w_hv8_8_neon : 166.7
    put_hevc_epel_uni_w_hv8_8_i8mm : 163.5
    put_hevc_epel_uni_w_hv12_8_c : 1230.0
    put_hevc_epel_uni_w_hv12_8_neon : 387.7
    put_hevc_epel_uni_w_hv12_8_i8mm : 370.2
    put_hevc_epel_uni_w_hv16_8_c : 2003.2
    put_hevc_epel_uni_w_hv16_8_neon : 501.5
    put_hevc_epel_uni_w_hv16_8_i8mm : 490.2
    put_hevc_epel_uni_w_hv24_8_c : 4448.7
    put_hevc_epel_uni_w_hv24_8_neon : 1092.2
    put_hevc_epel_uni_w_hv24_8_i8mm : 1069.7
    put_hevc_epel_uni_w_hv32_8_c : 7817.2
    put_hevc_epel_uni_w_hv32_8_neon : 1916.2
    put_hevc_epel_uni_w_hv32_8_i8mm : 1829.5
    put_hevc_epel_uni_w_hv48_8_c : 16728.2
    put_hevc_epel_uni_w_hv48_8_neon : 4263.7
    put_hevc_epel_uni_w_hv48_8_i8mm : 4342.7
    put_hevc_epel_uni_w_hv64_8_c : 29563.2
    put_hevc_epel_uni_w_hv64_8_neon : 7474.2
    put_hevc_epel_uni_w_hv64_8_i8mm : 7128.5

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

    • [DH] libavcodec/aarch64/hevcdsp_epel_neon.S
    • [DH] libavcodec/aarch64/hevcdsp_init_aarch64.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;

  • ffmpeg converting mp4 to gif with color palette results in truncated video

    6 décembre 2019, par Tik0

    I want to generate a gif from my mp4 movie with ffmpeg (ffmpeg version 2.8.15-0ubuntu0.16.04.1) using a color palette. Everything works fine if I do not use a palette :

    $ ffmpeg -i in.mp4 -filter_complex "scale=160:-1" out.gif
    ...
    frame= 2003 fps=251 q=-0.0 Lsize=   21172kB time=00:01:20.12 bitrate=2164.7kbits/s    
    video:21155kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.077667%

    But using a palette like so results in Buffer queue overflow, dropping messages and a truncated video

    $ ffmpeg -i in.mp4 -filter_complex "[0:v] scale=160:-1, split [a][b];[a] palettegen [p];[b][p] paletteuse" out.gif
    ....
    [Parsed_paletteuse_3 @ 0xc56de0] [framesync @ 0xd1af08] Buffer queue overflow, dropping.
    Last message repeated 36 times
    [Parsed_paletteuse_3 @ 0xc56de0] [framesync @ 0xd1af08] Buffer queue overflow, dropping.
    Last message repeated 106 times
    ...
    [Parsed_palettegen_2 @ 0xc56d40] 255(+1) colors generated out of 1347441 colors; ratio=0.000189
    frame=   65 fps=5.4 q=-0.0 Lsize=    1036kB time=00:01:20.12 bitrate= 105.9kbits/s    
    video:1035kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.124664%