Recherche avancée

Médias (91)

Autres articles (101)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (7421)

  • sw_scale : Add specializations for hscale 8 to 19

    28 octobre 2022, par Hubert Mazur
    sw_scale : Add specializations for hscale 8 to 19
    

    Add arm64 neon implementations for hscale 8 to 19 with filter
    sizes 4, 4X and 8. Both implementations are based on very similar ones
    dedicated to hscale 8 to 15. The major changes refer to saving
    the data - instead of writing the result as int16_t it is done
    with int32_t.

    These functions are heavily inspired on patches provided by J. Swinney
    and M. Storsjö for hscale8to15 which were slightly adapted for
    hscale8to19.

    The tests and benchmarks run on AWS Graviton 2 instances. The results
    from a checkasm tool shown below.

    hscale_8_to_19__fs_4_dstW_512_c : 5663.2
    hscale_8_to_19__fs_4_dstW_512_neon : 1259.7
    hscale_8_to_19__fs_8_dstW_512_c : 9306.0
    hscale_8_to_19__fs_8_dstW_512_neon : 2020.2
    hscale_8_to_19__fs_12_dstW_512_c : 12932.7
    hscale_8_to_19__fs_12_dstW_512_neon : 2462.5
    hscale_8_to_19__fs_16_dstW_512_c : 16844.2
    hscale_8_to_19__fs_16_dstW_512_neon : 4671.2
    hscale_8_to_19__fs_32_dstW_512_c : 32803.7
    hscale_8_to_19__fs_32_dstW_512_neon : 5474.2
    hscale_8_to_19__fs_40_dstW_512_c : 40948.0
    hscale_8_to_19__fs_40_dstW_512_neon : 6669.7

    Signed-off-by : Hubert Mazur <hum@semihalf.com>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libswscale/aarch64/hscale.S
    • [DH] libswscale/aarch64/swscale.c
  • How to fix EXT-X-MAP:URI in m3u8 when specifying absolute hls_fmp4_init_filename using ffmpeg ?

    29 février 2020, par Ryan

    Today I found this blog post teaching me about fragmented mp4s (fmp4s).

    Using the ffmpeg docs, I’ve made great progress.

    I run this :

    '/usr/bin/ffmpeg' '-y' '-i' '/myproject/storage/app/sample_media/2020-02-27/Sample Videos 5.mp4' \
    '-c:v' 'libx264' '-s:v' '1920x1080' \
    '-crf' '20' '-sc_threshold' '0' '-g' '48' '-keyint_min' '48' \
    '-hls_list_size' '0' '-hls_time' '10' '-hls_allow_cache' '0' '-b:v' '4889k' \
    '-maxrate' '5866k' '-hls_segment_type' 'fmp4' \
    '-hls_fmp4_init_filename' '/myproject/public/storage/000000002/init.mp4' \
    '-hls_segment_filename' '/myproject/public/storage/000000002/list_1080p_%04d.m4s' \
    '-hls_key_info_file' '/myproject/hls_hls.keyInfo' '-strict' '-2' '-threads' '12' \
    '/myproject/public/storage/000000002/list_1080p.m3u8'

    And then I use hls.js on my webpage to try to show the video.

    Initially, it won’t load.

    But then I can get the video to load properly if I refresh the page after making this edit to list_1080p.m3u8 :

    Change from :

    #EXT-X-MAP:URI="/myproject/public/storage/000000002/init.mp4"

    To :

    #EXT-X-MAP:URI="init.mp4"

    How can I change my ffmpeg command so that it knows the absolute path of where to save the init.mp4 but also knows to write in the m3u8 only the filename init.mp4 without any path ?

    (I’ve tried using -hls_fmp4_init_filename init.mp4 without the abosolute path, but then it creates the init.mp4 at the root, which also doesn’t work. I need each video’s init.mp4 to be in its own folder.)

  • FFMPEG Video loop from images files

    27 février 2020, par Nesan Mano

    I am trying to make a video from a bundle of image files and then apply a an overlay on top of it.Another requirement is to make the video loop 3x. It is simply not working.

    The first three paths are pointing toward the same image bundle. (A folder containing images like the following DSC0001_0013.jpg,DSC0002_0013.jpg,etc)

    Observed symptoms :

    The script runs infinitely.I produces a video file of 0 KB.I have to abort script using CTRL+C

    This is my script.

    ffmpeg
    -start_number 1 -framerate 3/1
    -i "C:\Users\xxx\AppData\Local\xxx\xxx\xxx\xxx\xxx\xxx\xxx\963d9d9b8e1\DSC%04d_0013.jpg"

    -i "C:\Users\xxx\AppData\Local\xxx\xxx\projects\xxx\xxx\xxx\xxx\963d9d9b8e1\DSC%04d_0013.jpg"

    -i "C:\Users\xxx\AppData\Local\xxx\xxx\projects\xxx\xxx\xxx\xxx\963d9d9b8e1\DSC%04d_0013.jpg"

    -i "C:\Users\xxx\AppData\Local\xxx\xxx\projects\1237\1138\overlay.png"
    -i "C:\Users\xxx\AppData\Local\xxx\xxx\projects\1237\1138\overlay.png"
    -i "C:\Users\xxx\AppData\Local\xxx\xxx\projects\1237\1138\overlay.png"
    -filter_complex " [0:v]scale=600x900[scaled1]; [1:v]scale=600x900[scaled2]; [2:v]scale=600x900[scaled3]; [scaled1][3:v]overlay[tmp1]; [scaled2][4:v]overlay[tmp2]; [scaled3][5:v]overlay[tmp3]; [tmp1][tmp2][tmp3]concat=n=3[scaled] "
    -map [scaled] -r 10 -vcodec libx264  -pix_fmt yuv420p -crf 23  "C:\Users\xxx\Documents\Projets\2020\xxx\video test ffmpeg\test.mp4"