Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (101)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (13454)

  • Save generated image to ImageField model Django

    7 janvier 2023, par MrLonely
    


    Detected path traversal attempt in '/home/mrlonely/Desktop/lumen/lumen/media/thumbnail/6.jpeg'

    


    


    When i run this in the views.py :

    


    def generate_thumbnail(instance):
   post = Post.objects.get(pk=instance.pk)
   output = 'media/thumbnail/' + post.title + '.jpeg'
   filename_thumbnail = Path.joinpath(filename, output)  
   try:
      (
            ffmpeg
            .input(str(filename)+post.video.url, ss='00:00:20')
            .output(output, vframes=1)
            .overwrite_output()
            .run(capture_stdout=True, capture_stderr=True)
        )
      with open(filename_thumbnail, 'rb') as file_handler:
         django_file = File(file_handler)
         post.thumbnail.save(filename_thumbnail, 'thumbnail/')
   except ffmpeg.Error as e:
        print(e.stderr.decode(), file=sys.stderr)
        sys.exit(1)


    


    I am trying to connect the ffmpeg generated thumbnail to the model ImageField on the Post model (instance is post)

    


  • How to modify and save image using ffmpeg command in android

    5 mai 2022, par Nishant Mishra

    "-i -vf colorchannelmixer=$s -acodec copy -pix_fmt yuv420p "
This command is not able to create or override the file in Android device.

    


  • How do I use fffmpeg save the individual frames of a GIF into PNGs ?

    11 novembre 2020, par adnauseam

    I have a .gif file on my filesystem and I want all of its frames to be saved as .png files. How can I do this with ffmpeg ?