Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (54)

  • MediaSPIP : Modification des droits de création d’objets et de publication définitive

    11 novembre 2010, par

    Par défaut, MediaSPIP permet de créer 5 types d’objets.
    Toujours par défaut les droits de création et de publication définitive de ces objets sont réservés aux administrateurs, mais ils sont bien entendu configurables par les webmestres.
    Ces droits sont ainsi bloqués pour plusieurs raisons : parce que le fait d’autoriser à publier doit être la volonté du webmestre pas de l’ensemble de la plateforme et donc ne pas être un choix par défaut ; parce qu’avoir un compte peut servir à autre choses également, (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (10085)

  • Passing stream of getUserMedia output to ffmpeg,How would i do that ?

    29 décembre 2016, par A Sahra

    I am using getUserMedia to get access to camera.while playing the captured video with getUserMedia i want to stream and broadcast it to all user in my page as Live stream using ffmpeg and ffserver,

    How would i post that stream to server(ffserver) for streaming it Live ?

    Here is the code for getUserMedia part

    window.addEventListener('DOMContentLoaded', function() {
    var v = document.getElementById('vlive');
    navigator.getUserMedia = (navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia);
    if (navigator.getUserMedia)
    {
    navigator.getUserMedia( { video:true, audio:true, },
    function(stream) {
    var url = window.URL || window.webkitURL;
    v.src = url ? url.createObjectURL(stream) : stream;
    v.play();
    },  
    function(error) { console.log('Good Job');
    alert('Something went wrong. (error code ' + error.code + ')');
    return;
    });
    }
    else {
    alert('Sorry, the browser you are using doesn\'t support getUserMedia');
    return;
    } });
  • FFMPEG spoils the extreme pixels when converting and cropping images [closed]

    20 décembre 2024, par Jacob

    I have a side image processing task in my work.
I am using the following command to translate a spherical panorama into a cubemap :

    


    Path/ffmpeg.exe -i "Path/PanoImageInput.png" -vf v360=equirect:c6x1:fin_pad=64:out_frot=002200,scale=-1:2048:flags=neighbor "Path/CubemapOutput.png"

    


    And then I slice it into separate images, 1 face for example :

    


    Path/ffmpeg.exe -i "Path/CubemapOutput.png" -vf crop=2048:2048:0:0 -sws_flags neighbor "Path/face_1.png"

    


    I get artifacts on both cubemap and images of this kind that really bother me :

    


    Cubemap image junction
The junction and part of the edge of the cubemap image

    


    The pixels at the junctions of the 6 images in cubemap and the outermost pixels of any images change their color slightly. This eventually leads to the appearance of visible seams in the scene assembled from the images.

    


    Is there any way I can get rid of them ?

    


    I have tried different interpolation methods in both functions : fast, bicubric, gauss, etc. It doesn't seem to have any effect.

    


    I also tried to crop a couple of pixels less, something like : crop=2040:2040:4:4

    


    I thought it was all because of cubemap and its distortions. Anyway, at the edges of the image, the extreme pixels change their hue.

    


    I also hoped that with the help of pad, during the conversion, I could somehow control the area where the pixels deteriorate, but it absolutely does not matter what I put there - fin_pad, fout_pad and any numbers for them, remove scale, set scale - neither the final image size changes, nor any extra fields appear. Most likely, I just don't understand what this function is really supposed to mean.

    


  • Want to convert my 16:9 size MKV video to 4:3 size AVI video file

    19 septembre 2012, par Bimal Rekhadiya

    I have a video in MKV format and it's size is 720x304 (16:9 ratio) size video.

    I want to convert it to AVi format (using xvid video codec). The output file size should be 480x360 (4:3 ratio) and also want to keep the original (16:9) ratio so it should be cinemascope (black areas at top and bottom).

    I am on Ubuntu linux OS so I can use mencoder, avconv(ffmpeg) or any tool that work on Linux.

    I am trying this command :

    avconv -i sample.mkv -vcodec libxvid -r 25 -b 1200 -aspect 4:3 -q 1 t.avi

    But the problem is that the video is stretched to 4:3 and I want to keep original video's ratio and want to add black boxes at top and bottom so it will look cinemascope.

    Please provide me command to do this.