Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (52)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (9544)

  • lavf/dnn : dump OpenVINO model input/output names to OVMdel struct.

    21 juillet 2022, par Ting Fu
    lavf/dnn : dump OpenVINO model input/output names to OVMdel struct.
    

    Dump all input/output names to OVModel struct. In case other funcs use
    them for reporting errors or locating issues.

    Signed-off-by : Ting Fu <ting.fu@intel.com>

    • [DH] libavfilter/dnn/dnn_backend_openvino.c
  • avfilter/palettegen : base box split decision on a perceptual model

    27 décembre 2022, par Clément Bœsch
    avfilter/palettegen : base box split decision on a perceptual model
    

    Similar to the change in paletteuse, we rely on a perceptual model to
    decide how and where to split the box.

    • [DH] libavfilter/Makefile
    • [DH] libavfilter/vf_palettegen.c
    • [DH] tests/ref/fate/filter-palettegen-1
    • [DH] tests/ref/fate/filter-palettegen-2
  • Save generated image to ImageField model Django

    7 janvier 2023, par MrLonely
    &#xA;

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

    &#xA;

    &#xA;

    When i run this in the views.py :

    &#xA;

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

    &#xA;

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

    &#xA;