Recherche avancée

Médias (0)

Mot : - Tags -/optimisation

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

Autres articles (111)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (21026)

  • configure : Use indirection for the -o assembler flag also for x86asm

    14 mars 2018, par Diego Biurrun
    configure : Use indirection for the -o assembler flag also for x86asm
    

    Similar indirections are used for the -o compiler/assembler flag to
    account for differences in compiler/assembler syntax. For x86asm half
    the infrastructure for doing the same currently exists unused.
    Finish and use that infrastructure for consistency.

    • [DBH] configure
  • FFmpeg encoding to H265

    17 février 2016, par Some1Else

    I read that the new H265 is supposed to have around twice the compression efficiency of H264 and supposed files around half the size http://x265.org/hevc-h265/ All of my results trying to encode to H265 give me larger files than H264 from the same source.

    For H264 I am passing these switches to ffmpeg command line

    -c:v libx264 -preset:v veryslow -profile:v high -crf 15 -pix_fmt yuvj420p -an -y -r 30

    For H265 I am using these switches

    -c:v libx265 -preset:v veryslow -crf 15 -an -y -r 30

    In all tests using a variety of different source frames the H265 always results in a larger file size (and is also much much slower to encode).

    Any tips for H265 ? I want the H265 to look like the same quality as H264 but not result in larger files.

    Thanks.

  • I have created a commandlist but when I run ffmpeg() it says not defined. Does the ffmpeg() needs the commandlist nested or am I missing something ?

    5 septembre 2022, par jiraiya_sensei

    #/ I have ommited the first half of the code/

    


    def buildFFmpeg():
        commandlist = [
            "ffmpeg",
            "-i",
            inputdic[1],
            "-c:v",
            inputdic[4],
            "-preset",
            inputdic[3],
            "-crf",
            inputdic[2],
            "-q:v",
            inputdic[6],
            "-c:a",
            inputdic[5],
            "-b:a",
            inputdic[7],
            "output.mkv"        
            ]
    
    return commandlist
    
    def runFFmpeg(commandlist):

            print(commandlist)               

            if subprocess.run(commandlist).returncode == 0:

                    print ("FFmpeg Script Ran Successfully")

            else:
                    print ("There was an error running your FFmpeg script")
                    
                
    print('Press 1 to start to encoding or 2 to stop this process')

    start = input('Press to start: ')

    x = int(start)

    if x == 1:
        runFFmpeg(buildFFmpeg())

    else:
         exit()


    


    so with the changes of runFFmpeg()runFFmpeg(buildFFmpeg()) in line 58 and def runFFmpeg() :def runFFmpeg(commandlist) : in line45 the code runs successfully. But I would like to understand as to how defining the def runFFmpeg(commandlist) : and executing runFFmpeg(buildFFmpeg()) makes the code work.