Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (111)

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

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (9266)

  • I use ffmpeg to format videos according to tik-toke standards [closed]

    8 mai 2024, par John Red

    I use ffmpeg to format videos according to tik-toke standards, but I don't know why videos are not cropped and lose quality.

    


    const transcode = async () => {
    const ffmpeg = ffmpegRef.current;
    await ffmpeg.writeFile('input.mp4', await fetchFile(file));
    await ffmpeg.exec([
        '-i', 'input.mp4',
        '-vf', 'scale=1080:1920,crop=ih*(9/16):ih',
        'output.mp4'
    ]);
    const data = await ffmpeg.readFile('output.mp4');
    videoRef.current.src =
        URL.createObjectURL(new Blob([data.buffer], { type: 'video/mp4' }));
}


    


    Changed the resolution and cropped it. It didn't help in any way, only lost quality. Not what I wanted at all.

    


  • Trying to combine videos losslessly with ffmpeg

    16 novembre 2016, par Jarppi

    i am trying to create bath that would automatically join multiple videos that are in folder (liimattavat) and that would make them to .ts files in (roska) and after that it would just combine them all without quality loss to (valmis.mp4)
    but i dont seem to get it working as i get something like path doesn’t exist

    @echo off

    for %%a in ("liimattavat\*.mp4") do ffmpeg -i %%a -c copy -bsf:v h264_mp4toannexb -f mpegts "roska\%%~na.ts"
    for %%a in ("roska\*.ts") do "concat:"roska\*.ts" -c copy -bsf:a aac_adtstoasc valmis.mp4
    pause

    sorry if i was confusing, please ask me if you need more specific information.

  • I am getting a SAR error when combining videos. What did I do wrong ?

    24 mai 2019, par Dresden21

    I am using this command for combining a bunch of videos in the folder :

       FOR %i in (*.mp4) DO ffmpeg -i intro.mkv -i %i -filter_complex "[0:0]
       [0:1]
       [1:0][1:1]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" -crf 17 -preset
       veryfast -b:a 192k %i_intronew.mp4

    When I run this command I get this error :

       Input link in1:v0 parameters (size 1280x720, SAR 1281:1280) do not match
       the corresponding output link in0:v0 parameters (1280x720, SAR 1:1)

    What am I doing wrong ?