Recherche avancée

Médias (91)

Autres articles (78)

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

  • How run 2 script python in same time ?

    28 février 2021, par FoxFr

    I explain my need : i wish to run ffmpeg with a python script (that's ok) but i need to know of the script is launched with a blink led connected on the GPIO of my RPI, But i dont know why i can launch my script and start le blink (or just a led on)

    


    Can u help me ? show me the light, please ;)

    


    import RPi.GPIO as GPIO
import time
import os

GPIO.setwarnings(False)
GPIO.setmode(GPIO.BCM)
GPIO.setup(4, GPIO.OUT)
GPIO.setup(22,GPIO.IN)

# fonction qui fait clignoter la led 
def blink(led):
        GPIO.output(led,True)
        time.sleep(0.5)
        GPIO.output(led,False)
        time.sleep(1)

# input of the switch will change the state of the LED
while 1:
        if ( GPIO.input(22) == True ):
                print "start broadcast"
                os.system("sudo /home/pi/videopi/webcam.sh")
                blink(4) << not ok like this !
                time.sleep(1)


    


  • Close FFMPEG if connection with ipcam lost

    20 décembre 2023, par Gianluca

    this is my scrit that transmit a live camera rtsp stream to youtube rtmp stream.

    



    The Script before start verify if connection with camera is alive.

    



    The problem is during the process, if network connection lost ffmpeg remain in locked state.

    



    It's possibile to close ffmpeg or restart task if connection with camera lost ?

    



    :LOOP
timeout /t 10
ping 192.168.1.11
IF ERRORLEVEL 1 goto exit
IF ERRORLEVEL 0 goto START
:START

ffmpeg  -f lavfi -i anullsrc -rtsp_transport tcp -i rtsp://192.168.1.11:10554/tcp/av0_0 -tune zerolatency -vcodec libx264 -t 12:00:00 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/(secret code)

goto LOOP


    


  • Make picture from stream(webcam) by ffmpeg [on hold]

    29 novembre 2018, par SkiF

    I have webcam and I want to store video from it. I need to store just last one hour. Can I limit space or time for ffmpeg out file ?

    Second and the main problem is make pictures every minute. I want make pictures from actual webcam state. with minimal delay.

    Based on my current knowledge I think the best solution is make 3 processes.
    The Fist will capture video for one minute and there will be 60 files with time stamp in name and every minutes ffmpeg will be restarted by script and script remove the oldest file. The Second will share video steam and The Third will take last frame from the newest video file. Maybe some one know better solution for this problem.

    I think bash is the best tool for this problem. Solution is based on c++ or python also welcome.