Recherche avancée

Médias (91)

Autres articles (31)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (3632)

  • Passing file name in youtube-dl post-process script without file extension suffix

    2 avril 2021, par Arete

    The documentation for youtube-dl says I can run a post-process command with the --exec option.

    


    Using Windows, here is an example I have tried :

    


    youtube-dl --exec "ffmpeg -i {} -ac 2 -c:a libfdk_aac -cutoff 20000 -afterburner 1 -vbr 0 {}.m4a" https://www.youtube.com/watch?v=sw9DlMNnpPM


    


    Note that {} passes the file name to the post-process command. For example filename.webm.

    


    The problem is that {} includes the file extension.

    


    How can I pass the file name to the post-process command without the file extension ?

    


    For example, if I were to convert the video, I would rather avoid getting an output name like filename.webm.m4a. Needless to say, I would rather want filename.m4a.

    


  • Embed a Youtube with a MP4 File as poster

    29 août 2021, par adampl

    I want to embed a youtube video with a 10 second silent looping MP4 file as the poster.

    


    Currently, I am using the Wordpress video shortcode with my MP4 as the poster source, it works on some browsers but not all. Can anyone help ? I would prefer to find a pure HTML solution separate to the wordpress shortcode as I will need to get this to work on other CMSs.

    


    [video src="https://www.youtube.com/watch?v=[videoID]" poster=<video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">&#xA;  <source src="/wp-content-directory/intro.mp4" type="video/mp4">&#xA;</source></video>]&#xA;

    &#xA;

    What i have found is to get a looping MP4 work on all browsers, I have to use this tag with the autoplay loop muted and playsinline

    &#xA;

    <video autoplay="autoplay" loop="loop" muted="muted" playsinline="playsinline">&#xA;<source src="/directory/intro.mp4" type="video/mp4">&#xA;</source></video>&#xA;

    &#xA;

  • Batch script to convert, youtube-dl webm file to mp3 with ffmpeg

    1er avril 2024, par SneakyShrike

    I'm using youtube-dl to extract the best possible audio quality from youtube videos. However the best quality audio usually turns out to be the webm format, which isn't useful. I would like to write a batch script that converts the webm file to an mp3 with ffmpeg. I've already tried using this guide on reddit to do it, but it doesn't seem to work. It appears to create an empty mp3 file that displays an error when i try to play it and the meta data is also completly blank.

    &#xA;&#xA;

    Here is the batch script :

    &#xA;&#xA;

    for %%a in ("Downloaded\*.*") do %CD%\ffmpeg\bin\ffmpeg.exe -i "%%a" -vn -ar 44100 -ac 2 -ab 192k -f mp3 "Converted\%%~na.mp3" pause&#xA;

    &#xA;&#xA;

    I'll also give an explanation of how the whole thing should work.

    &#xA;&#xA;

    The idea is, is that you use youtube-dl to extract the best possible audio, then put that file into the Downloaded folder (see pic below) and then you run the mp3 script (which uses commands from ffmpeg) to convert the webm file in the Downloaded folder to a mp3 file, and place it in the Converted folder. The mp3 script is the code above. But it doesn't seem to work properly.

    &#xA;&#xA;

    I'm not very familiar with batch scripting, nor with ffmpeg so any help would be appreicated.

    &#xA;&#xA;

    Here is the picture to complement the explanation part.

    &#xA;&#xA;

    enter image description here

    &#xA;