Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (102)

  • 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 ;

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (12983)

  • Try out the latest Piwik 3.0.0 beta version : Piwik 3.0.0 is almost here !

    15 novembre 2016, par Matthieu Aubry — Uncategorized

    Dear Piwik community,

    We are excited today to announce our publicly available Piwik 3.0.0 beta 3 release. We have been been working hard behind the scenes on the new 3.0.0 release for almost one year now. We, the passionate team at Piwik, are dedicated to bringing you a new and improved Piwik experience and invite you to join our beta channel to switch to Piwik 3 today !

    Enable the beta release channel

    Ready to enjoy a much faster Piwik experience and the magic of a modern user interface ? Follow the instructions here and you can upgrade to Piwik 3.0.0 beta in just one click.

    Please note that beta versions have a risk of containing bugs so we don’t recommend to use on a production server. If you find and report a bug in a beta version, we will aim to fix it as quickly as possible.

    Premium plugins in Piwik 3

    In the Piwik Marketplace you can discover & download plugins to enrich the functionality of your Piwik, as well as themes to change the look and feel of your Piwik user interface. The Marketplace integration was much improved in this new release, most notably : you can now purchase and download Premium plugins within Piwik !

    Important changes

    The Piwik 3 upgrade comes with some important changes that may require your attention which we detail in this blog post and in the developer changelog.

    The full list of more than 150 changes can be found in the Piwik 3 beta changelogs : beta 1, beta 2, beta 3.

    What to do next

    When you use the Piwik beta channel and if you come across any issues in Piwik such as a bug, feature missing, regression… let us know on our tracker and create a new issue so we can get this sorted.

    As we are in the final days of Piwik 3 development, we are looking forward to your feedback and help testing !

    Welcome to the future of Piwik,

    Happy Analytics !

  • Python matplotlib.animation [Errno 13] Permission denied

    11 février 2016, par Fishman

    I am trying to create a simple animated histogram and save it as a .mp4 using matplotlib and ffmpeg on a mac. I have already installed ffMpeg, specified the ffmpeg path, and now I am getting a permission denied error when writing to a folder in my desktop. I tried running as sudo and still get the same error. Help is much appreciated, thank you !

    Here is the code :

    df = pd.read_csv('.../data.csv')

    df = df.dropna()
    #Get list of weeks
    weeks = df.ot_date.unique()
    fig, ax = plt.subplots()

    data = df.intervals_filled[df['ot_date'].isin([weeks[0]])]
    n, bins = np.histogram( data , 20)

    # get the corners of the rectangles for the histogram
    left = np.array(bins[:-1])
    right = np.array(bins[1:])
    bottom = np.zeros(len(left))
    top = bottom + n
    nrects = len(left)

    # here comes the tricky part -- we have to set up the vertex and path
    # codes arrays using moveto, lineto and closepoly

    # for each rect: 1 for the MOVETO, 3 for the LINETO, 1 for the
    # CLOSEPOLY; the vert for the closepoly is ignored but we still need
    # it to keep the codes aligned with the vertices
    nverts = nrects*(1 + 3 + 1)
    verts = np.zeros((nverts, 2))
    codes = np.ones(nverts, int) * path.Path.LINETO
    codes[0::5] = path.Path.MOVETO
    codes[4::5] = path.Path.CLOSEPOLY
    verts[0::5, 0] = left
    verts[0::5, 1] = bottom
    verts[1::5, 0] = left
    verts[1::5, 1] = top
    verts[2::5, 0] = right
    verts[2::5, 1] = top
    verts[3::5, 0] = right
    verts[3::5, 1] = bottom

    barpath = path.Path(verts, codes)
    patch = patches.PathPatch(
       barpath, facecolor='green', edgecolor='yellow', alpha=0.5)
    ax.add_patch(patch)

    ax.set_xlim(left[0], right[-1])
    ax.set_ylim(bottom.min(), top.max()+40)
    ax.set_xlabel('Number of intervals/week')
    ax.set_ylabel('Count of CSAs')
    plt.rcParams['animation.ffmpeg_path'] = '/usr/local/Cellar/ffmpeg'
    FFwriter = animation.FFMpegWriter()

    def animate(i):
       print i
       # simulate new data coming in
       data = df.intervals_filled[df['ot_date'].isin([weeks[i-1]])]
       n, bins = np.histogram(data, 20)
       yearweek = str(weeks[i-1])
       year = yearweek[0:4]
       week = yearweek[4:]
       title = 'Week %(wk)s of %(yr)s' %{'wk': week, 'yr': year}
       ax.set_title(title)
       top = bottom + n
       verts[1::5, 1] = top
       verts[2::5, 1] = top
       return [patch, ]

    ani = animation.FuncAnimation(fig, animate, 53,interval=1000, repeat=False)
    ani.save('/Users/.../Desktop/1b.mp4', writer = FFwriter)
    plt.show()

    And here is the traceback :

    Traceback (most recent call last):
     File "/Users/Fishman1049/Desktop/reserves_histogram_timeline/python/1b_text.py", line 109, in <module>
       ani.save('/Users/Fishman1049/Desktop/1b', writer = FFwriter)
     File "/Users/Fishman1049/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 761, in save
       with writer.saving(self._fig, filename, dpi):
     File "/Users/Fishman1049/anaconda/lib/python2.7/contextlib.py", line 17, in __enter__
       return self.gen.next()
     File "/Users/Fishman1049/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 186, in saving
       self.setup(*args)
     File "/Users/Fishman1049/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 176, in setup
       self._run()
     File "/Users/Fishman1049/anaconda/lib/python2.7/site-packages/matplotlib/animation.py", line 204, in _run
       creationflags=subprocess_creation_flags)
     File "/Users/Fishman1049/anaconda/lib/python2.7/subprocess.py", line 710, in __init__
       errread, errwrite)
     File "/Users/Fishman1049/anaconda/lib/python2.7/subprocess.py", line 1335, in _execute_child
       raise child_exception
    OSError: [Errno 13] Permission denied
    </module>

    I am running matplotlib version 1.5.1, just installed FFmpeg today using homebrew, spyder 2.3.8, python 2.7 and OS X 10.10.5. Thank you !.

  • avcodec : Remove libaacplus

    24 janvier 2016, par Timothy Gu
    avcodec : Remove libaacplus
    

    TODO : bump minor

    It’s inferior in quality to fdk-aac and has an arguably more problematic
    license.

    As early as 2012, a HydrogenAudio user reported :

    > It has however one huge advantage : much better quality at low bitrates than
    > faac and libaacplus.

    (https://hydrogenaud.io/index.php?PHPSESSID=ckiq394pdglka0kj2fin6ij8t7&topic=95989.msg804633#msg804633)

    I myself have made a few spectrograms for a comparison of the two
    encoders as well. The FDK output is consistently better than the
    libaacplus one, in all bitrates I tested.

    libaacplus license is 3GPP + LGPLv2. 3GPP copyright notice is completely
    proprietory, as follows :

    > No part may be reproduced except as authorized by written permission.
    >
    > The copyright and the foregoing restriction extend to reproduction in
    > all media.
    >
    > © 2008, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC).
    >
    > All rights reserved.

    (The latest 26410-d00 zip from 3GPP has the same notice, but the copyright
    year is changed to 2015)

    The copyright part of the FDK AAC license (section 2) is a copyleft
    license that permits redistribution under certain conditions (and
    therefore the LGPL + libfdk-aac combination is not prohibited by
    configure) :

    > Redistribution and use in source and binary forms, with or without
    > modification, are permitted without payment of copyright license fees
    > provided that you satisfy the following conditions :
    >
    > You must retain the complete text of this software license in
    > redistributions of the FDK AAC Codec or your modifications thereto in
    > source code form.
    >
    > You must retain the complete text of this software license in the
    > documentation and/or other materials provided with redistributions of
    > the FDK AAC Codec or your modifications thereto in binary form.
    >
    > You must make available free of charge copies of the complete source
    > code of the FDK AAC Codec and your modifications thereto to recipients
    > of copies in binary form.
    >
    > The name of Fraunhofer may not be used to endorse or promote products
    > derived from this library without prior written permission.
    >
    > You may not charge copyright license fees for anyone to use, copy or
    > distribute the FDK AAC Codec software or your modifications thereto.
    >
    > Your modified versions of the FDK AAC Codec must carry prominent
    > notices stating that you changed the software and the date of any
    > change. For modified versions of the FDK AAC Codec, the term
    > "Fraunhofer FDK AAC Codec Library for Android" must be replaced by the
    > term "Third-Party Modified Version of the Fraunhofer FDK AAC Codec
    > Library for Android."

    • [DH] Changelog
    • [DH] LICENSE.md
    • [DH] configure
    • [DH] doc/general.texi
    • [DH] doc/platform.texi
    • [DH] libavcodec/Makefile
    • [DH] libavcodec/allcodecs.c
    • [DH] libavcodec/libaacplus.c