Recherche avancée

Médias (91)

Autres articles (46)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • 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 (4992)

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

    



    Here is the batch script :

    



    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


    



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

    



    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.

    



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

    



    Here is the picture to complement the explanation part.

    



    enter image description here

    


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

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

    &#xA;

    Using Windows, here is an example I have tried :

    &#xA;

    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&#xA;

    &#xA;

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

    &#xA;

    The problem is that {} includes the file extension.

    &#xA;

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

    &#xA;

    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.

    &#xA;