Recherche avancée

Médias (91)

Autres articles (13)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (3604)

  • Shell script not working on a different server

    11 novembre 2013, par Alex Blundell

    I've just migrated a shell script to another server with similar specs (same CentOS version) but the following command seems to fail :

    find /home/removed/captures -name '*.avi' -exec ffmpeg -y -i {} -ab 1280 -b 1024000 {}.mp4 \;

    The following message gets returned :

    find: `ffmpeg': No such file or directory

    I have installed ffmpeg, and made sure it runs from the command line. I've also tried passing in the full path to ffmpeg instead of just 'ffmpeg'. Both ffmpeg versions are the same on each server. I was thinking it was something to do with syntax of the find program changing between versions, but they're both the same version too. This runs via the root crontab.

    The script does run by itself though if I call it directly. Could this be an issue with permissions ? It runs on a cPanel server.

    Thanks :)

  • possible C code implementation ideas for a given shell script(related to ffmpeg)

    21 août 2011, par Ted

    The shell script i'm trying to implement goes like this,

       #!/bin/bash
       while [ 1 ]
       do
          nc -l 1234 | ffmpeg -i pipe:0 -vcodec mpeg4 -s qcif -f m4v -y pipe:1 | nc localhost 1235
       done

    what it does is to simply take in a stream of video input through network and do live video transcoding(with ffmpeg of course !) and streaming back the video through the net. my question is how should i go by to implement this functionality in a clean C code. i know i can use popen() to pipe such a command from a c code but i would like to do better. may be with sockets and staff... any pointers are appreciated.

    AskLearnDo.

  • lavc : do not implicitly share the frame pool between threads

    17 janvier 2017, par Anton Khirnov
    lavc : do not implicitly share the frame pool between threads
    

    Currently the frame pool used by the default get_buffer2()
    implementation is a single struct, allocated when opening the decoder.
    A pointer to it is simply copied to each frame thread and we assume that
    no thread attempts to modify it at an unexpected time. This is rather
    fragile and potentially dangerous.

    With this commit, the frame pool is made refcounted, with the reference
    being propagated across threads along with other context variables. The
    frame pool is now also immutable - when the stream parameters change we
    drop the old reference and create a new one.

    • [DH] libavcodec/decode.c
    • [DH] libavcodec/internal.h
    • [DH] libavcodec/pthread_frame.c
    • [DH] libavcodec/utils.c