Recherche avancée

Médias (91)

Autres articles (90)

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

  • 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

Sur d’autres sites (8792)

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

    


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

    


  • movenc : Don’t rely on the fragment index for vc1 info gathering

    20 janvier 2015, par Martin Storsjö
    movenc : Don’t rely on the fragment index for vc1 info gathering
    

    The previous use of the mov->fragments field, for determining whether
    written packets were part of the first fragment or not, didn’t
    work as intended when using the empty_moov flag.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/movenc.c
    • [DBH] libavformat/movenc.h