Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (45)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

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

  • Les sons

    15 mai 2013, par

Sur d’autres sites (4786)

  • ffmpeg C API (libswscale) : Scale a frame into an output frame with given width/height preserving aspect ratio, fill out the rest with transparency

    12 juin 2015, par nik4emniy

    Note : I need to use ffmpeg’s C API in my project.
    Input : video(let’s say,first frame)/image, output_width, output_height
    Output : PNG image with output_width/output_height.

    What I’ve done so far :

    a) decoded a frame from input into frame1

    b) sws_scale frame1 with needed context (output_width, output_height) into frame2

    c) initialized AVCodec CODEC_ID_PNG

    d) encoded frame2 into initialized AVPacket

    e) wrote AVPacket’s data into file

    So I have a working cycle that produces a PNG image, but it doesn’t save the aspect ratio (obviously).
    What I want to achieve is do the same thing preserving aspect ratio (which would change the frame2’s width||height), but then "centring" that image and filling out the "empty" parts with tranparent layer in the final PNG.

    Does anyone have an idea on how this can be achieved ?
    Again, I need to use C API, not command line.

  • h264/aarch64 : optimize neon loop filter

    1er janvier 2019, par Janne Grunau
    h264/aarch64 : optimize neon loop filter
    

    Exit as soon as possible if no filtering will be done.

    Improves the checkasm —bench cycle count on a Snapdragon 820e :
    h264_h_loop_filter_luma_8bpp_c : 72.4 -> 72.5
    h264_h_loop_filter_luma_8bpp_neon : 97.1 -> 56.3
    h264_v_loop_filter_luma_8bpp_c : 174.0 -> 173.5
    h264_v_loop_filter_luma_8bpp_neon : 62.9 -> 60.9
    h264_h_loop_filter_chroma_8bpp_c : 30.2 -> 30.3
    h264_h_loop_filter_chroma_8bpp_neon : 51.6 -> 25.7
    h264_v_loop_filter_chroma_8bpp_c : 57.3 -> 57.3
    h264_v_loop_filter_chroma_8bpp_neon : 28.0 -> 24.0

    • [DBH] libavcodec/aarch64/h264dsp_neon.S
  • aarch64 : vp9 : loop filter : replace ’orr ; cbn ?z’ with ’adds ; b.{eq,ne} ;

    14 novembre 2016, par Janne Grunau
    aarch64 : vp9 : loop filter : replace ’orr ; cbn ?z’ with ’adds ; b.eq,ne ;
    

    The latter is 1 cycle faster on a cortex-53 and since the operands are
    bytewise (or larger) bitmask (impossible to overflow to zero) both are
    equivalent.

    • [DBH] libavcodec/aarch64/vp9lpf_neon.S