Recherche avancée

Médias (91)

Autres articles (61)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (5130)

  • 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

  • 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 !!

  • 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;