Recherche avancée

Médias (91)

Autres articles (62)

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

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

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

Sur d’autres sites (13123)

  • Inconsistant rendering in mlt XML and C interface and 'hold' producer and avformat consumer

    14 octobre 2016, par Leif Andersen

    I am trying to create a short video that is just a single image. (I know its a bit silly, but its a test for something bigger).

    The code I have for rendering it is :

    #include <framework></framework>mlt.h>
    #include
    #include

    int main() {
     if(mlt_factory_init(NULL)) {
       mlt_profile p = mlt_profile_init(NULL);
       mlt_consumer target = mlt_factory_consumer(p, "avformat",
       mlt_producer source = mlt_factory_producer(p, "hold", "/Users/leif/logo.png");
       mlt_producer_set_in_and_out(source, 0, 10);
       mlt_consumer_connect(target, mlt_producer_service(source));
       mlt_consumer_start(target);

       sleep(5);
       mlt_consumer_stop(target);

       mlt_consumer_close(target);
       mlt_producer_close(source);
       mlt_factory_close();
     } else {
       printf("No\n");
     }

     return 0;
    }

    Where logo.png is this file.

    When I run this code and play output.mp4, the picture comes out all garbelled. There is a green line in the middle and the logo is superimposed on itself a lot.

    On the other hand, if I change the consumer to be SDL, the image plays just fine.

    And finally, if I change the consumer to be XML, and then use the melt command line application to render it :

    melt -consumer avformat:xmlout.mp4 output.xml

    and play the video, it also plays fine.

    Is there something I am missing in the avformat consumer that I should be setting ? Or something else that I am missing here ?

    Edit : For reference, the outputted xml file : output.xml is :

    &lt;?xml version="1.0" encoding="utf-8"?>
    <mlt version="6.2.0" root="/Users/leif/src/video/private" title="Anonymous Submission" parent="producer0" in="0" out="10">
         <profile description="DV/DVD PAL" width="720" height="576" progressive="0" colorspace="601"></profile>
     <producer title="Anonymous Submission" in="0" out="10">
       <property>15000</property>
       <property>pause</property>
       <property>/Users/leif/logo.png</property>
       <property>1.06667</property>
       <property>0</property>
       <property>onefield</property>
       <property>hold</property>
       <property>1</property>
     </producer>
    </mlt>
  • Inconsistant rendering in libmelt XML and C interface and 'hold' producer and avformat consumer

    14 octobre 2016, par Leif Andersen

    I am trying to create a short video that is just a single image. (I know its a bit silly, but its a test for something bigger).

    The code I have for rendering it is :

    #include <framework></framework>mlt.h>
    #include
    #include

    int main() {
     if(mlt_factory_init(NULL)) {
       mlt_profile p = mlt_profile_init(NULL);
       mlt_consumer target = mlt_factory_consumer(p, "avformat",
       mlt_producer source = mlt_factory_producer(p, "hold", "/Users/leif/logo.png");
       mlt_producer_set_in_and_out(source, 0, 10);
       mlt_consumer_connect(target, mlt_producer_service(source));
       mlt_consumer_start(target);

       sleep(5);
       mlt_consumer_stop(target);

       mlt_consumer_close(target);
       mlt_producer_close(source);
       mlt_factory_close();
     } else {
       printf("No\n");
     }

     return 0;
    }

    Where logo.png is this file.

    When I run this code and play output.mp4, the picture comes out all garbelled. There is a green line in the middle and the logo is superimposed on itself a lot.

    On the other hand, if I change the consumer to be SDL, the image plays just fine.

    And finally, if I change the consumer to be XML, and then use the melt command line application to render it :

    melt -consumer avformat:xmlout.mp4 output.xml

    and play the video, it also plays fine.

    Is there something I am missing in the avformat consumer that I should be setting ? Or something else that I am missing here ?

    Edit : For reference, the outputted xml file : output.xml is :

    &lt;?xml version="1.0" encoding="utf-8"?>
    <mlt version="6.2.0" root="/Users/leif/src/video/private" title="Anonymous Submission" parent="producer0" in="0" out="10">
         <profile description="DV/DVD PAL" width="720" height="576" progressive="0" colorspace="601"></profile>
     <producer title="Anonymous Submission" in="0" out="10">
       <property>15000</property>
       <property>pause</property>
       <property>/Users/leif/logo.png</property>
       <property>1.06667</property>
       <property>0</property>
       <property>onefield</property>
       <property>hold</property>
       <property>1</property>
     </producer>
    </mlt>
  • avfilter/vf_unsharp : limit matrix size in either direction to 23

    17 septembre 2016, par Paul B Mahol
    avfilter/vf_unsharp : limit matrix size in either direction to 23
    

    Anything bigger is not supported anyway.

    Signed-off-by : Paul B Mahol <onemda@gmail.com>

    • [DH] doc/filters.texi
    • [DH] libavfilter/vf_unsharp.c