Recherche avancée

Médias (0)

Mot : - Tags -/albums

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (71)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

Sur d’autres sites (8472)

  • Android ffmpeg usage - I want reduce the output apk file size - Iam Using only for image to webp conversion

    3 juin 2022, par Fazl Faisal

    FFMPEG - Android Only using for jpg to webp conversion. But the apk file size is very big.
I want know where rules want to change for reducing the APK file size. Please Help

    


        List<string> commandList = new LinkedList&lt;>();&#xA;    commandList.add("-i");&#xA;    commandList.add(imageFilePath);&#xA;    commandList.add("-vcodec");&#xA;    commandList.add("webp");&#xA;    commandList.add("-loop");&#xA;    commandList.add("0");&#xA;    commandList.add("-pix_fmt");&#xA;    commandList.add("yuv420p");&#xA;    commandList.add(outputPath);&#xA;&#xA;    String[] cropCommand  = commandList.toArray(new String[commandList.size()]);&#xA;&#xA;    FFmpegSession session = FFmpegKit.execute(cropCommand);&#xA;&#xA;    if (ReturnCode.isSuccess(session.getReturnCode())) {&#xA;&#xA;        fp.ToastDebug("Success");&#xA;&#xA;    } else if (ReturnCode.isCancel(session.getReturnCode())) {&#xA;&#xA;        fp.ToastDebug("CANCEL");&#xA;&#xA;    } else {&#xA;&#xA;        fp.AlertDebug("ffmpeg: "&#x2B; String.format("Command failed with state %s and rc %s.%s", session.getState(), session.getReturnCode(), session.getFailStackTrace()));&#xA;        fp.Log("ffmpeg: "&#x2B; String.format("Command failed with state %s and rc %s.%s", session.getState(), session.getReturnCode(), session.getFailStackTrace()));&#xA;&#xA;    }&#xA;</string>

    &#xA;

  • How to impose PNG stream over exist video using ffmpeg and image2pipe ?

    16 avril 2019, par Михаил Магомедов

    I reproduce the steps of this article with nodeJs :

    https://blog.scwu.io/rendering-canvas-to-mp4-using-nodejs/

    I not need to generate a new video from the stream of png pictures, me need impose png stream over exist video, please tell me how to do it ?

    var recorder = spawn("ffmpeg", [
       "-y", "-f", "image2pipe",
       "-vcodec", "png", "-r", "60",
       "-i", "-", "-vcodec", "h264",
       "-r", "60", "output.mp4"
    ]);

    for(var i = 0; i&lt;100; i++){
       ...some ctx processing
       let url = canvas.toDataURL(),
           data = atob( url.substring(url.indexOf("base64") + 7) );

       recorder.stdin.write(data, "binary");
    }

    recorder.stdin.end();
  • Real time stereo video stream. How to start

    29 juin 2015, par victor jung

    Here is my problem :

    I have at one side two webcams plugged in a linux computer, and on the other side, an android smartphone. My goal is to program a real time stream of the 2 webcams, and display that stream on the smartphone (to be used in a google cardboard mask). I read quite a lot on the subject, and I found several way to achieve this.

    First there is ffmpeg, which could encode and stream.

    But I need to modify the pictures at some point, to re-size them / or to ad some kind of distortion. So I thought it would be great if I can get the 2 images, with openCv maybe, playwith them, build a new one, and stream them, but how could ffmpeg deal with the newly created image ?

    The other option would be to get the 2 pics and play with them with openCv too, but then, hardcode a stream over, UDP in RTP style, but wouldnt be hard to display the stream nicely on the phone ?, and how to cut the image to fit in small packets ?

    Thanks for your help, I am still digging in the subject, so if you have any other way to do it I am taking !

    ps : My introducing Hello, won’t stay at the beginning of my message...
    Have a nice day every body.
    d-4 before frieday.