Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (78)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (9518)

  • Smooth scale animation in ffmpeg

    3 août 2018, par Makes

    How can I smooth the animations of scale ?

    ffmpeg -i bg.mp4 -loop 1 -i blank.png -filter_complex "[1:v]drawtext=fontfile=ariblk.ttf:text=EXAMPLE:x=(main_w-text_w)/2:y=(main_h-max_glyph_a)/2:fontcolor=0xFFFFFF:fontsize=200:alpha=1[txt];[txt]sendcmd=f=data.cmd,scale=w=0:h=-1[txtscale];[0:v][txtscale]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1" preview.mp4

    Video resolution 1280 * 720 -> scale w = ’12.8 * X’, X - scale value (data from the After Effects)

    data.cmd

    0   scale w '   12.8*   72  '; 0.040    scale w '   12.8*   72.3944 '; 0.080    scale w '   12.8*   72.7887 '; 0.120    scale w '   12.8*   73.1831 '; 0.160    scale w '   12.8*   73.5775 '; 0.200    scale w '   12.8*   73.9718 '; 0.240    scale w '   12.8*   74.3662 '; 0.280    scale w '   12.8*   74.7606 '; 0.320    scale w '   12.8*   75.1549 '; 0.360    scale w '   12.8*   75.5493 '; 0.400    scale w '   12.8*   75.9437 '; 0.440    scale w '   12.8*   76.338  '; 0.480    scale w '   12.8*   76.7324 '; 0.520    scale w '   12.8*   77.1268 '; 0.560    scale w '   12.8*   77.5211 '; 0.600    scale w '   12.8*   77.9155 '; 0.640    scale w '   12.8*   78.3099 '; 0.680    scale w '   12.8*   78.7042 '; 0.720    scale w '   12.8*   79.0986 '; 0.760    scale w '   12.8*   79.493  '; 0.800    scale w '   12.8*   79.8873 '; 0.840    scale w '   12.8*   80.2817 '; 0.880    scale w '   12.8*   80.6761 '; 0.920    scale w '   12.8*   81.0704 '; 0.960    scale w '   12.8*   81.4648 '; 1.000    scale w '   12.8*   81.8592 '; 1.040    scale w '   12.8*   82.2535 '; 1.080    scale w '   12.8*   82.6479 '; 1.120    scale w '   12.8*   83.0423 '; 1.160    scale w '   12.8*   83.4366 '; 1.200    scale w '   12.8*   83.831  '; 1.240    scale w '   12.8*   84.2254 '; 1.280    scale w '   12.8*   84.6197 '; 1.320    scale w '   12.8*   85.0141 '; 1.360    scale w '   12.8*   85.4085 '; 1.400    scale w '   12.8*   85.8028 '; 1.440    scale w '   12.8*   86.1972 '; 1.480    scale w '   12.8*   86.5915 '; 1.520    scale w '   12.8*   86.9859 '; 1.560    scale w '   12.8*   87.3803 '; 1.600    scale w '   12.8*   87.7746 '; 1.640    scale w '   12.8*   88.169  '; 1.680    scale w '   12.8*   88.5634 '; 1.720    scale w '   12.8*   88.9577 '; 1.760    scale w '   12.8*   89.3521 '; 1.800    scale w '   12.8*   89.7465 '; 1.840    scale w '   12.8*   90.1408 '; 1.880    scale w '   12.8*   90.5352 '; 1.920    scale w '   12.8*   90.9296 '; 1.960    scale w '   12.8*   91.3239 '; 2.000    scale w '   12.8*   91.7183 '; 2.040    scale w '   12.8*   92.1127 '; 2.080    scale w '   12.8*   92.507  '; 2.120    scale w '   12.8*   92.9014 '; 2.160    scale w '   12.8*   93.2958 '; 2.200    scale w '   12.8*   93.6901 '; 2.240    scale w '   12.8*   94.0845 '; 2.280    scale w '   12.8*   94.4789 '; 2.320    scale w '   12.8*   94.8732 '; 2.360    scale w '   12.8*   95.2676 '; 2.400    scale w '   12.8*   95.662  '; 2.440    scale w '   12.8*   96.0563 '; 2.480    scale w '   12.8*   96.4507 '; 2.520    scale w '   12.8*   96.8451 '; 2.560    scale w '   12.8*   97.2394 '; 2.600    scale w '   12.8*   97.6338 '; 2.640    scale w '   12.8*   98.0282 '; 2.680    scale w '   12.8*   98.4225 '; 2.720    scale w '   12.8*   98.8169 '; 2.760    scale w '   12.8*   99.2113 '; 2.800    scale w '   12.8*   99.6056 '; 2.840    scale w '   12.8*   100 ';

    enter image description here

  • Laravel Queue Timeout

    25 juin 2021, par Teldar

    I'm running Laravel queue with that command :

    



    /usr/bin/php7.2 artisan queue:listen --timeout=0


    



    But the process keeps stopping at 300 seconds with that error :

    



    Symfony\\Component\\Process\\Exception\\ProcessTimedOutException(code: 0): The process [...] exceeded the timeout of 300 seconds


    



    I've also tried to set timeout in job's class :

    



    public $timeout = 5000;


    



    Anyone know what to do ? This process is for video encoding so a bit long running.

    



    Thx !

    


  • avformat/mpegenc : Ensure packet queue stays valid

    15 février 2021, par Andreas Rheinhardt
    avformat/mpegenc : Ensure packet queue stays valid
    

    The MPEG-PS muxer uses a custom queue of custom packets. To keep track
    of it, it has a pointer (named predecode_packet) to the head of the
    queue and a pointer to where the next packet is to be added (it points
    to the next-pointer of the last element of the queue) ; furthermore,
    there is also a pointer that points into the queue (called premux_packet).

    The exact behaviour was as follows : If premux_packet was NULL when a
    packet is received, it is taken to mean that the old queue is empty and
    a new queue is started. premux_packet will point to the head of said
    queue and the next_packet-pointer points to its next pointer. If
    predecode_packet is NULL, it will also made to point to the newly
    allocated element.

    But if premux_packet is NULL and predecode_packet is not, then there
    will be two queues with head elements premux_packet and
    predecode_packet. Yet only elements reachable from predecode_packet are
    ever freed, so the premux_packet queue leaks.
    Worse yet, when the predecode_packet queue will be eventually exhausted,
    predecode_packet will be made to point into the other queue and when
    predecode_packet will be freed, the next pointer of the preceding
    element of the queue will still point to the element just freed. This
    element might very well be still reachable from premux_packet which
    leads to use-after-frees lateron. This happened in the tickets mentioned
    below.

    Fix this by never creating two queues in the first place by checking for
    predecode_packet to know whether the queue is empty. If premux_packet is
    NULL, then it is set to the newly allocated element of the queue.

    Fixes tickets #6887, #8188 and #8266.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/mpegenc.c