Recherche avancée

Médias (0)

Mot : - Tags -/inscription3

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

Autres articles (52)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (15075)

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

  • FFmpeg — Using hardware acceleration for video decoding

    5 novembre 2018, par Paul Belanger

    I have a project that uses FFmpeg to decode video streams and I want to make use of hardware decoding where available. According to this answer, the use of ff_find_hwaccel and friends is deprecated in newer FFmpeg builds.

    The answer states that ff_find_hwaccel is deprecated. I want to know how the new method for allocating a hardware accelerated decoder works. Is it done automatically ? Can I just pass hwaccel in an AvDictionary as the third option to avcodec_open2, or do I have to do something more involved ?

    Currently the code for allocating an AVCodecContext looks like this :

    auto video_codec = avcodec_find_decoder(codec_id);
    auto context = avcodec_alloc_context3(video_codec);
    auto retcode = avcodec_open2(context, video_codec, nullptr);

    with error checking, of course.

    I then push AVPackets into the decoder using avcodec_decode_video2.

  • ffmpeg : Create a fake shadow below alpha channel webm/png sequence

    6 mai 2021, par Beneos Battlemaps

    Purpose : I'd like to render out animated 3D meshes as png sequence to use them as animated tokens for virtual tabletop games. To make the mesh looks more natural I'd like to create a fake show beneath the actual token.

    &#xA;

    Problem : I have a png sequence 1 (as well as a webm file created with ffmpet out of this png sequence if it makes it easier) with alpha channel. To create the webm I use :&#xA;ffmpeg -framerate 24 -f image2 -i Idle_Top.%04d.png -c:v libvpx-vp9 -crf 25 -pix_fmt yuva420p Idle_Top.webm (If its relevant). I'd like to render out the png sequence to a webm file that have the current images as well as the transparent shadow beneath the token combined.

    &#xA;

    Possible workflow : I think a good way to achieve the wanted shadow effect is to use the alpha channel image as a mask on a black picture with the same resolution as the source image 2. Then you have a complete black version of the image. Then you need to place this image beneath the colored image and make a offset of 10px left and 10px down to create the ilusion of perspective 3. At the end the black image below the colored image must have a transparency as well ( 30% visibility should be enough) 4.

    &#xA;

    Workflow overview

    &#xA;

    Assets : I've put the webm file and the png files on my gDrive https://drive.google.com/drive/folders/1wznGaPwhKc2UyPpSZBSISa1gs3oixsHR?usp=sharing

    &#xA;

    Though I work with ffmpeg on a regular basis I have no clue where to start. Can you please help me out with this interesting problem ?

    &#xA;

    Best regards&#xA;Ben

    &#xA;