Recherche avancée

Médias (2)

Mot : - Tags -/plugins

Autres articles (20)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (2659)

  • Discord.py - Streaming Youtube Live into Voice

    4 juin 2021, par SUPER MECH M500

    I'm back on the stacks, was banned from asking questions because they were terrible apparently, but I need help on something I've done a lot of research on but cannot find my answer ;

    


    I need to be able to stream a youtube live stream's audio into a VC for radio music using discord.py Rewrite. I've been looking at Youtube_DL- and/or FFMpeg-related internet posts and all were either outdated (discord.py==0.16.x) or involved downloading youtube videos (can't do that with ongoing streams).

    


    And I've also tried to look through the discord.py v0.16.12 voice_client.py create_ytdl_player. But to no avail, I could not find any solutions.

    


    This is my current situation in my code. It is a background task in one of my cogs.

    


        @loop(seconds=5)
    async def check_voice(self):
        try:
            channel = await self.bot.fetch_channel(819346920082112532)
        except NotFound:
            print("[IR] `韎
  • Stream to youtube from xvfb using ffmpeg and x11grab

    13 décembre 2017, par Ivan Sergeev

    I want to make stream from virtual display to youtube via ffmpeg.
    I’m using this code :

    #! /bin/bash

    BITRATE="2500k"                                    
    FPS="30"                                      

    YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"  
    YOUTUBE_KEY="..."                                    

    SOURCE="./test.mp4"

    export DISPLAY=44
    sudo xvfb-run -a -n 44 -l -s "-screen 0, 1280x720x24" google-chrome -start-maximized https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif --no-sandbox >/dev/null &

    ffmpeg -threads 0 -y -v verbose -re \
    -f x11grab -video_size 1280x720 -i :44 \
    -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -r $FPS -g $(($FPS * 2)) -b:v $BITRATE -bufsize 512k \
    -acodec libmp3lame -ar 44100 -threads 0 -crf 25 -b:a 712000 -bufsize 512k \
    -f flv "$YOUTUBE_URL/$YOUTUBE_KEY"

    And I don’t receive any errors, but youtube cannot start stream(

    In my log :

    Stream mapping:
    Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    frame=    4 fps=0.0 q=17.0 size=      72kB time=00:00:00.50 bitrate=1186.9kbits/s
    frame=    6 fps=5.9 q=17.0 size=     106kB time=00:00:00.93 bitrate= 931.2kbits
    frame=    8 fps=5.3 q=17.0 size=     141kB time=00:00:01.36 bitrate= 846.4kbits/s
    frame=   11 fps=5.4 q=16.0 size=     188kB time=00:00:02.00 bitrate= 771.9kbits/s
    frame=   13 fps=5.2 q=15.0 size=     217kB time=00:00:02.43 bitrate= 730.5kbits/s
    frame=   15 fps=5.0 q=14.0 size=     241kB time=00:00:02.86 bitrate= 687.2kbits/s
    frame=   18 fps=5.1 q=14.0 size=     270kB time=00:00:03.53 bitrate= 625.2kbits/s
    frame=   20 fps=4.9 q=15.0 size=     294kB time=00:00:03.96 bitrate= 608.3kbits/s

    etc.

    However, if I do stream from file, but not x11grab stream is starting normal.

    What I’m doing wrong ?
    Any ideas, guys, please)

  • YouTube Live not working with FFMPEG

    29 septembre 2020, par Benedikt Neumayr

    EDIT : It already works. My new router seems to block rtmp traffic. I edited the firewall config and now it works !
    
I'm trying to stream to YouTube with ffmpeg with the following command :

    



    ffmpeg -f alsa -ac 2 -i hw:0,0 -f v4l2 -s 1280x720 -r 10 -i /dev/video0 -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -strict experimental -r 25 -g 20 -b:v 2500k -codec:a libmp3lame -ar 44100 -b:a 11025 -bufsize 512k -f flv rtmp://a.rtmp.youtube.com/live2/45ee-qka9-0djm-796z   


    



    My ffmpeg version 2.8.11 on Linux Mint 18.2 then says :

    



    Input #0, alsa, from 'hw:0,0':
  Duration: N/A, start: 1511081240.166016, bitrate: 1536 kb/s
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s 
[video4linux2,v4l2 @ 0xacba60] The driver changed the time per frame from 1/10 to 2/15
Input #1, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 5907.755626, bitrate: 110592 kb/s
    Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 1280x720, 110592 kb/s, 7.50 fps, 7.50 tbr, 1000k tbn, 1000k tbc


    



    After that it does nothing for about 3 minutes,then it finally returns the following error :

    



    RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
rtmp://a.rtmp.youtube.com/live2: Unknown error occurred


    



    I used these instructions :