Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (40)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

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