Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (111)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (8250)

  • 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%
  • 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.

    



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

    



    Thank you.

    



    import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.animation as animation

title = 'Heroin Overdoses'

data = {'Year' : ["1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014","2015","2016"], 
'Heroin Overdoses' : [280,443,413,486,475,148,197,170,448,103,137,160,483,356,352,300,466,278]}
overdose = pd.DataFrame(data)

Writer = animation.writers['ffmpeg']
writer = Writer(fps=20, metadata=dict(artist='Me'), bitrate=1800)

fig = plt.figure(figsize=(10,6))
plt.xlim(1999, 2016)
plt.ylim(np.min(overdose)[0], np.max(overdose)[0])
plt.xlabel('Year',fontsize=20)
plt.ylabel(title,fontsize=20)
plt.title('Heroin Overdoses per Year',fontsize=20)

def animate(i):
    data = overdose.iloc[:int(i+1)] #select data range
    p = sns.lineplot(x=data.index, y=data[title], data=data, color="r")
    p.tick_params(labelsize=17)
    plt.setp(p.lines,linewidth=7)

ani = matplotlib.animation.FuncAnimation(fig, animate, frames=17, repeat=True)

ani.save('C:\\folder\\line chart.mp4', writer=writer)


    


  • 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