Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (82)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • Bash script : Cycle script until ffmpeg command restarts successfully

    13 août 2023, par Bellacoda

    I have a IP Camera and the recordings are saved with ffmpeg RTSP into a raspberry pi.

    


    Sometimes, when the electricity shuts off and comes back on, the raspberry boots faster than the IP Camera and the ffmpeg command (saved on a crontab to run every reboot) fails to execute because it can't reach the IP Camera (that is still turning on).

    


    I tried to put a sleep command before the command but that doesn't work either.

    


    It also happened that when the IP Camera reboots, the raspberry closes the command, but when the camera comes back online, I have to manually lauch the command.

    


    Is there a way to make a script that waits to run the ffmpeg command until the camera is fully online (I assume with the $ ? variable for command exit status), and to wait to restart the ffmpeg command when the camera reboots ?

    


    The setup I have now is a crontab :
SHELL=/bin/bash
@reboot sleep 120s ; sudo ffmpeg ...

    


  • Change youtube-dl download output (Windows)

    13 avril 2016, par Inforcer25

    I hope you can help me.

    I am using youtube-dl on windows (youtube-dl.exe)
    Downloading the video works great and also just the audio. But what i want is for it to save the audio file in a different place eg. C :\Users*******\Desktop

    I made a batch file with this code :

    :audio
    cls
    echo.
    echo.
    echo Your audio vill be downloaded and saved as a .mp3 format
    echo.
    echo.
    set /p audio=Enter Video URL here:
    cls
    youtube-dl.exe --extract-audio --audio-format mp3 --output C:\Users\*******\Desktop\(ext)s.%(ext)s %audio%
    pause
    cls
    echo.
    echo.
    echo.
    echo.
    echo Your audio has now been downloaded.
    ping localhost -n 3 >nul
    exit

    and then it gives me this

    Usage: youtube-dl.exe [OPTIONS] URL [URL...]

    youtube-dl.exe: error: You must provide at least one URL.
    Type youtube-dl --help to see a list of all options.
    Press any key to continue . . .

    It works fine if i use this but it saves it in the same folder.

    :audio
    cls
    echo.
    echo.
    echo Your audio vill be downloaded and saved as a .mp3 format
    echo.
    echo.
    set /p audio=Enter Video URL here:
    cls
    youtube-dl.exe --extract-audio --audio-format mp3 %audio%
    pause
    cls
    echo.
    echo.
    echo.
    echo.
    echo Your audio has now been downloaded.
    ping localhost -n 3 >nul
    exit

    Also please keep in mind that it also uses ffprobe.exe and ffmpeg.exe (They are both in the same folder as youtube-dl.exe

  • Change youtube-dl download output (Windows)

    24 octobre 2019, par Inforcer25

    I hope you can help me.

    I am using youtube-dl on windows (youtube-dl.exe)
    Downloading the video works great and also just the audio. But what i want is for it to save the audio file in a different place eg. C :\Users*******\Desktop

    I made a batch file with this code :

    :audio
    cls
    echo.
    echo.
    echo Your audio vill be downloaded and saved as a .mp3 format
    echo.
    echo.
    set /p audio=Enter Video URL here:
    cls
    youtube-dl.exe --extract-audio --audio-format mp3 --output C:\Users\*******\Desktop\(ext)s.%(ext)s %audio%
    pause
    cls
    echo.
    echo.
    echo.
    echo.
    echo Your audio has now been downloaded.
    ping localhost -n 3 >nul
    exit

    and then it gives me this

    Usage: youtube-dl.exe [OPTIONS] URL [URL...]

    youtube-dl.exe: error: You must provide at least one URL.
    Type youtube-dl --help to see a list of all options.
    Press any key to continue . . .

    It works fine if i use this but it saves it in the same folder.

    :audio
    cls
    echo.
    echo.
    echo Your audio vill be downloaded and saved as a .mp3 format
    echo.
    echo.
    set /p audio=Enter Video URL here:
    cls
    youtube-dl.exe --extract-audio --audio-format mp3 %audio%
    pause
    cls
    echo.
    echo.
    echo.
    echo.
    echo Your audio has now been downloaded.
    ping localhost -n 3 >nul
    exit

    Also please keep in mind that it also uses ffprobe.exe and ffmpeg.exe (They are both in the same folder as youtube-dl.exe