Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (80)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (4573)

  • python Instagram API doesnt work

    9 avril 2017, par sdgm

    I was looking for a c++-Instagram API but there was not any complete project. Now,I am using python-Instagram API. whenever I execute my code, too many errors occur. this is my code :

    from InstagramAPI import InstagramAPI

    InstagramAPI = InstagramAPI("no_ideaw", "xs*************#")
    InstagramAPI.login()
    InstagramAPI.removeProfilePicture()

    Then, these are the errors :

       Traceback (most recent call last):
     File "tester.py", line 1, in <module>
       from InstagramAPI import InstagramAPI
     File "/home/muhammad/Downloads/Instagram-API-python-master/InstagramAPI.py", line 25, in <module>
       from moviepy.editor import VideoFileClip
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/editor.py", line 22, in <module>
       from .video.io.VideoFileClip import VideoFileClip
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/video/io/VideoFileClip.py", line 3, in <module>
       from moviepy.video.VideoClip import VideoClip
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/video/VideoClip.py", line 20, in <module>
       from .io.ffmpeg_writer import ffmpeg_write_image, ffmpeg_write_video
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/video/io/ffmpeg_writer.py", line 15, in <module>
       from moviepy.config import get_setting
     File "/home/muhammad/.local/lib/python2.7/site-packages/moviepy/config.py", line 38, in <module>
       FFMPEG_BINARY = get_exe()
     File "/home/muhammad/.local/lib/python2.7/site-packages/imageio/plugins/ffmpeg.py", line 86, in get_exe
       raise NeedDownloadError('Need ffmpeg exe. '
    imageio.core.fetching.NeedDownloadError: Need ffmpeg exe. You can download it by calling:
     imageio.plugins.ffmpeg.download()
    </module></module></module></module></module></module></module>

    I tried to install

    imageio.plugins.ffmpeg.download()

    but nothing happened. what is wrong with my python code ?

  • Révision 22206 : Deux bugs dans le phraseur illustré par l’exemple ci-dessous fourni par Georges K...

    6 juin 2015, par esj -

    * (ligne 295) ce qu’il y a avant un nom de balise dans un argument n’est pas forcément du texte brut, il peut y avoir des chaînes de langues ;
    * (ligne 256) les apostrophes et guillemets en début d’argument ne sont pas forcément des délimiteurs SPIP, il faut qu’il y en ait un 2e plus loin, ce que preg_match contrôlait sans que SPIP tienne compte de son résultat. On y veille à présent mais il est à noter que cette condition est nécessaire mais non suffisante, du fait de la terrible ambiguité de la syntaxe des squelettes. Il y a donc d’autres bugs potentiels quand on met des balises comme arguments d’une balise.

    Autre chose qui ne relève pas du phraseur : dans le code ci-dessous le "**" après #SESSION n’est pas seulement destiné à produire un code plus efficace (il ne sécurise pas car ce n’est pas nécessaire quand on ne s’intéresse qu’au résultat booléen), mais aussi parce que le "interdire_script" introduit sinon transcode le chevron dans le "< ?php" de la balise dynamique #URL_LOGOUT, ce qui la neutralise. C’est un autre bug à creuser.

    <span class="CodeRay">[(#SESSION**{nom}|?{
    <span class="tag">&lt;:bienvenue:></span> <span class="tag"><strong></strong></span>#SESSION{nom}<span class="tag"></span>    
    <span class="tag">span> <span class="tag">/></span><span class="tag">span> <span class="attribute-name">href</span>=<span class="string"><span class="delimiter">'</span><span class="content">#URL_LOGOUT</span><span class="delimiter">'</span></span><span class="tag">></span><span class="tag">&lt;:logout:></span><span class="tag"></span>
    ,
    <span class="tag"><p></p></span><span class="tag"><small></small></span><span class="tag">span> <span class="attribute-name">alt</span>=<span class="string"><span class="delimiter">"</span><span class="content">&lt;:zonep:</span></span><span class="error">></span>" src="#CHEMIN{encrypted.png}" /<span class="error">></span> <span class="tag">&lt;:acces:></span> <span class="tag">span> <span class="attribute-name">href</span>=<span class="string"><span class="delimiter">"</span><span class="content">#URL_PAGE{login,url=#SELF}</span><span class="delimiter">"</span></span><span class="tag">></span><span class="tag">&lt;:ident:></span><span class="tag"></span>
    <span class="tag"></span><span class="tag"></span>
    })]
    </span></span></span></span></span>
  • For WMV files avformat_find_stream_info() shows "Extra data : 8 bits left, value : 0" message

    15 avril 2013, par Mike

    When I call avformat_find_stream_info() for wmv files, the following message is always seen :
    [wmv3 00FAEAE0] Extra data : 8 bits left, value : 0

    After that the program works as expected but anyway I would like to know what does that message mean ? Thank you !

    File info (by ffmpeg -i) :

    Duration: 00:00:06.92, start: 0.000000, bitrate: 1514 kb/s
    Stream #0:0(rus): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 128 kb/s
    Stream #0:1(rus): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 720x576, 1368 kb/s, SAR 16:15 DAR 4:3, 25 tbr, 1k tbn, 1k tbc

    Code :

    AVFormatContext*    pFormatCtx = avformat_alloc_context();
    if (avformat_open_input(&amp;pFormatCtx, "file.wmv", NULL, NULL) &lt; 0)
       return 0;
    if (avformat_find_stream_info(pFormatCtx, NULL) &lt; 0) // HERE WE HAVE GOT THAT MESSAGE
       return 0;