Recherche avancée

Médias (0)

Mot : - Tags -/publication

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

Autres articles (63)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (8429)

  • How to stream 24/7 on youtube (audio + video) with FFMPEG

    29 septembre 2023, par Carter510

    I plan to create a 24/7 stream with a video and a musical background which is located in a /Playlist folder.
I would like the music playlist to be played randomly and if a piece of music is corrupted or cannot be played, the program moves on to the next one.

    


    The problem is that with my command every time the music changes the stream stops.
Any suggestions ?

    


    #!/bin/bash

VBR="4500k"
FPS="30"
QUAL="superfast"

YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"
KEY="XXXX-XXXX-XXXX-XXXX"

VIDEO_SOURCE="fireplace.mkv"
AUDIO_FOLDER="/home/administrateur/Documents/Youtube/Playlist"

while true; do
    # Joue la vidéo en boucle
    ffmpeg -re -stream_loop -1 -i "$VIDEO_SOURCE" \
    -thread_queue_size 512 -i "$(find "$AUDIO_FOLDER" -type f -name "*.mp3" | shuf -n 1)" \
    -map 0:v:0 -map 1:a:0 \
    -map_metadata:g 1:g \
    -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
    -acodec libmp3lame -ar 44100 -threads 6 -qscale:v 3 -b:a 320000 -bufsize 512k \
    -f flv "$YOUTUBE_URL/$KEY"
done


    


    I would like the fireplace.mkv video to play without interruption, for the music to be chosen randomly without ever stopping. And if one of the songs cannot be played, it is skipped.

    


  • Icecast to Youtube Live w/ Track Meta data

    22 novembre 2018, par eusid

    I am using ffmpeg to stream a still image along with my Icecast stream to youtube. I would like to give the artists credit by displaying their names on the image or perhaps even using a visualizer type thing.

    I am curious how people have solved this issue to get the meta data on the image, or even use a visualizer in the past. I want to do this headlessly from my server so I don’t have to run OBS or something on my desktop. I would hope to not have to reinvent the wheel, but if you could point me in the right direction I’ll build the wheel if asking for a completed wheel gets me down votes.

    How is this typically solved ? Mainly getting the text on the image and the stream updating with the new image. I could write something with pillow to do this perhaps. Not sure if it would work.

  • Piping pi's opencv video to ffmpeg for Youtube streaming

    16 mai 2017, par Mango Plaster

    This is a small python3 script reading off picam using OpenCV :

    #picamStream.py

    import sys, os
    from picamera.array import PiRGBArray
    from picamera import PiCamera
    import time
    import cv2

    # initialize the camera and grab a reference to the raw camera capture
    camera = PiCamera()
    camera.resolution = (960, 540)
    camera.framerate = 30
    rawCapture = PiRGBArray(camera, size=(960, 540))

    # allow the camera to warmup
    time.sleep(0.1)

    # capture frames from the camera
    for frame in camera.capture_continuous(rawCapture, format="bgr", use_video_port=True):

       image = frame.array

       # ---------------------------------
       # .
       # Opencv image processing goes here
       # .
       # ---------------------------------

       os.write(1, image.tostring())

       # clear the stream in preparation for the next frame
       rawCapture.truncate(0)

    # end

    And I am trying to pipe it to ffmpeg to Youtube stream

    My understanding is that I need to reference below two commands to somehow come up with a new ffmpeg command.

    Piping picam live video to ffmpeg for Youtube streaming.

    raspivid -o - -t 0 -vf -hf -w 960 -h 540 -fps 25 -b 1000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp ://a.rtmp.youtube.com/live2/[STREAMKEY]

    Piping OPENCV raw video to ffmpeg for mp4 file.

    python3 picamStream.py | ffmpeg -f rawvideo -pixel_format bgr24 -video_size 960x540 -framerate 30 -i - foo.mp4

    So far I’ve had no luck. Can anyone help me with this ?