Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (76)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

Sur d’autres sites (8291)

  • matplotlib funcanimation save issue

    20 avril 2015, par Richie Abraham

    I have been trying some animation recently using matplotlib animations. It has been going great, i create an ffmpeg writer and save it as a video file. However i face an issue whenever the function that FuncAnimation calls returns more than one object.

    Below is a small snippet of my code base. When I return both im0 and im1, the video file created only has im1 , although the plt.show command works as expected ( showing both the videos ). If i return just a single im0, then it works as expected. IT also works as expected if i return both im0 and im1 with alpha=0.5.

    Can anyone shed some light on what is happening underneath the hood ?

    fig, ax = plt.subplots(1)
    def animate(i):
       im0=ax.imshow(np.ma.masked_array(imgl[i][:,:,0], mask=get_blob(i)),cmap='cubehelix')

       im1=ax.imshow(imgl[(i-100)%len(imgl)][:,:,0],cmap='cubehelix')

       return [im1,im0]



    ani = animation.FuncAnimation(fig, animate, frames=200,
                                 interval=10, blit=True,repeat=False)
    ani.save('ps.mp4', writer=writer)
    plt.show()
  • FFmpeg convert single image into video Android

    15 mai 2014, par berserk

    I am trying to convert a single image into a video using FFmpeg. I have tried following the files :

    "ffmpeg  -analyzeduration 2147483647 -probesize 2147483647 -i " + packat.get(i).path +"-r 25 -t 1000 -y op.mp4"

    "ffmpeg -loop 1 -r 23.976 -i input.jpg -t 00:00:02 -vcodec qtrle -an output.mov"

    "ffmpeg -i c:\rawvideo\mask.bmp -loop 1 -r 29.97 -s 720x480
           -aspect 4:3 -t 00:04:05 -vcodec mjpeg -vb 11261600 -an
           c:\rawvideo\fullmask.avi"

    But all of them give me this annoying error :

    Can not process SOS before SOF, skipping marker parser used 0 bytes (0 bits) decode frame unused 0 bytes decoding for stream 0 failed
    Could not find codec parameters for stream 0 (Video: mjpeg): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options /storage/sdcard0/cblVE/temp/0.jpg: could not find codec parameters
    exit_program: 1

    Please help. I have searched for a solution from a week, but I have found nothing.

  • Revision 72c5778ec5 : Added two new skip experiments. sf->unused_mode_skip_lvl. Tests modes as normal

    1er juillet 2013, par Paul Wilkins

    Changed Paths :
     Modify /vp9/encoder/vp9_encodeframe.c


     Modify /vp9/encoder/vp9_onyx_if.c


     Modify /vp9/encoder/vp9_onyx_int.h


     Modify /vp9/encoder/vp9_rdopt.c



    Added two new skip experiments.

    sf->unused_mode_skip_lvl. Tests modes as normal for all
    sizes at or below the given level. At larger sizes it skips
    all modes that were not chosen at any smaller size.
    Hence setting BLOCK_SIZE_SB64X64 is in effect off.
    Setting BLOCK_SIZE_AB4X4 will only consider modes that
    were chosen for one or more 4x4 blocks at larger sizes.

    sf->reference_masking.
    Do a test encode of the NONE partition at one size and create
    a reference frame mask based on the best rd choice. In the
    full search only allow this reference frame.
    Currently it is testing 64x64 and repeats this in the full search.
    This does not work well with Jim's Partition code just now and
    is disabled by default.

    Change-Id : I8f8c52d2ef4a0c08100150b0ea4155d1aaab93dd