Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

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

Autres articles (100)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

Sur d’autres sites (15116)

  • PHP/ffmpeg (Windows 7) : - Permission Denied. Tried everything, but still doesn't work

    27 octobre 2014, par user365465

    I have a command-line PHP script that, when given the folder name as an argument when executing the script, will find all images in said folder and resize them using FFmpeg. Problem is, I always get a Permission Denied error in FFmpeg when it attempts to get at the files within the folder. This is while being on Windows 7.

    The big problem is that I’ve tried every solution that keeps popping up on the interwebs when I search for how to fix it. I’ve changed the settings in Avast !, did the attrib command (both as normal and "Run as Administrator") to unmark as read-only, took ownership of the folder both via command line and using that GUI takeown context menu thing everyone keeps throwing around (obviously before my efforts to mark everything as not-read-only), messed with permissions, everything. I keep searching and searching for a solution, but all of the sites keep throwing out the same things over and over again - things that I’ve already tried multiple times. I’m at the end of my rope here. All I want to do is resize images quickly and automatically so I can put them up on my website, yet this has been a massive headache...

    Please help me ! :(

    Update (Additional Points) :

    • The error is through FFmpeg, not PHP. FFmpeg spits out the permission denied error, the script just continues doing what it does normally (or, at least, it would if it weren’t for my die statement that kicks in in the event of FFmpeg failing).

    • FFmpeg will execute just fine if it’s run normally through the command line instead of through the script. However, this does not help the problem of me having to resize hundreds of photos by hand !

    • I’m just running this script in the normal terminal using the CLI engine. Weird use for PHP, I know, but since I already knew how to work with FFmpeg in PHP (but in Linux !) so I figured I might as well use the code as a normal, stand-alone program...

    • FFmpeg spits out the same error regardless of which PHP function is used to execute it. It happens for shell_exec, exec, passthru, and system.

  • ffmpeg encoding freezes when executed from a script (php/c#/etc.) but not from the command line

    12 août 2014, par Botch

    I have tried encoding with ffmpeg via a PHP script, but the process freezes at a certain point. When the same command is run via the command line in Windows it encodes just fine.

    I have tried different videos, which aren’t corrupted and don’t use any exotic codecs or anything.

    What could be the reason the process freezes when run from a script (i.e. exec() in PHP) but not when run directly from the command line ? Any tips ?

  • FFmpeg Lame output buffer too small, fix in Windows ?

    4 juillet 2012, par Tyler

    All the search results for this seem to return Linux command line solutions.

    The bug means that although a video is successfully converted, an error message

    "lame : output buffer too small (buffer index : 10398, free bytes : 394)
    Audio encoding failed (avcodec_encode_audo2)"

    is returned to the software that I am using with it. Apparently, downgrading the version of lame to 3.97 will solve this problem. But again, I have only found fixes for this in Linux.

    Edit : I get the above error message when I try to convert a given Mpeg file to flv using the following (or similar) command :

    "-i " + sourceVideoPath + " -sameq -ar 22050 " + outputVideoPath;

    The error message is same whether run from my program or direct from the command line.

    I have also tried to download the latest static version of FFmpeg from here but the error message remains.

    Could anyone direct me on how to downgrade the lame version in windows, or point me to a download without the bug, or tell me of any other way to solve this ?