Recherche avancée

Médias (91)

Autres articles (51)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

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

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

Sur d’autres sites (7962)

  • Resolution switcher for HLS streaming

    19 septembre 2017, par Awais fiaz

    i am trying to add up a quality picker for users to select desired quality on which they want to play the video using video.js.I have tried using 2 or 3 open source plugins all of which were deprecated or having old code which is not supported now and the worst thing is many of the of the files are missing in them.is there any solution to add up quality picker for HLS streaming on video.js ?
    Any help would be much appreciated
    here is my sample code to play HLS streaming USING video.js

    the current plugin i am using is :
    https://github.com/streamroot/videojs-quality-picker

    <video class="video-js" controls="controls" preload="auto" width="640" height="264" data-setup="{}" autoplay="autoplay">
     <source src="legend_hls/legend_playlist.m3u8">

     <p class="vjs-no-js">
       To view this video please enable JavaScript, and consider upgrading to a web browser that
       <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
     </p>
    </source></video>
    <code class="echappe-js">&lt;script&gt;<br />
     videojs('my-video').qualityPickerPlugin();<br />
    &lt;/script&gt;
  • How to transcode a video to custom resolution using Xamarin.MP4Transcoder.Transcoder

    7 juillet 2017, par Prashant

    I need to transcode a video to 640*480 resolution using Xamarin.MP4Transcoder.Transcoder. Currently there are 2 available resolutions 720pFormat and 960x540Format. There is a method called Transcoder For (IMediaFormatStrategy strategy) available in Transcoder class.

    I can create MediaFormat object with MIME Type, Width and Height
    by below mentioned code snippet :

    MediaFormat obj = MediaFormat.CreateVideoFormat("video/mp4", 480, 640);


    but the problem is how can assign it to IMediaFormatStrategy or is there any other way to achieve this.

    Piece of code for Transcoding a video:

    Xamarin.MP4Transcoder.Transcoder.For960x540Format().ConvertAsync(inputFile, outputFile, f =>
                                {
                                  onProgress?.Invoke((int)(f * (double)100), 100);

                                  
                                } );

    inputFile: Video file which needs to be transcoded.
    outputFile: Resultant file generated after transcoding.

    For more info you can refer https://github.com/neurospeech/xamarin-android-ffmpeg

    Any help is appreciated. Thanks in advance !!

  • Is it possible to change resolution in second pass for ffmpeg multipass encodes ;x264 and x265 ?

    30 mai 2017, par Karthik M

    I have been using the following commands for two pass encodes

    ffmpeg -i <input /> -c:v libx265 -x265-params pass=1:crf=22 -f mp4 /dev/null
    ffmpeg -i <input /> -c:v libx265 -x265-params pass=2 <output>
    </output>

    If i try changing resolution in second pass with vf scale

    ffmpeg -i <input /> -vf scale=720:-2 -c:v libx265 -x265-params pass=2 <output>
    </output>

    i get `

    [Error]CU-tree frame type 87 doesn’t match actual frame type 0.

    `

    EDIT 1 : x264 and x265 have been around for years did someone not find a solution/hack to having multiple output resolutions using stats from first pass at a different resolution, atleast bitrate distribution would look same i presume