Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (46)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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

Sur d’autres sites (7285)

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

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

  • Error Installing mobile-ffmpeg-full-gpl (4.4.LTS) via CocoaPods - 404 Not Found

    18 mars, par Muhammad Accucia

    I am trying to install mobile-ffmpeg-full-gpl (4.4.LTS) in my iOS project using CocoaPods, but I am encountering a 404 error when CocoaPods attempts to download the framework.

    


    Here is the error message :

    


    \[!\] Error installing mobile-ffmpeg-full-gpl
\[!\] /usr/bin/curl -f -L -o /var/folders/78/lk7swzb97ml4dt3zd9grny0c0000gn/T/d20250201-6580-dtli8h/file.zip https://github.com/tanersener/mobile-ffmpeg/releases/download/v4.4.LTS/mobile-ffmpeg-full-gpl-4.4.LTS-ios-framework.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.15.2 cocoapods-downloader/2.1'

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     9    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (56) The requested URL returned error: 404


    


    It seems like the requested file is no longer available at the specified URL.

    


    Checked the official GitHub releases page for mobile-ffmpeg-full-gpl (4.4.LTS), but I couldn't find the exact file.