Recherche avancée

Médias (1)

Mot : - Tags -/publicité

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 (9911)

  • How can I take a user input in python3 and use it for the file name of ffmpeg-python file output ?

    25 novembre 2022, par tylerdurden4285

    I am trying to do something like this :

    


    import ffmpeg

user_input =input("give your output file a name: ")

(
    ffmpeg
    .input('input.mp4')
    .vflip()
    .output('(user_input).mp4')
    .run()
)



    


    I am wondering how I can take the string input from the user and make it the filename. So if they input "tester" the resulting output file would be "tester.mp4".

    


    I am running it on an ubuntu 20.04 WSL. I'm new to here and doing my best to learn python3 and ffmpeg so please be gentle with me if I broke any community rules. I'll improve as I go.

    


    I don't know what to search for to find the answer to this problem.

    


  • ffmpeg : pad filter with transparent background for GIF input/output ?

    23 janvier 2023, par Yami Odymel

    I'm trying to pad the GIF source to a square thumbnail and the extended area should be transparent.

    


    (image source : https://store.steampowered.com/app/2113680/The_Dot/)

    


    enter image description here

    


    To achieve the goal, I used the following command :

    


    ffmpeg -i ./test/source.gif -filter_complex "[0]scale=255:144[s1];[s1]pad=256:256:0:-56:blue[s2];[s2]split[s3][s4];[s3]palettegen=reserve_transparent=on:transparency_color=blue[p];[s4][p]paletteuse[s5]" -map [s5] -loop 0  ./test/output.gif -y


    


      

    1. [0]scale=255:144[s1]
      First I scale down the image.

      


    2. 


    3. [s1]pad=256:256:0:-56:blue[s2]
      Then pad the image with an uncommon background color : blue

      


    4. 


    5. [s2]split[s3][s4]
      And I split to two streams. One for palettegen and another for paletteuse.

      


    6. 


    7. [s3]palettegen=reserve_transparent=on:transparency_color=blue[p]
      Generate the color palette that indicates blue as the transparency_color

      


    8. 


    9. [s4][p]paletteuse[s5]
      Use the new color palette for output. The padded image with blue background color should be treated as a transparent background.

      


    10. 


    


    But the output animated GIF still has a visible blue background color no matter if I put the paletteuse at first or in the end.

    


    enter image description here

    


    Related posts :

    


    


  • how do I decode an input video using FFmpeg and calculate the PSNR between input and output ?

    27 janvier 2023, par david

    I have an input video in mkv format and want to decode it and calculate the PSNR after decoding. for this aim, I used the following code :

    


    ffmpeg -i input.mkv -f rawvideo -pix_fmt yuv420p output.yuv


    


    but the output is in yuv format and I can not calculate PSNR between it and mkv input file. I am new to using ffmpeg and encoding and decoding. how do I decode the input file and calculate the PSNR value ? is it possible for the output to be in mkv format ? because I use the following code for PSNR calculation but both files have to have the same format.

    


    ffmpeg -i [Input1] -i [Input2] -lavfi psnr -f null -