Recherche avancée

Médias (91)

Autres articles (57)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

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

Sur d’autres sites (7680)

  • avformat/mov : set correct error code in mov_read_custom

    27 novembre 2017, par Pan Bian
    avformat/mov : set correct error code in mov_read_custom
    

    In function mov_read_custom(), it returns 0 on the path that av_malloc()
    returns a NULL pointer. 0 indicates success. An error code should be
    assigned to ret.

    Signed-off-by : Pan Bian <bianpan2016@163.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/mov.c
  • Call ffmpeg command from matlab (ubuntu 12.04)

    30 novembre 2014, par bigpig245

    I’m trying to call ffmpeg function to get duration of video from matlab. In command line, it returns ok :

    ntrang@ubuntu:~$ ffmpeg -i /home/ntrang/projects/dataset/hmdb51/01_test/a1.avi 2>&amp;1 | sed -n "s/.*Duration: \([^,]*\), .*/\1/p"

    it returns 00:00:18.03

    But when I call it from matlab by system command :

    >> system('ffmpeg -i /home/ntrang/projects/dataset/hmdb51/01_test/a1.avi 2>&amp;1 | sed -n "s/.*Duration: \([^,]*\), .*/\1/p"');

    it returns empty.

    This is my env setting in Matlab

    LD_LIBRARY_PATH='/usr/local/MATLAB/R2013a/sys/os/glnxa64:/usr/local/MATLAB/R2013a/bin/glnxa64:/usr/local/MATLAB/R2013a/extern/lib/glnxa64:/usr/local/MATLAB/R2013a/runtime/glnxa64:/usr/local/MATLAB/R2013a/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/R2013a/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/MATLAB/R2013a/sys/java/jre/glnxa64/jre/lib/amd64'

    PATH='/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/jvm/jdk1.7.0_51/bin'

    I also create symbolic link for libstdc but it can help nothing...

    I have looking around on Internet for solution but not so good so far... What should I do ?

    I’m using Matlab R2013a on Ubuntu 12.04.5 LTS 64bit...

    Thanks in advance.

  • How to encode with ffmpeg PCM to AAC with different sample formats ?

    1er août 2014, par user2212461

    I’m using the following code to encode PCM to AAC using libav. It works with sample_fmt = AV_SAMPLE_FMT_S16 ; and a newer release of liabv. In older versions, only sample_fmt = AV_SAMPLE_FMT_FLT is allowed, but then the decoder always returns 0 (nothing decoded). What in the code do I need to adapt in order to make it work with sample_fmt = AV_SAMPLE_FMT_S16 ? Is sample_fmt the input or output format ?

    avcodec_register_all();
    codec = avcodec_find_encoder(CODEC_ID_AAC);
    c = avcodec_alloc_context3(codec);

    c->bit_rate   = 64000;
    c->sample_rate= 44100;
    c->channels   = 1;
    c->frame_size = 86000;
    c->sample_fmt = AV_SAMPLE_FMT_FLT;//---> this works with AV_SAMPLE_FMT_S16

    buf = (uint8_t *)malloc(bufSize);
    audioData = (uint8_t *)malloc(size);

    //fill audioData

    int packetSize = avcodec_encode_audio(c, buf, bufSize,
            (short *)audioData);//------>returns 0 when using AV_SAMPLE_FMT_FLT