Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (105)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (12667)

  • Anomalie #4576 (Nouveau) : Warning en php 8

    15 octobre 2020, par Franck D

    Hello :)
    Windows 10 (1909)
    Firefox 81.0.2

    Easyphp
    Apache 2.4.43 x64
    PHP 8.0.0 beta 1 x64
    MySQL 8.0.20 x64
    PhpMyAdmin 5.0.2
    SPIP 3.3.0-dev GIT [master : 81954001]
    Prefix des tables : test19

    Je fais l’installation d’un spip 3.3 neuf, dans ecrire/ ?exec=configurer_avancees j’ai fais le choix de gd 2 avec la génération des miniatures.
    Dans ecrire/ ?exec=depots j’ai fais l’ajout du dépôt puis, je vais dans ecrire/ ?exec=charger_plugin, je choisi (tous les dépôts, tous les états, la version la plus récente) et je fais un clique sur "Rechercher"
    Cela semble fonctionner, mais j’ai quand même un warning qui apparait plusieurs fois :

    Warning : detecter_liens_blocs() : Argument #1 ($t) must be passed by reference, value given in C :\...\test19\plugins-dist\textwheel\engine\textwheel.php on line 445

  • Evolution #4637 (Fermé) : Jointure inutile pour critère "extension"

    21 janvier 2021, par jluc -

    La boucle suivante

    tout>


    produit un MYSQL simple :

    SELECT documents.fichier
    FROM spip_documents AS `documents`
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (documents.extension  IN (’png’,’jpg’,’gif’))
    ORDER BY FIELD(documents.extension,’png’,’jpg’,’gif’)
    

    Si à la boucle on ajoute une jointure avec un objet :

    toutobjet=articleid_objet=3>


    une jointure supplémentaire avec la table spip_types_documents apparaît :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (documents.extension  IN (’png’,’jpg’,’gif’))
        AND (L1.objet = ’article’)
        AND (L1.id_objet = 3)
    GROUP BY documents.id_document
    ORDER BY FIELD(documents.extension,’png’,’jpg’,’gif’)
    

    Il me semble que cette jointure n’est pas plus utile pour cette 2eme boucle que pour la première et ne devrait pas être ajoutée.

  • C++ ffmpeg get the current frame

    17 septembre 2022, par Turgut

    I'm trying to seek to a certain part of a video using ffmpeg. So far I've got this :

    


    int64_t pts = (int64_t)( ((float) timestamp_to_go / 1000)* (double)time_base.den / (double)time_base.num);
if(av_seek_frame(av_format_ctx, video_stream_index, pts, AVSEEK_FLAG_BACKWARD) < 0 )
    exit(0);


    


    This allows me to seek to the closest IFrame. For example if I try to seek to the 10th second of a video, it seeks to the 8.5th second of a video. This is fine since I can just decode till I reach the 10th seconds and go on with my day.

    


    However I couldn't figure out how to get the current frame index. After I seek to the frame using the code above, I need to figure out which frame/timestamp I'm currently at so I can decode until I reach the timestamp desired.

    


    For example : If I try to seek to 10 and get 8.5 like example above, for a video with 30 fps I need to get 255 so I can decode untill I reach the 300th frame, which corresponds to the 10th second.