Recherche avancée

Médias (91)

Autres articles (40)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (7970)

  • using FFmpeg library in C++/Qt

    11 avril 2012, par kvphxga

    I am trying to use ffmpeg on windows in C++/Qt. This is my main function :

    #include <iostream>
    #include
    #include
    using namespace std;

    //--------------- FFMPEG Headers and Libraries ---------------

    #define INT64_C(val) val##LL
    #define UINT64_C(val) val##ULL
    #include <qtcore>


    #include <sdl></sdl>SDL.h>
    #ifdef __MINGW32__
    #undef main
    #endif
    extern "C"
    {
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavformat></libavformat>avformat.h>
    #include <libswscale></libswscale>swscale.h>
    }

    int main(int c, char *args[])
    {
       av_register_all();
       AVFormatContext *ctx;

       if(avformat_open_input(&amp;ctx,"salam.avi",NULL,NULL)!=0)
           return -1;
       return 0;
    }
    </qtcore></iostream>

    It gets compiled & linked fine. But I get this error when I try to run it :
    The program has unexpectedly finished
    This happens on *avformat_open_input* function. What's the problem ? Is it about my code, or it is a problem with my libraries ?
    Thanks in advance

  • C++/Qt FFmpeg library error : program has unexpectedly finished

    11 avril 2012, par kvphxga

    I am trying to use ffmpeg library on windows in C++/Qt. This is my main function :

    #include <iostream>
    #include
    #include
    using namespace std;

    #define INT64_C(val) val##LL
    #define UINT64_C(val) val##ULL
    #include <qtcore>


    #include <sdl></sdl>SDL.h>
    #ifdef __MINGW32__
    #undef main
    #endif


    //--------------- FFMPEG Headers and Libraries ---------------
    extern "C"
    {
    #include <libavcodec></libavcodec>avcodec.h>
    #include <libavformat></libavformat>avformat.h>
    #include <libswscale></libswscale>swscale.h>
    }

    int main(int c, char *args[])
    {
       av_register_all();
       AVFormatContext *ctx;

       if(avformat_open_input(&amp;ctx,"salam.avi",NULL,NULL)!=0)
           return -1;
       return 0;
    }
    </qtcore></iostream>

    It gets compiled & linked fine. But I get this error when I try to run it :
    The program has unexpectedly finished
    This happens on *avformat_open_input* function. What's the problem ? Is it about my code, or it is a problem with my libraries ?
    Thanks in advance

  • Encoding h.264 with libavcodec/x264

    21 décembre 2010, par Leviathan

    I am attempting to encode video using libavcodec/libavformat. I'm trying to change the standard output-example.c from ffmpeg source. The AVI file is created on the disk, but the only sound is encoded. I tried adding a lot of options for x264 from here. All the other codecs works fine, mpeg2, mpeg4, mjpeg, xvid.
    In addition to specifying the parameters x264, I also set the codec to AVOutputFormat structure. That's all I've done.

     AVOutputFormat  *pOutFormat;  // in header file
     av_register_all();
     AVCodec *codec = avcodec_find_encoder_by_name("libx264");
     pOutFormat = guess_format("avi", NULL, NULL);
     pOutFormat->video_codec = codec->id;

    The debug output of my application :

    Output #0, mp4, to &#39;D:\1.avi&#39;:
       Stream #0.0: Video: libx264, yuv420p, 320x240, q=10-51, 500 kb/s, 90k tbn, 25 tbc
       Stream #0.1: Audio: aac, 44100 Hz, 1 channels, s16, 128 kb/s
    [libx264 @ 0x694010]using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x694010]bitrate tolerance too small, using .01
    [libx264 @ 0x694010]profile Main, level 2.0
    [libx264 @ 0x694010]frame I:150   Avg QP:14.76  size:  2534
    [libx264 @ 0x694010]mb I  I16..4: 75.9%  0.0% 24.1%
    [libx264 @ 0x694010]final ratefactor: 17.57
    [libx264 @ 0x694010]coded y,uvDC,uvAC intra: 42.7% 92.4% 47.4%
    [libx264 @ 0x694010]i16 v,h,dc,p: 11% 14%  2% 73%
    [libx264 @ 0x694010]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 18% 29%  5%  8% 10%  3%  3%  2%
    [libx264 @ 0x694010]kb/s:506.79