Recherche avancée

Médias (91)

Autres articles (105)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (10128)

  • Streaming opencv to youtube with ffmpeg

    29 juin 2020, par Tim Treurniet

    I am trying to live stream to youtube from a c++ opencv project. Currently, my program outputs a RTMP stream which nginx should push to youtube. A problem I'm having is youtube's requirement for an audio stream.

    


    I'm trying a workaround by restreaming using ffmpeg. It adds an empty audio stream (not efficient). Another issue is the output speed of my program which is around 10 fps. When playing in vlc or youtube, the stream buffers for a while and plays a few seconds of smooth video. How should I set this up in c++ to play a constant stream with lower fps, including an empty audio stream ?
Example I used : https://github.com/andreanobile/opencv_ffmpeg_streaming

    


    FFMPEG for adding audio :
ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -hwaccel cuvid -i rtmp ://localhost/live -vf scale=3840:2160 -c:v h264_nvenc -preset fast -maxrate 6000k -pix_fmt yuv420p -g 50 -b:a 160k -ac 2 -c:a aac -f flv rtmp ://a.rtmp.youtube.com/live2/

    


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

    


  • doc/examples/decoding_encoding : Check all av_samples_get_buffer_size() returns

    31 janvier 2014, par Michael Niedermayer
    doc/examples/decoding_encoding : Check all av_samples_get_buffer_size() returns
    

    Fixed CID1135755
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] doc/examples/decoding_encoding.c