Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (26)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

  • 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 ;

Sur d’autres sites (6322)

  • Text backdrop by ass formatting

    14 septembre 2024, par Armen Sanoyan

    I want to add box behind a word using ass subtitles formatting. The box should have border radius. the ass file later will be used by ffmpeg.

    


    I have tried the BorderStyle=3 form stack ansers 1, 2 both of them do not provide a way to get rounded boxes. Also the BorderStyle=4 didn't work for me. In comments of last stack answer I found a possible reason that my libraries can be old, but anyway it doesn't seem that BorderStyle=4 will solve my problem of border radius. There is another way to achieve rounded box link to answer. I didn't figure it out how to install all the libs he explained there. Also the later answer seems to me over complicated. Is there an other way to make the borders of box rounded without suffering and pain ? I also tried drawing the box with Drawing commands like

    


    {\p1}m 0 0 s 100 0 100 100 0 100 c{\p0}


    


    But it still doesn't seem to be the best way to achieve rounded borders.

    


  • PHP add whitespaces in string with an URL

    25 juin 2021, par Alberto Valerio

    Problem

    


    I have a temporary url to access an object from AWS-S3

    


    $source = "http://mybucket...";


    


    If I do a var_dump($source) it shows me the correct URL

    


    string(407) "https://mybucket.s3.amazonaws.com/storage/..."


    


    So I try to use this url in a ffmpeg command in this way (double quotes are required in ffmpeg)

    


    $cmd = 'ffmpeg -i "' . $source . '" ...
shell_exec($cmd);


    


    This do not work, and when I do a var_dump($cmd) the url shows like this (whitespace beetween https: and the // )

    


     "https: //mybucket.s3.amazonaws.com/storage/..."


    


    It works fine when I specify the url with the S3 protocol

    


    "s3://mybucket...."


    


    So maybe the problem is with the https protocol

    


    What I tried(It didn't work)

    


      

    • I tried $url = str_replace(' ', '', $source);
    • 


    • I tried $url = str_replace('%20', '', $source);
    • 


    • I tried $url = str_replace('https: //', 'https://', $source);
    • 


    • I tried $url = preg_replace("/\s+/", "", $source);
    • 


    • I tried addslashes($source) instead '"' . $source . '"'
    • 


    • I tried $url = escapeshellarg($source);
    • 


    


    What I'm using

    


      

    • Php 7
    • 


    • Laravel 4
    • 


    • AWS-S3
    • 


    


  • minimal ffmpeg build without filters

    1er août 2020, par Andrew

    I'm trying to build a minimal version of ffmpeg that is as small as possible, with only support to decode AAC audio in an MP4 container, and write it out to PCM or WAV.

    


    For some reason though, I can't find a way to build ffmpeg without it including all of these filters :

    


    Enabled filters:
aformat                 atrim                   hflip                   transpose               vflip
anull                   format                  null                    trim


    


    Is there any way to disable these ?

    


    I'm using this configure command :

    


    ./configure \
        --disable-fast-unaligned \
        --disable-pthreads \
        --disable-w32threads \
        --disable-os2threads \
        --disable-debug \
        --disable-stripping \
        --disable-safe-bitstream-reader \
        --disable-all \
        --enable-ffmpeg \
        --enable-avcodec \
        --enable-avformat \
        --enable-avfilter \
        --disable-filters \
        --enable-protocol=pipe \
        --disable-swresample \
        --disable-swscale \
        --disable-network \
        --disable-d3d11va \
        --disable-dxva2 \
        --disable-vaapi \
        --disable-vdpau \
        --enable-protocol=file \
        --disable-bzlib \
        --disable-iconv \
        --disable-libxcb \
        --disable-lzma \
        --disable-sdl2 \
        --disable-securetransport \
        --disable-xlib \
        --disable-zlib \
        --enable-encoder=pcm_s16le \
        --enable-muxer=pcm_s16le,wav \
        --enable-demuxer=mov \
        --enable-libfdk-aac \
        --enable-nonfree \
        --enable-decoder=libfdk_aac