Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (45)

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (9551)

  • wasm/hevc : Add sao_band_filter

    7 juin, par Zhao Zhili
    wasm/hevc : Add sao_band_filter
    

    hevc_sao_band_8_8_c : 63.0 ( 1.00x)
    hevc_sao_band_8_8_simd128 : 10.4 ( 6.06x)
    hevc_sao_band_16_8_c : 230.4 ( 1.00x)
    hevc_sao_band_16_8_simd128 : 22.9 (10.07x)
    hevc_sao_band_32_8_c : 900.4 ( 1.00x)
    hevc_sao_band_32_8_simd128 : 81.5 (11.05x)
    hevc_sao_band_48_8_c : 2009.1 ( 1.00x)
    hevc_sao_band_48_8_simd128 : 170.2 (11.80x)
    hevc_sao_band_64_8_c : 3535.0 ( 1.00x)
    hevc_sao_band_64_8_simd128 : 297.5 (11.88x)

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>

    • [DH] libavcodec/wasm/hevc/Makefile
    • [DH] libavcodec/wasm/hevc/dsp_init.c
    • [DH] libavcodec/wasm/hevc/sao.c
    • [DH] libavcodec/wasm/hevc/sao.h
  • How to implement spring animation (mass, tension, friction) in FFmpeg zoompan filter instead of linear interpolation ?

    29 mai, par Mykyta Manuilenko

    I'm trying to create a zoom-in and zoom-out animation using FFmpeg's zoompan filter, but I want to replace the linear interpolation with a spring animation that uses physics parameters (mass, tension, friction).

    &#xA;

    My input parameters :

    &#xA;

    "zoompan": {&#xA;  "focusRect": {&#xA;    "x": 1086.36,&#xA;    "y": 641.87,&#xA;    "width": 613,&#xA;    "height": 345&#xA;  },            &#xA;  "easing": {&#xA;    "mass": 1,&#xA;    "tension": 120,&#xA;    "friction": 20&#xA;  }&#xA;}&#xA;

    &#xA;

    Current working linear animation :

    &#xA;

    ffmpeg -framerate 25 -loop 1 -i input.png \&#xA;  -filter_complex "\&#xA;    [0:v]scale=6010:3380,setsar=1,split=3[zoomin_input][hold_input][zoomout_input]; \&#xA;    [zoomin_input]zoompan= \&#xA;      z=&#x27;iw/(iw/zoom &#x2B; (ow - iw)/duration)&#x27;: \&#xA;      x=&#x27;x &#x2B; (3400 - 0)/duration&#x27;: \&#xA;      y=&#x27;y &#x2B; (2009 - 0)/duration&#x27;: \&#xA;      d=25:fps=25:s=1920x1080, \&#xA;      trim=duration=1,setpts=PTS-STARTPTS[zoomin]; \&#xA;    [hold_input]crop=1920:1080:3400:2009,trim=duration=4,setpts=PTS-STARTPTS[hold]; \&#xA;    [zoomout_input]zoompan=\&#xA;      zoom=&#x27;if(eq(on,0),iw/ow,iw/(iw/zoom &#x2B; (iw-ow)/duration))&#x27;:\&#xA;      x=&#x27;if(eq(on,0),3400,x &#x2B; (0-3400)/duration)&#x27;:\&#xA;      y=&#x27;if(eq(on,0),2009,y &#x2B; (0-2009)/duration)&#x27;:\&#xA;      d=25:fps=25:s=1920x1080, \&#xA;      trim=duration=1,setpts=PTS-STARTPTS[zoomout];&#xA;    [zoomin][hold][zoomout]concat=n=3:v=1:a=0[outv]" \&#xA;  -map "[outv]" \&#xA;  -crf 23 \&#xA;  -preset medium \&#xA;  -c:v libx264 \&#xA;  -pix_fmt yuv420p \&#xA;  output.mp4&#xA;

    &#xA;

    Notes :

    &#xA;

      &#xA;
    • It creates a perfectly straight zoom path to the specific point on the screen (similar to pinch-zooming on a smartphone - straight zooming to the center of the focus rectangle)

      &#xA;

    • &#xA;

    • To improve the quality of the output, I upscale it beforehand

      &#xA;

    • &#xA;

    &#xA;

    What I want to achieve :

    &#xA;

    Instead of linear interpolation, I want to implement a spring function with these physics parameters :

    &#xA;

      &#xA;
    • mass : 1
    • &#xA;

    • tension : 120
    • &#xA;

    • friction : 20
    • &#xA;

    &#xA;

    Note that these params can be changed.

    &#xA;

    Also, I want to preserve a perfectly straight zoom path to the specific point on the screen (similar to pinch-zooming on a smartphone).

    &#xA;

    Question :

    &#xA;

    How can I properly implement a spring animation function in FFmpeg's zoompan filter ?

    &#xA;

  • lavc/vvc_mc : R-V V dmvr

    15 décembre 2024, par sunyuechi
    lavc/vvc_mc : R-V V dmvr
    

    k230 banana_f3
    dmvr_8_12x20_c : 619.3 ( 1.00x) 624.1 ( 1.00x)
    dmvr_8_12x20_rvv_i32 : 128.6 ( 4.82x) 103.4 ( 6.04x)
    dmvr_8_20x12_c : 610.0 ( 1.00x) 665.6 ( 1.00x)
    dmvr_8_20x12_rvv_i32 : 137.6 ( 4.44x) 92.9 ( 7.17x)
    dmvr_8_20x20_c : 1008.0 ( 1.00x) 1082.7 ( 1.00x)
    dmvr_8_20x20_rvv_i32 : 221.1 ( 4.56x) 155.4 ( 6.97x)
    dmvr_h_8_12x20_c : 2008.0 ( 1.00x) 2009.7 ( 1.00x)
    dmvr_h_8_12x20_rvv_i32 : 239.6 ( 8.38x) 186.7 (10.77x)
    dmvr_h_8_20x12_c : 1989.5 ( 1.00x) 2009.4 ( 1.00x)
    dmvr_h_8_20x12_rvv_i32 : 230.3 ( 8.64x) 155.4 (12.93x)
    dmvr_h_8_20x20_c : 3304.1 ( 1.00x) 3342.9 ( 1.00x)
    dmvr_h_8_20x20_rvv_i32 : 378.3 ( 8.73x) 248.9 (13.43x)
    dmvr_hv_8_12x20_c : 3609.8 ( 1.00x) 3603.4 ( 1.00x)
    dmvr_hv_8_12x20_rvv_i32 : 369.1 ( 9.78x) 322.1 (11.19x)
    dmvr_hv_8_20x12_c : 3628.3 ( 1.00x) 3624.2 ( 1.00x)
    dmvr_hv_8_20x12_rvv_i32 : 322.8 (11.24x) 238.7 (15.19x)
    dmvr_hv_8_20x20_c : 5933.8 ( 1.00x) 5936.6 ( 1.00x)
    dmvr_hv_8_20x20_rvv_i32 : 526.5 (11.27x) 374.1 (15.87x)
    dmvr_v_8_12x20_c : 2156.3 ( 1.00x) 2155.4 ( 1.00x)
    dmvr_v_8_12x20_rvv_i32 : 239.6 ( 9.00x) 176.2 (12.24x)
    dmvr_v_8_20x12_c : 2137.6 ( 1.00x) 2165.9 ( 1.00x)
    dmvr_v_8_20x12_rvv_i32 : 230.3 ( 9.28x) 155.2 (13.96x)
    dmvr_v_8_20x20_c : 4183.8 ( 1.00x) 3592.9 ( 1.00x)
    dmvr_v_8_20x20_rvv_i32 : 369.3 (11.33x) 249.2 (14.42x)

    • [DH] libavcodec/riscv/vvc/vvc_mc_rvv.S
    • [DH] libavcodec/riscv/vvc/vvcdsp_init.c