Recherche avancée

Médias (0)

Mot : - Tags -/tags

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

Autres articles (28)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (7257)

  • Decoding H.264 video from h264_v4l2m2m on Raspberry Pi 4

    10 août 2022, par Javier Lancha Vázquez

    Problem Summary

    


    I am trying to live-stream video from my Raspberry Pi 4 using the h264_v4l2m2m codec (HWA). At the receiving end, I am using the Broadway decoder. For lower resolutions (320x320 @ 60fps) the decoded video quality is fine. However, when I increase the resolution I start to notice a strange tessellation effect as in the following captures :

    


    Tessellation effect on higher resolution (960x960)

    


    I tried other codecs and players (mpeg1video and jsmpeg as a decoder), but at higher resolutions only the hardware accelerated H.264 reaches an acceptable frame rate. For my particular application I do not need audio.

    


    Things tried

    


    I am running the following command to launch ffmpeg on a separate process :

    


    ffmpeg -hide_banner -fflags nobuffer -f rawvideo -pixel_format yuv420p -s 960x960  \
-i tcp://127.0.0.1:15000?listen=1 -f h264 -codec:v h264_v4l2m2m -s 960x960 -profile:v 66 \
-level 4.2 -coder 0 -bf 0 -an -b:v 4M tcp://0.0.0.0:15001?listen=1


    


    I then send the H.264 NAL Units using a WebSocket.

    


    The following snippet is my adjusted example application for decoding the received frames.

    


    &#xA;&#xA;&#xA;&#xA;  &#xA;  &#xA;&#xA;&#xA;&#xA;  <h1>PiCamera H264 Streaming</h1>&#xA;  <div></div>&#xA;  <code class="echappe-js">&lt;script src='http://stackoverflow.com/feeds/tag/&amp;#38;#x27;Decoder.js&amp;#38;#x27;'&gt;&lt;/script&gt;&#xA;  &lt;script src='http://stackoverflow.com/feeds/tag/&amp;#38;#x27;YUVCanvas.js&amp;#38;#x27;'&gt;&lt;/script&gt;&#xA;  &lt;script src='http://stackoverflow.com/feeds/tag/&amp;#38;#x27;Player.js&amp;#38;#x27;'&gt;&lt;/script&gt;&#xA;  &lt;script&gt;&amp;#xA;    // player&amp;#xA;    window.player = new Player({ useWorker: true, webgl: false })&amp;#xA;    var playerElement = document.getElementById(&amp;#x27;viewer&amp;#x27;)&amp;#xA;    playerElement.appendChild(window.player.canvas)&amp;#xA;    // Websocket&amp;#xA;    var wsUri = window.location.protocol.replace(/http/, &amp;#x27;ws&amp;#x27;) &amp;#x2B; &amp;#x27;//&amp;#x27; &amp;#x2B; window.location.hostname &amp;#x2B; &amp;#x27;:20000&amp;#x27;&amp;#xA;    var ws = new WebSocket(wsUri)&amp;#xA;    ws.binaryType = &amp;#x27;arraybuffer&amp;#x27;&amp;#xA;    ws.onopen = function (e) {&amp;#xA;      console.log(&amp;#x27;Client connected&amp;#x27;)&amp;#xA;      ws.onmessage = function (msg) {&amp;#xA;        // decode stream&amp;#xA;        let data = new Uint8Array(msg.data);&amp;#xA;        console.log(data);&amp;#xA;        window.player.decode(data);&amp;#xA;      }&amp;#xA;    }&amp;#xA;    ws.onclose = function (e) {&amp;#xA;      console.log(&amp;#x27;Client disconnected&amp;#x27;)&amp;#xA;    }&amp;#xA;  &lt;/script&gt;&#xA;&#xA;&#xA;&#xA;

    &#xA;

    Question

    &#xA;

    What am I missing ? Is it some option on ffmpeg, or could it be, that the decoder is not able to fully process the received frames. I have tried multiple bitrate settings to no avail.

    &#xA;

  • Is it possible to embed ffplay ?

    18 mars, par EthanL

    ffmpeg's viewer, ffplay, has a lot of great options for optimizing viewing experience. I've been able to get it to nicely display an RTSP stream at low latency. However, it's been difficult to include it in a GUI.

    &#xA;

    Is that possible ? Is there a GUI that does that ?

    &#xA;

    Note : I am NOT trying to embed in a browser, or just toss the window on top of a GUI.

    &#xA;

    Best solution : desktop GUI that includes ffplay in a widget

    &#xA;

    First alternative : desktop GUI that has variable opacity. If the ffplay window is layered below the GUI, and the GUI is transparent, it could look decent. However, some buttons would have to be visible, so the entire window can't be transparent.

    &#xA;

    Second alternative : disable the possibility of user interaction with the ffplay window. Then, the ffplay window could just be tossed to the side of the screen, and it would remain there as a split screen, without concern that a user could minimize it or move it.

    &#xA;

  • Tesselation effect on decoded H.264 video from h264_v4l2m2m on Raspberry Pi 4

    5 août 2022, par Javier Lancha Vázquez

    Problem Summary

    &#xA;

    I am trying to live-stream video from my Raspberry Pi 4 using the h264_v4l2m2m codec (HWA). At the receiving end, I am using the Broadway decoder. For lower resolutions (320x320 @ 60fps) the decoded video quality is fine. However, when I increase the resolution I start to notice a strange tessellation effect as in the following captures :

    &#xA;

    Tessellation effect on higher resolution (960x960)

    &#xA;

    I tried other codecs and players (mpeg1video and jsmpeg as a decoder), but at higher resolutions only the hardware accelerated H.264 reaches an acceptable frame rate. For my particular application I do not need audio.

    &#xA;

    Things tried

    &#xA;

    I am running the following command to launch ffmpeg on a separate process :

    &#xA;

    ffmpeg -hide_banner -fflags nobuffer -f rawvideo -pixel_format yuv420p -s 960x960  \&#xA;-i tcp://127.0.0.1:15000?listen=1 -f h264 -codec:v h264_v4l2m2m -s 960x960 -profile:v 66 \&#xA;-level 4.2 -coder 0 -bf 0 -an -b:v 4M tcp://0.0.0.0:15001?listen=1&#xA;

    &#xA;

    I then send the H.264 NAL Units using a WebSocket.

    &#xA;

    The following snippet is my adjusted example application for decoding the received frames.

    &#xA;

    &#xA;&#xA;&#xA;&#xA;  &#xA;  &#xA;&#xA;&#xA;&#xA;  <h1>PiCamera H264 Streaming</h1>&#xA;  <div></div>&#xA;  <code class="echappe-js">&lt;script src='http://stackoverflow.com/feeds/tag/&amp;#38;#x27;Decoder.js&amp;#38;#x27;'&gt;&lt;/script&gt;&#xA;  &lt;script src='http://stackoverflow.com/feeds/tag/&amp;#38;#x27;YUVCanvas.js&amp;#38;#x27;'&gt;&lt;/script&gt;&#xA;  &lt;script src='http://stackoverflow.com/feeds/tag/&amp;#38;#x27;Player.js&amp;#38;#x27;'&gt;&lt;/script&gt;&#xA;  &lt;script&gt;&amp;#xA;    // player&amp;#xA;    window.player = new Player({ useWorker: true, webgl: false })&amp;#xA;    var playerElement = document.getElementById(&amp;#x27;viewer&amp;#x27;)&amp;#xA;    playerElement.appendChild(window.player.canvas)&amp;#xA;    // Websocket&amp;#xA;    var wsUri = window.location.protocol.replace(/http/, &amp;#x27;ws&amp;#x27;) &amp;#x2B; &amp;#x27;//&amp;#x27; &amp;#x2B; window.location.hostname &amp;#x2B; &amp;#x27;:20000&amp;#x27;&amp;#xA;    var ws = new WebSocket(wsUri)&amp;#xA;    ws.binaryType = &amp;#x27;arraybuffer&amp;#x27;&amp;#xA;    ws.onopen = function (e) {&amp;#xA;      console.log(&amp;#x27;Client connected&amp;#x27;)&amp;#xA;      ws.onmessage = function (msg) {&amp;#xA;        // decode stream&amp;#xA;        let data = new Uint8Array(msg.data);&amp;#xA;        console.log(data);&amp;#xA;        window.player.decode(data);&amp;#xA;      }&amp;#xA;    }&amp;#xA;    ws.onclose = function (e) {&amp;#xA;      console.log(&amp;#x27;Client disconnected&amp;#x27;)&amp;#xA;    }&amp;#xA;  &lt;/script&gt;&#xA;&#xA;&#xA;&#xA;

    &#xA;

    Question

    &#xA;

    What am I missing ? Is it some option on ffmpeg, or could it be, that the decoder is not able to fully process the received frames. I have tried multiple bitrate settings to no avail.

    &#xA;