Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (81)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (5958)

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

  • How do I accurately extend the duration of a tiny video clip ?

    18 avril 2018, par joeycato

    I noticed that ffmpeg doesn’t always scale the duration of a clip to the desired value ( even accounting for milliseconds of precision loss.) For example, whenever I attempt to scale the duration of this tiny 67ms clip to 7 seconds :

    ffmpeg -i input.avi -filter:v "setpts=(7/0.067)*PTS" -an output.avi    

    the resulting video is only 3.5 seconds in duration.

    Not really sure why this is off by multiple seconds, but I suspect it has something to do with the input clip itself ( which is only 2 frames @ 29.97 fps ) So far, I’ve discovered that if I scale the duration to a much larger value first, then scale back from that to 7 seconds, it works fine :

    ffmpeg -i input.avi -filter:v "setpts=(1000)*PTS" -an input_scaled_high.avi
    ffmpeg -i input_scaled_high.avi -filter:v "setpts=(7/33.400033)*PTS" -an output.avi

    But I’m hoping I don’t need to resort to an intermediate file. Is it possible to solve this with a single ffmpeg call ?

    If it helps, here is the video file I’m working with : https://drive.google.com/drive/folders/1hI5Xo6kfAfMd8ZylM6XrPX5fuO88gncE?usp=sharing

    Note : I should mention that I don’t need sound at all in this experiment ( hence the -an )

  • Evolution #2017 (Nouveau) : Langue des sites

    3 avril 2011, par romy -

    Ce serait bien utile de pouvoir renseigner la langue des sites référencés dans SPIP pour, par exemple :

    indiquer la langue en hreflang des liens

    lister les sites par langue

    ou... Cela pourrait se faire de cette façon :

    il s’agirait d’indiquer la langue principale du site cible

    et non pas (...)