Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (43)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (5358)

  • Anything Wrong with (char[32]){0} in Visual Studio 2012 ?

    5 juillet 2014, par loppp

    ===== background ====

    This problem originates from using fFmpeg lib sample muxing.c in visual studio 2012, I found the the error :

    error C2143: Syntax error missing ) before {

    at

    printf("pts:%s pts_time:%s dts:%s dts_time:%s duration:%s duration_time:%s stream_index:%d\n",
       av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, time_base),
       av_ts2str(pkt->dts), av_ts2timestr(pkt->dts, time_base),
       av_ts2str(pkt->duration), av_ts2timestr(pkt->duration, time_base),
       pkt->stream_index);    

    and I found

    #define AV_TS_MAX_STRING_SIZE 32
    #define av_ts2str(ts) av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts)

    for eliminate irrelevant statement, I just replace the big printf with

    printf("pts:%s \n",
       (char[32]){0}
       );

    but the error still the same, looks the error is from

    (char[32]){0}

    ===== question ====

    As this sample source file muxing.c is official one (I think), might not possibly wrong, so is the statement wrong or not compatible with VS compiler ? or I am missing something here ?

  • FFmpeg scaling error

    9 juillet 2015, par oleg.semen

    I’m trying to convert video on Android using FFmpeg Android Java library
    My method takes input and output file pathes and dimentions of output file (for instance 640x480). Video should fit crop these bounds. As video might be in landscape or portrait orientation I’m next params :

    String.format("-i %s \"scale='if(gt(a,1),-1,%d)':'if(gt(1,a),%d,-1)'\" %s", in, h, w, out);

    see this article

    according to official doc a is aspect ration (w/h) of input file.

    So a > 1 gt(a,1) means w > h so video is landscape, and 1 > a gt(1,a) means h > w so video is portrait.

    But I’m getting next error :

    Unable to find a suitable output format for "scale='if(gt(a,1),-1,480)':'if(gt(1,a),640,-1'"
    '"scale='if(gt(a,1),-1,480)':'if(gt(1,a),640,-1'" : Invalid argument

    What am I doing wrong ?
    Thanks.

  • OpenCV error : [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls

    2 mai 2015, par Relax Wu

    I installed OpenCV in Ubuntu according to the official guide, then I’m trying to decode a file, then error occurs :

    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!
    [mpeg4 @ 0x7ffe33cb3e60] too many thread_release_buffer calls!

    the video is about 150 frames, the error log may exceed 1000, can someone help me here ? thanks.