Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (55)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

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

Sur d’autres sites (4566)

  • Can't find preset files

    1er juin 2012, par Bilthon

    this is a ffmpeg issue. I've got this error saying it could not find the hq preset file, then I read in the documentation that it looks for the preset files at 'PREFIX/share/ffmpeg' and also at '$HOME/.ffmpeg'. The thing is I'm calling ffmpeg from whithin a php file that calls a python script that finally executes the command something like 'commands.getstatusoutput(command)' so I was not sure who the user was.

    The solution ? I just used -fpre and my call now looks like this :

    /usr/local/bin/ffmpeg -i ../files/tmpvideos/myStream.flv -y -acodec libfaac -ab 96k -b 800k -maxrate 800k -minrate 600k -bufsize 800k -s 720x640 -vcodec libx264 -g 300 -r 20 -fpre /home/admin/.ffmpeg/libx264-hq.ffpreset -threads 0 ../files/tmpvideos/4647-60.mp4

    I created that directory under /home/admin and am 100% sure that there the file is there now, but still ffmpeg says :

    File for preset '/home/admin/.ffmpeg/libx264-hq.ffpreset' not found

    So I'm not sure why is it not working since I'm specifying the complete path now. Any ideas ?

    One reason that I'm thinking of, is that it maybe was not compiled correctly, like with all the flags and stuff. What I mean is that while some outputs out there looked like this :

    FFmpeg version SVN-r22976, Copyright (c) 2000-2010 the FFmpeg developers
     built on Apr 30 2010 12:03:12 with gcc 4.2.1-sjlj (mingw32-2)
     configuration: --enable-shared --enable-static --enable-memalign-hack
    --enable
    -libmp3lame --enable-libx264 --enable-gpl
     libavutil     50.14. 0 / 50.14. 0
     libavcodec    52.66. 0 / 52.66. 0
     libavformat   52.61. 0 / 52.61. 0
     libavdevice   52. 2. 0 / 52. 2. 0
     libswscale     0.10. 0 /  0.10. 0

    mine looks more like this :

    Output: FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
     built on Nov 12 2010 16:32:38 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
     configuration:
     libavutil     50.15. 1 / 50.15. 1
     libavcodec    52.72. 2 / 52.72. 2
     libavformat   52.64. 2 / 52.64. 2
     libavdevice   52. 2. 0 / 52. 2. 0
     libswscale     0.11. 0 /  0.11. 0

    No configuration stuff. What do u think ? could be that this ffmpeg was not compiled correctly so it will never find the presets ? I didn't compile it, so can't be sure.

    Thanks and sorry for the verbosity of the question.

    Nelson

  • Python ffmpeg : [WinError 2] The system cannot find the file specified [duplicate]

    21 novembre 2024, par PeppersONLY
    #what i did to install

pip install ffmpeg-python


    


    #code

import ffmpeg

crop_dimensions = "640:480:0:0"

input_file = "input.mp4"
output_file = "output.mp4"

(
    ffmpeg
    .input(input_file)
    .filter("crop", *crop_dimensions.split(":"))
    .output(output_file, vcodec="libx264", crf=22)
    .overwrite_output()
    .run()
)


    


    Whenever I run this code, I get this error :

    


        hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified


    


    I tried reinstalling the library but that didn't seem to work.

    


  • configure : add forgotten avcodec/avformat deps for find/cover_rect

    2 mai 2015, par Michael Niedermayer
    configure : add forgotten avcodec/avformat deps for find/cover_rect
    

    Found-by : ubitux
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] configure