Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (83)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

Sur d’autres sites (8395)

  • shell_exec echo'ing too fast or too late

    15 septembre 2016, par root

    So I read throug this article : https://trac.ffmpeg.org/wiki/PHP
    and found this :

    <?php
    echo "Starting ffmpeg...\n\n";
    echo shell_exec("ffmpeg -i input.avi output.avi >/dev/null 2>/dev/null &");
    echo "Done.\n";

    the code works almost perfectly fine, but the only thing that bothers me is, that because the shell_exec is being executed in the background (so there is no loading sign on the tab the whole time) all the echo’s are being executed immediatly. This means, that the "Done" echo is being written before ffmpeg finished its task.

    But when I remove the ’&’ the site does also what it is intended to do but now it waits until the shell_exec is finished until it echo’s out the "Starting ffmpeg..."

    So I kinda have the problem of figuring out how to get to such an order :

    1) echo something
    2) execute commad and wait until its finished.
    3) echo again

    I am a total beginner to php but have experience in programming overall. Please have mercy.

    Thank you for your time !

  • Meaningful thumbnails for a Video using PHP-FFMpeg (Laravel 5)

    10 juillet 2015, par JungleGenius

    I’m working on a project using Laravel 5 and the PHP-FFmpeg Library.

    Previously someone else asked this question "Meaningful thumbnails for a Video using FFmpeg" that works from the command line.

    However, I want to implement the functional equivalent using the PHP-FFmpeg Library.

    I have scanned both Stack Overflow and the Unit Tests for PHP-FFmpeg to try and figure out the correct syntax, but it is just not jumping out at me.

    So I’m hoping someone with more experience with PHP-FFmpeg can give me some pointers or an example of how to achieve the same results as the command line calls referenced in this post : "Meaningful thumbnails for a Video using FFmpeg".

    Thanks in advance for everyone’s help.

    BTW, This is my first post on Stack Overflow so the site won’t let me post all the relevant links (limit 2) or create a tag for "PHP-FFmpeg".

  • NVENC_HEVC Encoding making my files larger

    9 novembre 2016, par Alan

    I got a new Nvidia GPU to speed up my video encoding. I am working with x264 files to x265 and wanted to go faster. Using the library libx265 I am getting about 85fps when working on a file that is 720p, but if I use the nvenc_hevc I get around 600-700fps

    My input file is 269M and when I use the nvenc_hevc it grows to 394M. Doing the exact same command with libx265 gives me a file size of only 68M. Obviously I would like to keep the low file size, but take advantage of the GPU to process it 15X faster.

    Anyone else have any experience with this video codec ?

    My command is : ffmpeg -i infile.avi -c:v nvenc_hevc -rc vbr_2pass -rc-lookahead 20 -gpu any out7.mp4

    vs

    ffmpeg -i infile.avi -c:v libx265 -rc vbr_2pass -rc-lookahead 20 -gpu any out7.mp4