Recherche avancée

Médias (91)

Autres articles (57)

  • MediaSPIP en mode privé (Intranet)

    17 septembre 2013, par

    À partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
    Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
    Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (4885)

  • Download from YouTube as ".wav" instead of ".webm"

    11 août 2022, par Bastian Gerjol

    I am trying to extract an audio from a YouTube Video as an .wav file.
However, the script that I am running keeps giving me .webm files.
The code I am using is the following :

    


    from __future__ import unicode_literals
import youtube_dl

ydl_opts = {
    'format': 'bestaudio/best',
    'postprocessors': [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'wav',
        'preferredquality': '192'
    }],
    'postprocessor_args': [
        '-ar', '16000'
    ],
    'prefer_ffmpeg': True,
    'keepvideo': True
}

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
    ydl.download(['https://www.youtube.com/watch?v=2Xq7iJKzhR4'])


    


    Is there a way to change the output and keep the highest possible audio quality ?

    


    I tried setting prefer_ffmpeg': True to False & keepvideo': True to False but that did not change anything.

    


    I would appreciate suggestions and please keep in mind that I never used Python before.

    


  • 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
  • How YouTube identifies if a movie is shaky [closed]

    28 novembre 2012, par MollyRazor

    After uploading a movie to Youtube, it analyzes the movie and if it's shaky, then it gives the option to correct it. The correction works with ffmpeg, but is there any open source method to analyze whether a movie is shaky ?

    I can't understand StackOverflow moderators. This place is full of self righteous bastards.

    Mr. Moderator says in a comment : ffmpeg is open source. O REALLY ? Then what parameters to use so ffmpeg outputs => yes, this is a shaky movie or no, this isnt. Ah, you can't answer that, so you close this question.

    Have you even read the question thoroughly ? Then do so again please. I think by the age of 50 you can correctly interpret what was written and what the question was.

    Thank you.