Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (87)

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

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (4891)

  • webm to mp4 conversion using ffmpeg ubuntu

    16 août 2018, par daemon

    I have video and I want to convert that to mp4
    It is working fine for the .flv and other formats. But when I’m trying to convert webm to mp4 the video is not getting converted

    ffmpeg -i /input.webm /output.mp4

    It is only converting to a 48kb file. The actual size of video is 850mb

    I am getting this

    Output #0, mp4, to '/output.mp4':
     Metadata:
       encoder         : Lavf56.40.101
       Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
       Metadata:
         encoder         : Lavc56.60.100 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (vp9 (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    Killed   21 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A  

    It is working locally but on live server it’s not generating the output as expected

  • How to make ffmpeg realy silen without to use another process

    29 octobre 2013, par Dougui

    I'm using ffmpeg in a ruby code like this :

    fork { exec "ffmpeg -f alsa -ac 2 -i pulse -y #{path} -r 22050" }

    It sends the pid of the created process. In the trace, I have this :

    Stream mapping:
     Stream #0.0 -> #0.0
    Press ctrl-c to stop encoding
    psize=     832kB time=4.52 bitrate=1507.4kbits/s    6.1kbits/s    its/s    
    size=     963kB time=5.14 bitrate=1536.1kbits/s    
    video:0kB audio:963kB global headers:0kB muxing overhead 0.004664%

    I want to make it quiet. I tried to add -loglevel panic and -v 0 but it does not work. I know, I can add this >/dev/null 2>&1 but it create another process and my method send only the pid of the first process.

    Is there a way to make ffmpeg realy silent without to create another process ?

  • Passing ffmpeg command containing % through Python subprocess

    20 février 2021, par GregH

    I'm trying to build a GUI with Tkinter where a set of images is converted, via press of a button, to an .mp4 video.

    


    When I run the following from the command line, all is well :

    


    > "ffmpeg -r 5 -i ptimage%03d -crf 20 animation.mp4"


    


    However, in Python, the following gives me an error that I think is related to passing the % in the argument :

    


    commandString = "ffmpeg -r 5 -i ptimage%03d -crf 20 animation.mp4"
args = shlex.split(commandString)
p = subprocess.run(args)


    


    The error I get is ptimage%03d: No such file or directory. I'm 99% sure I'm running the command from the right directory ; when I run the same command replacing ptimage%03d with ptimage000.jpg, a specific image the list, I get a (really short) video successfully.

    


    I've tried escaping the % with \%, but that doesn't help.

    


    Any ideas ?