Recherche avancée

Médias (91)

Autres articles (105)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (8358)

  • Révision 23456 : Pour un site acceptant à la fois les connexions en HTTP et HTTPS, l’autorisation ...

    6 mars 2017, par esj@rezo.net
  • Autogenerate HTML5 tags from YouTube-DL

    13 novembre 2015, par Terence Eden

    I’m using youtube-dl to download videos I’ve stored on YouTube. It gives me the ability to download various formats, thumbnails, and subtitles.

    Is there any way I can automatically generate an HTML5 <video></video> snippet from the downloaded files ?

    For example, I’d like the end result to be .txt file containing :

    <video poster="file-160.jpg">
      <source src="file-135.mp4" type="video/mp4; codecs=mp4a.40.2, avc1.42001E">
      <source src="file-43.webm" type="video/webm; codecs=vorbis, vp8.0">
      ...
      <track kind="subtitles" src="file-160.en.srt">
    </track></source></source></video>

    At the moment, I have a file list like :

    • file-135.mp4
    • file-18.mp4
    • file-134.mp4
    • file-160.mp4
    • file-43.webm
    • file-5.flv
    • file-36.3gp
    • file-17.3gp
    • file-160.jpg
    • file-160.en.srt

    I can run some Python/Ruby/bash over them to generate the <source src="..."></source>code>, but the problem is, I don't know what codecs each of those videos are, so I can't generate the <code>; codecs= portion.

    Using avconv or ffmpeg I can get the codecs, but not in a suitable format for embedding into HTML.

    I’m wary of asking "what tool should I use" - but is there any way to get avconv/ffmpeg/youtube-dl to spit out the codec information in a format I can put into an HTML5 tag ?

    Or, is there a way to get YouTube-DL only to spit out HTML5 compatible files with known codecs ?

  • Using FFMPEG to stream my WebCam's video to YouTube

    12 mars 2017, par Indes

    I’ve been trying to use ffmpeg to stream my webcam’s video to YouTube and so far all I’ve managed was an "acknowledgement" from YouTube saying ’Starting’ in green. However it quickly goes gray and the actual stream never actually changes from offline.

    I’m using this command to try to stream it :

    ffmpeg -rtbufsize 1500M -r 25 -f dshow -s 1280x720 -i video="USB2.0 HD UVC WebCam" -vcodec h264 -b:a 600k -acodec libfaac -ab 128k -f flv "rtmp://a.rtmp.youtube.com/live2/user.useruser.codecodecode"

    CMD

    I’ve managed to stream videos to YouTube with ffmpeg, its just the camera that won’t work. Any idea what I might be doing wrong ?

    This is the command I’m using now
    ffmpeg -r 18 -f dshow -s 1280x720 -i video="USB2.0 HD UVC WebCam":audio="Microphone (Realtek High Definition Audio)" -vcodec h264 -b:v 1800k -acodec aac -strict experimental -f flv "rtmp://a.rtmp.youtube.com/live2/useruser.useruser.codecodecodecode"

    I’m now using -acodec aac instead of libfaac or libfdk_aac since I was getting "Unknown encoder" errors

    It is streaming a few seconds however, now I’m getting these errors :
    WriteN, RTMP send error 10053

    Any idea what these mean, or how to fix them ?