Recherche avancée

Médias (91)

Autres articles (101)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

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

  • Ffmpeg command not streaming to youtube [closed]

    21 avril, par Ahmed Seddik Bouchiba

    I'm trying to stream my desktop (from an X11 session) to YouTube Live using ffmpeg. I'm running this on a Linux machine with an active X server, and I set the DISPLAY variable accordingly (:0 in most cases).

    


    Here's the ffmpeg command I've tried :

    


    ffmpeg -loglevel info \
    -probesize ${PROBESIZE} -analyzeduration ${ANALYZE_DURATION} \
    -f x11grab -video_size ${VIDEO_SIZE} -r ${FRAME_RATE} -draw_mouse 0 -i ${DISPLAY} \
    -f alsa -i default \
    -deinterlace -vcodec libx264 -pix_fmt yuv420p -preset fast \
    -r 30 -g 60 -b:v 2000k -bufsize 4000k \
    -acodec libmp3lame -ar 44100 -b:a 128k \
    -map 0:v:0 -map 1:a:0 -vsync 0 \
    -f flv "${RTMP_URL}" &


    


    Environment variables are set correctly (DISPLAY, VIDEO_SIZE, FRAME_RATE, etc.), and I replaced $RTMP_URL with the correct YouTube RTMP endpoint (e.g., rtmp ://a.rtmp.youtube.com/live2/). But nothing seems to work — the stream never starts or appears on YouTube, and sometimes I get timeout or "connection refused" errors.

    


    I've checked :

    


    That I'm logged into an active X session

    


    That I have access to the display (even tried xhost +)

    


    That ffmpeg has access to ALSA (sound seems okay)

    


    Questions :

    


    Am I missing something in my command ?

    


    Is there a better way to stream both screen and audio from an X server to YouTube Live ?

    


    Could this be a codec or YouTube-specific format issue ?

    


    Any help or working examples would be really appreciated. Thanks !

    


  • ffmpeg streaming to youtube

    8 novembre 2022, par SyndicatorBBB

    I've used the following command to stream mp4 file to youtube :

    


    ffmpeg -re -i merge.mp4 \&#xA;-c:v libx264 -preset veryfast -maxrate 3000k \&#xA;-bufsize 6000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 160k -ac 2 \&#xA;-ar 44100 -f flv rtmp://a.rtmp.youtube.com/live2/<mykey>&#xA;</mykey>

    &#xA;

    I see the ffmpeg streams the data like that :&#xA;enter image description here

    &#xA;

    but yet the youtube streaming page shows nothing yet received :&#xA;enter image description here

    &#xA;

    Any idea what am I missing ?

    &#xA;

  • youtube-dl download best quality and then convert to mp4 and mp3

    31 mars 2017, par JoJota

    I’m trying to download the best audio and video formats of a video with youtube-dl in python. After the download has finished youtube-dl should convert the video to mp4 and the audio to mp3 with the best video and audio quality. The original video and audio files should then get removed after the conversion is done.

    Is it possible to do this with only one command or especially with a maximum of two downloads (best video and best audio) ?