Recherche avancée

Médias (91)

Autres articles (63)

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

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (5908)

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

    


  • ffmpeg streaming on embedded device [closed]

    18 février 2012, par JoeFrizz

    I have a problem with the ffmpeg streaming application.

    When I try to dump a RTSP (mp4) stream to a file on my
    desktop (Ubuntu) everything works fine...

    What I actually want to do is to download the same stream
    with an embedded system (very limited CPU power)...

    While I get about 150 fps on the desktop my embedded system loads
    about 2 fps only and struggles after downloading
    of approx. 150 frames. All the other frames (about 1000 total)
    are dublicated or missing...

    Can this problem be fully explained by the weak CPU power
    of the embedded system ? Does the RTSP protocol allow streaming
    far below the normal rates (my desktop achieves) ?

    Are there any tricks to overcome that issue ?

  • Isolating/separating vocals from audio by FFMPEG

    21 février 2023, par Jony

    I remove the vocals from music via

    


    ffmpeg -i song.mp3 -af pan="stereo|c0=c0|c1=-1*c1" -ac 1 karaoke.mp3

    


    The output is the music without vocals (not completely but fairly good).

    


    I wonder what is the command to make the output separated vocals (vocal only) ?

    


    I mean how to save the separated vocals in an audio file ?

    


    I mean how to save the separated vocals in an audio file ?
I want to remove only instrumental music without vocal from audio file by ffmpeg.
Please someone help me.