Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (74)

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

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (6828)

  • avcodec/ituh263dec : Use 0xffff as error code in h263p_decode_umotion()

    28 février 2017, par Michael Niedermayer
    avcodec/ituh263dec : Use 0xffff as error code in h263p_decode_umotion()
    

    This matches ff_h263_decode_motion() both functions error codes are interpreted by the same common code

    Fixes : 690/clusterfuzz-testcase-4744944981901312

    Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/ituh263dec.c
  • Boost threads and FFmpeg : Such simple code gives me error C2064. What I do wrong way ?

    19 mars 2017, par Rella

    I have some class file.h where public : bool frameSendingFinished; is defined.
    So in class logic i create and encode video frame, now I want to send it to some server using ffmpeg. I want to send in separate thread so in one of my classes function (in file.cpp) I do :

     if (frameSendingFinished)
     {
         boost::thread UrlWriteFrame(url_context, (unsigned char *)pb_buffer, len);
     }

    ....// some other functions code etc.

        void VideoEncoder::UrlWriteFrame( URLContext *h, const unsigned char *buf, int size )
    {
       frameSendingFinished =false;
       url_write (h, (unsigned char *)buf, size);
       frameSendingFinished =true;
    }

    it works with out creation of new thread. Commenting thread line makes it compile...

    so error is error c2064 term does not evaluate to a function taking 2 arguments

    So - what shall I do with my code to make boost work with in my class ?

  • Im getting error "deprecated pixel format used, make sure you did set range correctly using ffmpeg".. can someone check my code below ?

    27 mars 2017, par Mavs Mavs

    This is my code using ffmpeg i want to have video thumbnail but im not familiar in ffmpeg can someone know the error i got.

    [swscaler @ 0x7ff8da028c00] deprecated pixel format used, make sure you did set range correctly
    Output #0, mjpeg, to 'image.jpg':
    Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf56.36.100
    Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 320x240 [SAR 4:3 DAR 16:9], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc (default)
    Metadata:
     creation_time   : 2016-11-06 09:40:22
     handler_name    : ISO Media file produced by Google Inc.
     encoder         : Lavc56.41.100 mjpeg
    Stream mapping:
    Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    frame=    1 fps=0.0 q=4.8 Lsize=      16kB time=00:00:01.00 bitrate= 129.5kbits/s    
    video:16kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

    Also This is my code :

    $video_url ='https://URL/upload/4b8acab123563649f19e07450d810df6.mp4';


    $ffmpeg = '/opt/local/bin/ffmpeg';
    $image = 'image.jpg';
    $interval = 5;
    $size = '320x240';
    shell_exec($tmp = "$ffmpeg -i $video_url -deinterlace -an -ss $interval -f mjpeg -t 1 -r 1 -y -s $size $image 2>&amp;1");