Recherche avancée

Médias (91)

Autres articles (68)

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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

Sur d’autres sites (6968)

  • streaming on youtube with ffmpeg [on hold]

    20 septembre 2017, par Bojan Dedić

    I found this code on internet and it works great for streaming live videos on youtube. Only problem is that I need to stream every video which is inside folder "videos", not only just one.

    VBR="2500k"                          
    sortie
    FPS="30"              
    QUAL="medium"                                  
    YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2"  

    SOURCE="video.mp4"    
    KEY="..."

    ffmpeg \
      -i "$SOURCE" -deinterlace \
      -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
      -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \
      -f flv "$YOUTUBE_URL/$KEY"

    This is what i came up with :

    for f in *.mp4; do
       ffmpeg \
           -i "$f" -deinterlace \
           -vcodec libx264 -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
           -acodec libmp3lame -ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \
           -f flv "$YOUTUBE_URL/$KEY"
    done
  • Two rtsp streams to youtube on a Pi3

    19 mars 2020, par Sébastien Bonaimé

    I want to stream two rtsp camera from my birdbox to youtube from my raspberry pi 3 with the entrance in Pip (picture in picture) on top left. I don’t need sound.enter image description here

    192.168.1.13 can do 30 fps with sound that I don’t need
    192.168.1.31 is only 12 fps without sound

    I have some problems of lag between the two camera on the youtube stream which I think is due to the different fps. I compile ffmpeg with h264. Here is what I did

    ffmpeg -re -f lavfi -i anullsrc -rtsp_transport udp -thread_queue_size 1000k -i rtsp://admin:123@192.168.1.13:554 -i rtsp://admin:@192.168.1.31:554 -filter_complex "[1]scale=iw/4:ih/4[pip]; [2][pip] overlay=0:0"   -framerate 13  -bufsize 512k  -b:v 1500k -threads 4 -q:v 3  -c:v h264_omx  -c:a aac -f flv rtmp://a.rtmp.youtube.com/live2/XXX-XXXX-XXX

    and here are the errors

    [h264 @ 0x20ddd30] error while decoding MB 69 67, bytestream -6rate=1589.2kbits/s dup=0 drop=6 speed=0.997x
    [h264 @ 0x20ddd30] concealing 100 DC, 100 AC, 100 MV errors in I frame
    rtsp://admin:@192.168.1.31:554: corrupt decoded frame in stream 0te=1589.0kbits/s dup=0 drop=6 speed=0.997x
    [rtsp @ 0x1f2cea0] max delay reached. need to consume packetbitrate=1589.2kbits/s dup=0 drop=6 speed=0.997x
    [rtsp @ 0x1f2cea0] RTP: missed 35 packets
    [h264 @ 0x2099580] error while decoding MB 60 30, bytestream -6rate=1589.3kbits/s dup=0 drop=6 speed=0.997x
    [h264 @ 0x2099580] concealing 4549 DC, 4549 AC, 4549 MV errors in I frame
    rtsp://admin:@192.168.1.31:554: corrupt decoded frame in stream 0
    [rtsp @ 0x1f2cea0] max delay reached. need to consume packetbitrate=1588.9

    What can I do to improve the stream ? When a bird enter the box, there is also a quality problem when the image is changing and some lagging.
    You can have a look here
    https://www.youtube.com/watch?v=iisbinyvSFk&feature=youtu.be

    Thank you

  • Is it possible to seek through streamed youtube audio with discord.py (play from a given timestamp in the video) ?

    13 juin 2020, par apc518

    Unfortunately passing in a URL with a &t= tag does not cause discord.py's VoiceClient to start playing at that timestamp. I'm using youtube_dl.

    



    Is is possible to seek through audio within discord.py in order to start streaming a YouTube video from somewhere besides the start ?

    



    I know some professional bots like Groovy have seek commands for streamed YouTube videos, so the Discord API itself is capable of this.

    



    The code I'm using is from here.