Recherche avancée

Médias (91)

Autres articles (56)

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (7851)

  • Heroku : [Errno 13] Permission Denied : /app/ffmpeg.exe

    4 mars 2021, par GetTwoBirdsStonedAtOnce

    So I made a python bot and I wanted to equip it with the ability to play music. I have been following this tutorial.

    


    Unfortunately when I run the play command I get the [Errno 13] Permission Denied: /app/ffmpeg.exe error. I have included the ffmpeg.exe file in my project branch as well as all of the ffmpeg files. I host this bot on heroku. I ran heroku logs --tail but this doesn't show me anything, I see the error as the output on a discord channel. Before you suggest it, I already have ran this : heroku config:set DISABLE_COLLECTSTATIC = 1. Of course to no avail... Here's the fragment of my code where I point to the ffmpeg.exe file :
return cls(discord.FFmpegPCMAudio(executable="/app/ffmpeg.exe", source = source), data=data, requester=ctx.author)

    


    Rest of the code is irrelevant as this is the only part that makes impact on the end result. Hope you can help me, cheers !

    


  • Is it possible to decode MPEG4 frames without delay with ffmpeg ?

    16 avril 2015, par Sergey

    I use ffmpeg’s MPEG4 decoder. The decoder has CODEC_CAP_DELAY capability among others. It means the decoder will give me decoded frames with latency of 1 frame.

    I have a set of MPEG4 (I- & P- )frames from AVI file and feed ffmpeg decoder with these frames. For the very first I-frame decoder gives me nothing, but decodes the frames successfully. I can force the decoder to get the decoded frame with the second call of avcodec_decode_video2 and providing nulls (flush it), but if I do so for each frame I get artifacts for the first group of pictures (e.g. second decoded P-frame is of gray color).

    If I do not force ffmpeg decoder to give me decoded frame right now, then it works flawlessly and without artifacts.

    Question : But is it possible to get decoded frame without giving the decoder next frame and without artifacts ?

    Small example of how decoding is implemented for each frame :

           // decode
           int got_frame = 0;
           int err = 0;
           int tries = 5;
           do
           {
               err = avcodec_decode_video2(m_CodecContext, m_Frame, &got_frame, &m_Packet);
               /* some codecs, such as MPEG, transmit the I and P frame with a
               latency of one frame. You must do the following to have a
               chance to get the last frame of the video */
               m_Packet.data = NULL;
               m_Packet.size = 0;
               --tries;
           }
           while (err >= 0 && got_frame == 0 && tries > 0);

    But as I said that gave me artifacts for the first gop.

  • Revision 100192 : $val[’htpass’] est défini plus haut, qui plus est là on le rendait vide

    26 octobre 2016, par kent1@… — Log

    $valhtpass ? est défini plus haut, qui plus est là on le rendait vide