Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (88)

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (10460)

  • Join us for the Piwik Community Meetup 2015 !

    25 juin 2015, par Piwik Core Team — Community, Meta

    We’re excited to announce that our third Piwik Community Meetup will be held in Berlin on Tuesday, the 4th of August, 2015. Don’t miss this great opportunity to connect with other users and meet the core team behind Piwik. It’s free, so REGISTER TODAY ! And maybe you would like to share your Piwik use case ? We’re also waiting for your presentation ideas.

    We will cover some of the upcoming features, discuss the future of Piwik, share tricks and hacks to help you get the most out of your Piwik platform, and socialise. If you use Piwik to improve your websites and apps, or are just generally curious about digital analytics and marketing – this event is not to be missed. As our core team is scattered all over the world, this will be a rare opportunity for you to meet and talk to us all at once – especially for those of you interested in the platform, integrating your app with Piwik, and building plugins.

    After the official part, we would like to enjoy drinks with all the participants in the nearby bars. We hope you will be able to join us !

    All Piwik community members are warmly invited to take part in the meetup !

    Piwik Community Meetup 2015

    When ?

    Tuesday, the 4th of August, from 5-9pm

    Where ?

    Kulturbrauerei
    Schönhauser Allee
    Prenzlauer Berg area
    Berlin, Germany
    exact directions tbc.

    Languages :

    English and German

    Book tickets :

    BOOK YOUR FREE INVITATION HERE

    Open call for YOUR presentation ideas

    We would also like to hear how you use Piwik – we’ll be delighted if you’d share your interesting use case during the Meetup. Please send your presentation ideas (speaking time : 5 to 7 minutes) to : meetup@piwik.pro ! Deadline : 20th of July 2015.

    Contact the organisers :

    meetup@piwik.pro

  • x264 configure linking and building problems

    16 janvier 2014, par Pie

    I am trying to build x264 from source on Ubuntu 32bit in order to convert a sequence of jpg or png images into mp4 video : x264 site, sample images

    The downloaded binaries is able to convert the sequence into an mkv video (or few other formats) when I run this command :

    ./x264dist ~/Dev/x264emp/img/FLYOVER%4d.JPG -o abc.mkv

    x264dist is the renamed name of the binary I download from the site.

    However, when I grab the source and compile with simple configure :

    $ ./configure --enable-shared --enable-static --enable-pic

    platform:      X86
    system:        LINUX
    cli:           yes
    libx264:       internal
    shared:        yes
    static:        yes
    asm:           yes
    interlaced:    yes
    avs:           avxsynth
    lavf:          no
    ffms:          no
    mp4:           no
    gpl:           yes
    thread:        posix
    opencl:        yes
    filters:       crop select_every
    debug:         no
    gprof:         no
    strip:         no
    PIC:           yes
    bit depth:     8
    chroma format: all

    then $ make. Then I use the binaries to run the exactly same command as above but there is this error :

    ./x264 ~/Dev/x264emp/img/FLYOVER%4d.JPG -o abc.mkv
    raw [error]: raw input requires a resolution.
    x264 [error]: could not open input file `/home/tmd/Dev/x264emp/img/FLYOVER%4d.JPG' via any method!

    It seems like it can’t read any input at all. But at least I am still able to run --help on that binaries.

    Then I realized that the downloaded binaries is 3.5Mb while my custom compilation results in 1.5Mb binaries.

    So I just want to know what are the build configurations used by the official build, and/or is there any dependency I am missing that leads to this problem.

    The reason I am trying to build myself because I want to port the x264 lib into Javascript using Emscripten. There has been a solution using FFmpeg but it seems like I don’t need the whole video processing library but only a simple H264 codec. So I need to solve the configure/compile/linking problem to port it rightly.

    Possibly similar How to configure X264 build before running make on OS X

  • FFmpeg realtime volume changing with C API

    9 janvier 2019, par Tank2006

    My environment is FFmpeg 4.1(Prebuild package from an official site) on Windows 10/Visual Studio 2017.

    I want to change an audio volume as realtime according to a volume button operation from media player apps.

    Think simply, it will update if AVFilter parameters changes, but it seems doesn’t work.

    const char src[] = "C:\\sample.mp3";

    AVFilterGraph *graph = NULL;
    AVFilterContext *ctx_src, *ctx_sink;
    AVFilter *ctx_vol;

    int main()
    {
       int res;
       AVPacket *packet = av_packet_alloc();
       AVFrame *frame = av_frame_alloc();
       AVFrame *fframe = av_frame_alloc();

       AVCodec *codec = avcodec_find_decoder(AV_CODEC_ID_MP3);
       AVCodecParser *parser = av_parser_init(codec->id);

       AVCodecContext *cc = avcodec_alloc_context3(codec);
       avcodec_open2(cc, codec, NULL);


       FILE *fp; uint8_t buffer[1024]; int filterinit = 0;
       fopen_s(&fp, src, "rb");
       while (feof(fp) == 0) {
           int read = fread(buffer, 1, 1024, fp);

           res = av_parser_parse2(parser, cc, &packet->data, &packet->size,
               buffer, read, AV_NOPTS_VALUE, AV_NOPTS_VALUE, 0);
           if (packet->size) {
               res = avcodec_send_packet(cc, packet);

               while (res >= 0) {
                   res = avcodec_receive_frame(cc, frame);

                   if (res == AVERROR(EAGAIN) || res == AVERROR_EOF) {
                       break;
                   } else if (res < 0) {
                       fprintf(stderr, "Error during decoding\n");
                       exit(1);
                   }

                   if (filterinit == 0) {
                       // Create a volume filter, links and graph from AVCodecContext's parameter
                       if(init_filters(cc)) filterinit = 1;
                   }

                   if (filterinit == 1) {
                       res = av_buffersrc_add_frame(ctx_src, frame);
                       if(av_buffersink_get_frame(ctx_sink, frame) >= 0) {

                           // Change the volume realtime
                           av_opt_set(ctx_vol, "volume", AV_STRINGIFY(1.2), AV_OPT_SEARCH_CHILDREN);


                           int datasize = av_get_bytes_per_sample(cc->sample_fmt);
                           for (int i = 0; i < frame->nb_samples; i++) {
                               for (int ch = 0; ch < cc->channels; ch++) {
                                   //fwrite(frame->data[ch] + data_size * i, 1, data_size, outfile);
                               }
                           }
                       }
                   }
               }
           }
       }

       fclose(fp);

       avcodec_free_context(&cc);
       av_parser_close(parser);
       av_frame_free(&frame);
       av_frame_free(&fframe);
       av_packet_free(&packet);

       avfilter_graph_free(&graph);

       return 0;
    }

    Can I change the filter value in realtime with FFmpeg’s C API or I need to create a new filter link each time when it requires to update ?