Recherche avancée

Médias (91)

Autres articles (31)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (3961)

  • How do I convert a webm file to a wav file [closed]

    5 janvier 2021, par Justin

    I'm using the pafy library to download a video from Youtube as a webm file. Now I'm trying to convert that webm file to a .wav file. I am aware of something simlar to this question being posted on here Coverting webm to wav with ffmpeg
However it's not giving me the answer I need. The error I keep getting is this.

    


    File "C:/Users/16156/PycharmProjects/youtubeaudiodownloader/audiodownload.py", line 29, in <module>&#xA;ad.fromMpToWav()&#xA;&#xA;&#xA;File "C:/Users/16156/PycharmProjects/youtubeaudiodownloader/audiodownload.py", line 20, in fromMpToWav&#xA;    command = &#x27;ffmpeg -i&#x27; &#x2B; self.vid.getbestaudio(), &#x2B; &#x27;&#x27; &#x2B; r&#x27;C:\Users\16156\PycharmProjects\youtubeaudiodownloader\test.wav&#x27;&#xA;TypeError: can only concatenate str (not "YtdlStream") to str&#xA;</module>

    &#xA;

    Here's the code that is causing the error

    &#xA;

        def fromMpToWav(self):&#xA;    time.sleep(5)&#xA;    command  = [&#x27;ffmpeg -i&#x27;, self.vid.getbestaudio(),r&#x27;C:\Users\16156\PycharmProjects\youtubeaudiodownloader\test.wav&#x27;]&#xA;    subprocess.run(command)&#xA;

    &#xA;

    I originally was placing the command variable into an array, however, I changed it.

    &#xA;

    I've been stuck on this for a good hour now and have no idea how to fix it. Anyone has ever tried doing something likewise to this that can help me out.

    &#xA;

  • Including Youtube-dl in FFMPEG not working in Bash (OSX)

    14 juillet 2019, par user1029296

    I am trying to download 5 second samples for a list of youtube video. The traditional approach is to download the entire file with "youtube-dl" and then use "ffmpeg" to split it however you want it.

    I am trying to use the following method : https://github.com/ytdl-org/youtube-dl/issues/622#issuecomment-162337869

    It does work when I include the variables in the command, for example :

    ffmpeg -ss 0 -i $(youtube-dl -f best --get-url https://www.youtube.com/watch?v=ySVi-0RS5vI&amp;t=5s) -t 10 -c:v copy -c:a copy title2.mp4

    However, I am having issues trying to automate the system. Specifically, I would like ffmpeg and youtube-dl to read a file and use the values. I created the file "youtube.txt" which includes the following codes :

    440.8,https://www.youtube.com/watch?v=0-4wOE_DNeA,661.2,881.6,0-4wOE_DNeA
    330,https://www.youtube.com/watch?v=0-AMWW6tHzw,495,660,0-AMWW6tHzw
    509.2,https://www.youtube.com/watch?v=0-Rmto2rgMw,763.8,1018.4,0-Rmto2rgMw
    427.6,https://www.youtube.com/watch?v=0-U53qm45cA,641.4,855.2,0-U53qm45cA
    320.4,https://www.youtube.com/watch?v=0-dja9Ys4Sg,480.6,640.8,0-dja9Ys4Sg
    343.6,https://www.youtube.com/watch?v=0-g_PulsqtM,515.4,687.2,0-g_PulsqtM
    415.6,https://www.youtube.com/watch?v=0-nniRyn7dU,623.4,831.2,0-nniRyn7dU
    431.2,https://www.youtube.com/watch?v=006BQU3BFxw,646.8,862.4,006BQU3BFxw

    I am using the following command :

    parallel -j 6 --colsep ',' ffmpeg -ss {1} -i $(youtube-dl -f best --get-url {2}) --t 5 -c:v copy -c:a copy {5} :::: youtube.txt

    However, I get the following errors :

    ERROR: '{2}' is not a valid URL. Set --default-search "ytsearch" (or run  youtube-dl "ytsearch:{2}" ) to search YouTube
    --t: No such file or directory

    Would you mind helping me ?

    Thanks !

  • disable muxing in YOUTUBE-DL

    3 février 2020, par user3515562

    I want to disbale post process in youtube-dl(2020.01.24).
    My batch file contains

    set /p ytlink=Enter the link of Youtube Video:-    
    youtube-dl -x -o D:\%%(title)s.%%(ext)s %ytlink%  
    pause  

    The youtube-dl first downloads webm file or any other file than use post process ffmpeg.exe to convert it.
    I want to disable post process.Their must be no post process happening after youtube-dl download.

    - x is the option to only download audio file of the YouTube video in webm format .There is no post processing involved.But youtube-dl by default tries to convert the webm file to some other format, which is post processing.Post processing of audio file by default is one that i want to disable
    OS=Windows 10