Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (52)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

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

  • FFmpeg - Change resolution of the video with aspect ratio

    18 septembre 2024, par Arthur

    all.

    



    How to change resolution of the video with aspect ratio with FFmpeg ?

    



    There are options 
http://manpages.ubuntu.com/manpages/oneiric/man1/ffmpeg.1.html

    



           -s size
       Set frame size. The format is wxh (ffserver default = 160x128,
       ffmpeg default = same as source).  The following abbreviations are
       recognized:


    



    and

    



           -aspect aspect
       Set the video display aspect ratio specified by aspect.

       aspect can be a floating point number string, or a string of the
       form num:den, where num and den are the numerator and denominator
       of the aspect ratio. For example "4:3", "16:9", "1.3333", and
       "1.7777" are valid argument values.


    



    For example, I have two input videos :

    



      

    • with 200*400 resolution
    • 


    • with 400*700 resolution
    • 


    



    I need to make output video with 100*200 resolution.

    



    If I will run ffmpeg with -s 100x200, then second video will have bad aspect ratio.

    



    How can I limit output video by width, with auto aspect ratio by height ?

    



    For example, I want specify for the output video only width 100px and ffmpeg must automatically calculate height with right aspect ratio.

    



    For first video it will be :

    



    200/100=2

    



    400/2=200

    



    Ie 100x200

    



    For second video it will be :

    



    400/100=4

    



    700/4=75

    



    Ie 100x75

    



    Is it possible ?

    


  • Why ffmpeg takes so long time to decode 1 frame from high resolution gif

    29 août 2018, par Yueh-Ming Chien

    I am working on gif to png decode. My command is like :

    ffmpeg -probesize 20M -y -i "GIF_High resolution_4952x7000.gif" -y
    -frames:v 1 %03d.png

    Input : gif (4952x7000)

    Output : png

    And here’s output result :
    enter image description here

    It takes about 13 seconds.
    If I use python to call subprocess.Popen() to execute it, it causes UI to hang.
    And I found something weird in Process Monitor :
    enter image description here

    It stuck in process profiling for a long time. I don’t know why. Can anyone help ? I’ll appreciate that.

  • Adds ESPCN super resolution filter merged with SRCNN filter.

    13 juin 2018, par Sergey Lavrushkin
    Adds ESPCN super resolution filter merged with SRCNN filter.
    

    Signed-off-by : Pedro Arthur <bygrandao@gmail.com>

    • [DH] configure
    • [DH] libavfilter/Makefile
    • [DH] libavfilter/allfilters.c
    • [DH] libavfilter/dnn_backend_native.c
    • [DH] libavfilter/dnn_backend_tf.c
    • [DH] libavfilter/dnn_espcn.h
    • [DH] libavfilter/dnn_interface.h
    • [DH] libavfilter/dnn_srcnn.h
    • [DH] libavfilter/vf_sr.c
    • [DH] libavfilter/vf_srcnn.c