Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (58)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (11937)

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

  • 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