Recherche avancée

Médias (1)

Mot : - Tags -/portrait

Autres articles (53)

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

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (11229)

  • 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