Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (70)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (10191)

  • Announcing Piwik Community Meetup in Munich : Register now !

    5 mai 2014, par Piwik Core Team

    We’re excited to announce our second Piwik community Meetup ! This will be a unique opportunity to connect with other Piwik users, and meet the core team behind Piwik.

    Updated : presentation slides

    The Making Of The Analytics Platform Of The Future

    Piwik in Enterprise

    Piwik Analytics Platform

    Guest lecture : TV to Web Analytics

    Guest lecture : Oxid analytics with Piwik

    When and where is the meetup ? (update, see below)

    Location : Munich, Germany
    Date : Tuesday July 29th 2014
    Time : 5PM
    Language : German/English
    Cost : Free !

    Register now !

    Who can join ?

    All Piwik community members (users, translators, contributors) are warmly invited to join the meetup. Almost all of the core team will be present, we’re looking forward to meeting you !

    What to expect for the Piwik meetup ?

    The meetup will consist of three speakers giving quick 15-20 minute presentations followed by Q&A.

    • Discover some of the upcoming features
    • Learn tricks to make the most out of Piwik
    • Networking and socialising… and an after party in a local bar to continue the discussion !

    Who can join the meetup ?

    This meetup is open to all Piwik users and members of the community.

    • If you are using Piwik to improve your websites and apps, or generally curious about digital analytics and marketing
    • If you are interested in the platform, integrating your app with Piwik or building plugins, come meet with other developers and creators of Piwik

    Timing

    • Doors open at 17:00
    • Starts at 17:30
    • Ends at 20:00 – 20:30

    Schedule

    • 17:30 – Welcome speech (Peter Boehlke (german))
    • 17:40 – Piwik for governments & corporations – Piwik PRO case study (Maciej Zawadziński english)
    • 18:05 – Break (25 minutes) – Coffee, Tea, pastries and cold buffet (free)
    • 18:30 – Overview of the platform Piwik, custom data tracking, publishing on the new Marketplace (Thomas Steur (german))
    • 18:55 – Break (10 minutes)
    • 19:05Piwik users present interesting real world use cases (german)
      – TV-to-Web analytics (Jasper Sasse)
      – Piwik from a SEO’s perspective (Thomas Zeithaml)
      – Using the Piwik Framework to analyze Shop-Data (Joachim Barthel)
    • 19:30 – Break (10 minutes)
    • 19:40 – Next big features, milestones, future roadmap (Matthieu Aubry english)
    • 20:05 – Break (5 minutes)
    • 20:10 – Summary & end of the conference (german)
    • After party at a nearby bar or restaurant (open end)

    Call for Papers

    We would like to hear about how you use Piwik ! If you’d like to present your interesting use case on the conference (speaking time 5 to 7 minutes), please contact us at hello@piwik.org !

    Meetup location

    Munich Workstyle
    Landwehrstraße 61
    80336 München
    Location / Directions

    Parking space is limited : We recommend to use public transport !
    Stations nearby :

    - S-Bahn : Hauptbahnhof, Stachus (both 700m)

    - U-Bahn : Stachus (700m), Theresienwiese (400m)

    Beverage pricing

    - Mineral water : EUR 3,10 (0,75l)

    - Softdrinks / juices : EUR 2,10

    - Beer : EUR 2,80

    Munich Workstyle

    A special thank you to our sponsor Mayflower GmbH !

    Mayflower

    Register now

    Seats are limited, please register today to secure your seat :
    Register now !

  • How to make audio sound batter ? (C + FFMpeg audio generation example)

    31 janvier 2014, par Spender

    So I found this grate C FFMpeg official example which I simplified :

    #include
    #include
    #include

    #ifdef HAVE_AV_CONFIG_H
    #undef HAVE_AV_CONFIG_H
    #endif

    #include "libavcodec/avcodec.h"
    #include "libavutil/mathematics.h"

    #define INBUF_SIZE 4096
    #define AUDIO_INBUF_SIZE 20480
    #define AUDIO_REFILL_THRESH 4096

    /*
    * Audio encoding example
    */
    static void audio_encode_example(const char *filename)
    {
       AVCodec *codec;
       AVCodecContext *c= NULL;
       int frame_size, i, j, out_size, outbuf_size;
       FILE *f;
       short *samples;
       float t, tincr;
       uint8_t *outbuf;

       printf("Audio encoding\n");

       /* find the MP2 encoder */
       codec = avcodec_find_encoder(CODEC_ID_MP2);
       if (!codec) {
           fprintf(stderr, "codec not found\n");
           exit(1);
       }

       c= avcodec_alloc_context();

       /* put sample parameters */
       c->bit_rate = 64000;
       c->sample_rate = 44100;
       c->channels = 2;

       /* open it */
       if (avcodec_open(c, codec) < 0) {
           fprintf(stderr, "could not open codec\n");
           exit(1);
       }

       /* the codec gives us the frame size, in samples */
       frame_size = c->frame_size;
       samples = malloc(frame_size * 2 * c->channels);
       outbuf_size = 10000;
       outbuf = malloc(outbuf_size);

       f = fopen(filename, "wb");
       if (!f) {
           fprintf(stderr, "could not open %s\n", filename);
           exit(1);
       }

       /* encode a single tone sound */
       t = 0;
       tincr = 2 * M_PI * 440.0 / c->sample_rate;
       for(i=0;i<200;i++) {
           for(j=0;j* encode the samples */
           out_size = avcodec_encode_audio(c, outbuf, outbuf_size, samples);
           fwrite(outbuf, 1, out_size, f);
       }
       fclose(f);
       free(outbuf);
       free(samples);

       avcodec_close(c);
       av_free(c);
    }

    int main(int argc, char **argv)
    {

       /* must be called before using avcodec lib */
       avcodec_init();

       /* register all the codecs */
       avcodec_register_all();

       audio_encode_example("test.mp2");

       return 0;
    }

    How should it sound like ? May be I don't get something but it sounds awful =( how to make audio generation sound batter/ more interesting/ melodical in a wary shourt way (no special functions just how to change this code to make it sound batter) ?

  • Cannot Play Video Output of Libavcodec (ffmpeg) Encoding Example

    29 octobre 2019, par user3707763

    From FFMPEG’s GitHub, I use the encode_video.c to generate a 1 second video. Here is the example in question : https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/encode_video.c

    I compile with : gcc -Wall -o ffencode encode_video.c -lavcodec -lavutil -lz -lm

    Clean compile, zero warnings.

    I test the program by running : ./ffencode video.mp4 libx264

    Lots of stats printed out (expected based on source code) as well as ffmpeg logs, but ultimately no errors or warnings.

    However, then the generated output video.mp4, can only be played by ffplay, and VLC Player (as well as Google Chrome) fail to play the video.

    Playing it via vlc command line actually prints :

    [00007ffd3550fec0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    TagLib: MP4: Invalid atom size
    TagLib: MP4: Invalid atom size
    TagLib: MP4: Invalid atom size

    Looking at ffprobe output, the bitrate and duration fields are empty :

    Input #0, h264, from 'video.mp4':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p(progressive), 352x288, 25 fps, 25 tbr, 1200k tbn, 50 tbc

    I am using ffmpeg 4.1 with the following configuration :

    ffprobe version 4.1 Copyright (c) 2007-2018 the FFmpeg developers
     built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gpl --enable-libmp3lame --enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-opencl --enable-videotoolbox
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
     libpostproc    55.  3.100 / 55.  3.100

    Any ideas how to fix this ? It is pretty surprising to see an API’s official example to be lacking such basic information.