Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (28)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (2150)

  • Streaming a WebPage to YouTube using FFMpeg

    30 mars 2020, par Pedro Lobito

    I’m trying to stream a webpage to YouTube using phantomjs and ffmpeg.
    Long question short :

    This works. The video is saved to test.flv :

    phantomjs runner.js|ffmpeg -y -f image2pipe -r 10 -s 1280x720 -i - -deinterlace -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -r 10 -g 20 -vb 400k -maxrate 400k -minrate 400k -bufsize 800k -threads 6 -q:v 0 -t 10 -f flv test.flv

    This doesn’t. Despite no errors, nothing is streamed to YouTube.

    phantomjs runner.js|ffmpeg -f image2pipe -r 10 -s 1280x720 -i - -deinterlace -vcodec libx264 -pix_fmt yuv420p -preset ultrafast -r 10 -g 2 -vb 400k -maxrate 400k -minrate 400k -bufsize 800k -threads 6 -q:v 0 -f flv rtmp://a.rtmp.youtube.com/live2/xxxxxxx

    Remarks :

    1. I’m aware phantomjs isn’t actively developed anymore, but this doesn’t seem
      relevant since the phantomjs script works as intended ;
    2. phantomjs script : runner.js ;
    3. I’ve tried different ffmpeg settings, like frame-rates, bit-rates and bufsize to no avail.
    4. Both commands are similar, but the 1st outputs to local-file test.flv while 2nd to YouTube ;
    5. I’ve used the YouTube streaming key on OBS Studio and it works normally ;
    6. ffmpeg output while streaming to YouTube :

    frame=   13 fps=0.0 q=42.0 size=      94kB time=00:00:00.50 bitrate=1531.0kbits/                                                                   frame=   18 fps= 16 q=40.0 size=     130kB time=00:00:01.00 bitrate=1063.6kbits/                                                                   frame=   23 fps= 14 q=44.0 size=     149kB time=00:00:01.50 bitrate= 810.8kbits/

    1. ffmpeg version 4.2.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers running on Ubuntu-1804

    Any idea of what can be wrong ?

  • ffmpeg won't livestream to youtube

    4 novembre 2019, par HeyItsDan

    I’m trying to write a simple "script" that allows me to stream a music radio to YouTube or any other platform but whenever I’m trying to test it, it won’t let me livestream at all, if anyone got a solution to this it would be very appreciated !

    StreamURL="xxxxxxxxxxxxxxxxxxxx"
    Key="xxxxxxxxxxxxxxxxxxxxxxxx"
    BackgroundPath="bg.jpg"
    NPPath="np.txt"

    ffmpeg \
    -re \
    -loop 1 \
    -framerate $FPS \
    -i $BackgroundPath \
    -s 1920x1080 \
    -ab 128k \
    -maxrate 2048k \
    -bufsize 2048k \
    -vf "drawbox=0:0:1920:100:black:fill, drawtext='fontfile=Arial\:style=Bold Italic:text=Now Playing':fontcolor=white:fontsize=35:x=20:y=20, drawtext=textfile='$NPPath':fontcolor=white:fontsize=28:x=20:y=58" \
    -c:a aac \
    -f flv $StreamURL$Key```
  • youtube-dl python script postprocessing error : FFMPEG codecs aren't being recognized

    23 septembre 2016, par stackPusher

    My python script is trying to download youtube videos with youtube-dl.py. Works fine unless postprocessing is required. The code :

    import youtube_dl

    options = {
       'format':'bestaudio/best',
       'extractaudio':True,
       'audioformat':'mp3',
       'outtmpl':'%(id)s',     #name the file the ID of the video
       'noplaylist':True,
       'nocheckcertificate':True,
       'postprocessors': [{
           'key': 'FFmpegExtractAudio',
           'preferredcodec': 'mp3',
           'preferredquality': '192',
       }]
    }

    with youtube_dl.YoutubeDL(options) as ydl:
       ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])

    Below is the output I receive :enter image description here

    I get a similar error if I try setting ’preferredcodec’ to ’opus’ or ’best’.
    I’m not sure if this is relevant, but I can run the command line counterpart fine :

    youtube-dl -o 'test2.%(ext)s' --extract-audio --audio-format mp3 --no-check-certificate https://www.youtube.com/watch?v=BaW_jenozKc

    I’ve gotten a few clues from the internet and other questions and from what i understand this is most likely an issue with my ffmpeg, which isn’t a python module right ? Here is my ffmpeg version and configuration :
    enter image description here

    If the answer to my problem is to add some configuration setting to my ffmpeg please explain how i go about doing that.