Recherche avancée

Médias (0)

Mot : - Tags -/alertes

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (48)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

Sur d’autres sites (5421)

  • HLS Client using FFMPEG

    20 août 2013, par Omkar

    I am a beginner to FFMPEG. Currently building a client application for HLS (Http Live Streaming) using FFMPEG. For this I find some useful functions in /libavformat/hlsproto.c and other hls related files. But not sure what are the APIs which are for clients use and how to access them for a simple HLS client. Any small examples or documents will help a lot for this.

    Thanks.

  • Monitoring for failure and quickly restarting systemd service

    16 février 2024, par mzrt

    I am running a 24/7 youtube stream on Ubuntu. My ffmpeg command is wrapped in a systemd service. On several occasions the ffmpeg command has failed and systemd has not restarted quickly enough to keep the youtube stream alive. When this happens I need to daemon-reload and restart the systemd service.

    


    To counter this I have written a bash script that checks the log for stream ending errors, however, it does not seem to be working. I have had failures since implementing this script, and it did not seem to have been triggered.

    


    two questions :

    


      

    1. is there a more efficient way to do what I am doing ?
    2. 


    3. if not, can anyone identify what I am doing wrong ?
    4. 


    


    #!/bin/bash

RESET=0

while true; do
    # Get the current time minus 1 minute
    LAST_1_MINUTE=$(date -d '1 minute ago' '+%b %e %H:%M:%S')
    
    # Run the command to check for the error within the last minute
    if journalctl --since "$LAST_1_MINUTE" | grep -qi "Error writing trailer"; then
        if [ $RESET -lt 1 ]; then
            # Perform actions if error is detected
            sudo systemctl daemon-reload && \
            echo "Restarting master.service by monitor.sh script at $(date)" >> /var/log/monitor.log && \
            sudo systemctl restart master.service
            RESET=2
        fi
    else
        RESET=$((RESET - 1))
    fi

    # Wait for 20 seconds before the next iteration
    sleep 20
done


    


  • ffmpeg - how to add multiple overlay gifs on top of video + command generator runs forever

    7 juin 2021, par عبدالله لبيب

    the user will choose multiple gifs, scale them, put them in the desired position on screen, then they will be overlayed on top of a video ..

    


    in simple case where user choose only one gif to overlay .. this line was working very well for me, but now it runs forever !! :

    


    '-i video.mp4 -ignore_loop 0 -i gif1.gif -b:v 1M '
'-filter_complex [1:v]scale=${width - 30}:${height - 30}[ovrl],'
'[0:v][ovrl]overlay=${x -30}:${y - 30}:shortest=1 output.mp4';


    


    I used shortest=1 to prevent it from running forever, but now even with shortest=1 it runs forever .. when I remove it and ignore_loop 0 the running forever problem stops, but gif works only once then stop !!

    


    how to make it work for 3 or more gifs and how to stop it from running forever when I want to make gif looping ?