Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (85)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

  • Symfony PHP-FFMPEG (pulse00/ffmpeg-bundle) questions

    8 juillet 2014, par harisK92

    I installed pulse00/ffmpeg-bundle

    and set it up like in documentation

    dubture_f_fmpeg:
       ffmpeg_binary:  C:\FFMPEG\bin\ffmpeg
       ffprobe_binary: C:\FFMPEG\bin\ffprobe

    But I got errors

    Unable to load FFProbe

    ..\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Driver\FFProbeDriver.php at line 50

       try {
      }       return static::load($binaries, $logger, $configuration);
      catch (BinaryDriverExecutableNotFound $e) {
           throw new ExecutableNotFoundException('Unable to load FFProbe', $e->getCode(), $e);
       }
    }

    When I add .exe

    dubture_f_fmpeg:
       ffmpeg_binary:  C:\FFMPEG\bin\ffmpeg.exe
       ffprobe_binary: C:\FFMPEG\bin\ffprobe.exe

      Unable to probe C:\Users\XXX\XXX\ProjectFolder\src\vendor\Bundle\Entity/../../../../web/uploads/videos/e4cbef010c42d819fd6c326011fb2434c4b43c68.mp4

    Code in my controller

    private  function getThumbnail(Video $videoObject)
       {
           $ffmpeg=$this->getFFMPEG();
           $video=$ffmpeg->open($videoObject->getAbsolutePath());
           $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
                 ->save($videoObject->getImagesUploadDir().'/'."image.jpg");

       }
  • Linux : Create a file for writing with controlled flushing to disk in large chunks [closed]

    12 août 2023, par Pete

    On Linux I have a process (ffmpeg) that writes very slowly (even slower than 1kb / s sometimes) to disk. Ffmpeg can buffer this to 256kb chunks that get written infrequently but ffmpeg hangs occasionally and if I try to detect these hangs by checking that the file is being updated I need to wait a long time between updates, up to 10 or 15 mins, otherwise I can sometimes mistakenly kill the ffmpeg process when it appears to have stopped writing when it fact its still filling its internal buffer.

    


    Theres no way to detect this it seems unless I use strace (that I can find anyway). So I am wondering about turning off buffering in ffmpeg and writing unbuffered to disk from ffmpeg.

    


    This will result in the disk constantly making tiny writes and wasting power (and probably, if I use a SSD, mess with wear levelling too).

    


    So I would like to make ffmpeg write to a 'virtual file' (in memory - either kernel memory or a process) which I can specify the flushing characteristics of. The idea being to perhaps specify flush every 2 minutes, then I can keep an eye on the file size and make sure its still being written.

    


    I don't think I've missed any other ways to do this job - even if I could watch the socket stream incoming to ffpmeg the process itself could still stop writing and lose data. Doing the buffering outside of ffmpeg seems like the best way.

    


    Is there a built in way to do this in Linux or does it mean a custom process ? I guess I know how to do this with a small C program and pipe the data in but I wonder if theres a neater way.

    


  • lavu/tx : improve 3-point fixed precision

    14 février 2020, par Lynne
    lavu/tx : improve 3-point fixed precision
    

    There's just no reason not to when its so easy (albeit messy) and its also
    reducing the precision of all non-power-of-two transforms that use it.

    • [DH] libavutil/tx_priv.h
    • [DH] libavutil/tx_template.c