Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (23)

  • 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

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (6424)

  • x86/dcadec : add ff_lfe_fir0_float_{sse,sse2,avx,fma3}

    5 février 2016, par James Almer
    x86/dcadec : add ff_lfe_fir0_float_sse,sse2,avx,fma3
    

    Up to 4 times faster on x86_64, 8 times on x86_32 if compiling using x87 fp math.

    Reviewed-by : Ronald S. Bultje <rsbultje@gmail.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/dcadsp.c
    • [DH] libavcodec/dcadsp.h
    • [DH] libavcodec/x86/Makefile
    • [DH] libavcodec/x86/dcadsp.asm
    • [DH] libavcodec/x86/dcadsp_init.c
  • Windows Pipes STDIN and STDOUT Parent Child proc communication IPC FFMPEG

    15 octobre 2018, par Evren Bingøl

    I am writing a simple WINDOWS app which demonstrates piping,

    I pass byte size data down to child proc, increment the value and send the char size data back to parent and loop until it reaches MAX_CHAR
    Pretty much demonstration of "i++" with IPC.

    Parent Process

    while(i&lt;256){
       bSuccess = WriteFile(g_hChildStd_IN_Wr, chBuf, sizeof(char), &amp;dwWritten, NULL);
       bSuccess = ReadFile(g_hChildStd_OUT_Rd, chBuf, sizeof(char), &amp;dwRead, NULL); // IF THERE IS NO FFLUSH IT BLOCKS
    }

    And in Child

    while (i&lt;256){
           byte data=0;
           fread(&amp;data, sizeof(char), 1, stdout);
           data++;
           fwrite(&amp;data, sizeof(char), 1, stdout);
           //fflush(stdout); IF I DO NOT HAVE THIS  PARENT BLOCKS ON READ
    }

    First of all if I do not FFLUSH child proc stdout, the parent blocks on reading child’s stdout.

    How can one run this code without having to fflush child’s stdout.

    Closing the pipe after child’s first write is not an option as it is in a loop and needs to execute 256 times.

    more generically I want the child to write N bytes to parent, parent read that N bytes do something and write back to child another N bytes and child does something with that N bytes and write to parent N bytes. This happens M times.

    thing is I can not use fflush because my final goal is to use a child process that is not implemented by me.

    My final goal is to pipe data to FFMPEG encode the data and read back from the stdin and do this over and over again with out having to fork a new FFMPEG process for each image frame but rather fork one instance of FFMPEG and pipe data in and read data out from it. And since I did not implement ffmpeg and I can not change the source code.

    thanks

    Thanks

  • ffmpeg decode video to YUV and damaged pixels

    28 août 2021, par user3807476

    I use this example to decode a mpeg1 video

    &#xA;

    when decode starts

    &#xA;

    log (every 3 to 10 frames) :

    &#xA;

    [mpeg1video @ 0x5626caf74e40] ac-tex damaged at 39 15&#xA;[mpeg1video @ 0x5626caf74e40] Warning MVs not available&#xA;[mpeg1video @ 0x5626caf74e40] concealing 405 DC, 405 AC, 405 MV errors in P frame&#xA;

    &#xA;

    and the result is :

    &#xA;

    enter image description here

    &#xA;

    I tried make rgb from YUV using opencv but the rgb results is same

    &#xA;

        cv::Size actual_size(frame->width, frame->height);&#xA;    cv::Size half_size(frame->width/2, frame->height/2);&#xA;    cv::Mat y(actual_size, CV_8UC1, frame->data[0]);&#xA;    cv::Mat u(half_size, CV_8UC1, frame->data[1]);&#xA;    cv::Mat v(half_size, CV_8UC1, frame->data[2]);&#xA;&#xA;    cv::Mat u_resized, v_resized;&#xA;    cv::resize(u, u_resized, actual_size, 0, 0, cv::INTER_NEAREST); //repeat u values 4 times&#xA;    cv::resize(v, v_resized, actual_size, 0, 0, cv::INTER_NEAREST); //repeat v values 4 times&#xA;&#xA;    cv::Mat yuv; &#xA;    std::vector yuv_channels = { y, u_resized, v_resized };&#xA;    cv::merge(yuv_channels, yuv);&#xA;&#xA;    cv::Mat bgr;&#xA;    cv::cvtColor(yuv, bgr, cv::COLOR_YUV2BGR);&#xA;    &#xA;    cv::imshow("x",bgr);&#xA;    cv::waitKey(1000/25);&#xA;

    &#xA;

    enter image description here

    &#xA;