Recherche avancée

Médias (91)

Autres articles (58)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (8181)

  • Anomalie #3815 : sql_updateq qui ne fait pas de jointure

    10 août 2016, par Ybbet SPIP

    Donc, ce que tu veux dire, c’est qu’il n’est pas possible de faire ce type de requête avec l’API de SPIP ?

    1. <span class="CodeRay"><span class="class">UPDATE</span> spip_mots <span class="keyword">as</span> mots, spip_groupes_mots <span class="keyword">as</span> groupes <span class="class">SET</span> mots.type=groupes.titre <span class="keyword">WHERE</span> mots.id_groupe=groupes.id_groupe
    2. </span>

    Télécharger

    Cette requête MySQL est pourtant "commune".
    Bien entendu, on peut lancer cette requête avec la fonction sql_query()

  • v4l2loopback+ffmpeg input for uvc gadget

    13 mai, par Mosi

    I'm trying to use an MP4 video file as the input for a UVC Gadget setup on my Raspberry Pi 4 Model B, but I'm running into an issue when streaming through V4L2.

    &#xA;

    Goal :

    &#xA;

    To emulate a webcam that streams a looping MP4 video file to a Windows 11 host.

    &#xA;

    My setup :

    &#xA;

      &#xA;
    • Hardware : Raspberry Pi 4 Model B
    • &#xA;

    • OS : Raspberry Pi OS Lite 64-bit (2025-05-06-raspios-bookworm-arm64-lite)
    • &#xA;

    • Kernel : 6.12.25&#x2B;rpt-rpi-v8
    • &#xA;

    • Host System : Windows 11
    • &#xA;

    • UVC Gadget version : v0.3.0
    • &#xA;

    &#xA;

    Workflow :

    &#xA;

    [MP4 Video] → [FFmpeg] → [V4L2 Loopback] → [UVC Gadget] → Windows sees virtual webcam&#xA;

    &#xA;

    What works :

    &#xA;

    The UVC Gadget works perfectly when I use a real webcam as the source (e.g., /dev/video0). Windows detects the virtual webcam and displays a smooth video stream.

    &#xA;

    The problem :

    &#xA;

    When I try to use an MP4 video file through FFmpeg and send it to the loopback device (/dev/video3), the UVC Gadget fails with the following error :

    &#xA;


    &#xA;

    Command I'm using :

    &#xA;

    ffmpeg -re -stream_loop -1 -i input.mp4 -vf scale=640:480 \&#xA;  -c:v rawvideo -pix_fmt yuyv422 -r 30 -f v4l2 /dev/video3&#xA;

    &#xA;

    Then I run :

    &#xA;

    sudo uvc-gadget -d /dev/video3 uvc.0&#xA;

    &#xA;

    Output :

    &#xA;

    bRequestType 21 bRequest 01 wValue 0200 wIndex 0001 wLength 0022&#xA;streaming request (req SET_CUR cs 02)&#xA;setting commit control, length = 34&#xA;Setting format to 0x56595559 640x480&#xA;=== Setting frame rate to 30 fps&#xA;Starting video stream.&#xA;--> [At this point I open the camera on the Windows host]&#xA;/dev/video3: 2 buffers requested.&#xA;Failed to export buffer 0.&#xA;Failed to export buffers on source: Inappropriate ioctl for device (25)&#xA;

    &#xA;


    &#xA;

    Things I've tried :

    &#xA;

      &#xA;
    • Multiple FFmpeg formats, resolutions, and pixel formats
    • &#xA;

    • Various ffmpeg buffer and framerate tweaks
    • &#xA;

    • Different UVC Gadget versions
    • &#xA;

    • GitHub related projects (showcamera, etc.)
    • &#xA;

    • Older Raspberry Pi OS versions
    • &#xA;

    &#xA;

    Most guides and GitHub projects I found are outdated (5+ years old), and newer methods seem undocumented or incompatible with current kernel/UVC gadget tools.

    &#xA;


    &#xA;

    My question :

    &#xA;

    How can I stream an MP4 file as a virtual webcam using UVC Gadget without getting ioctl errors ?
    &#xA;Is there a proper way to set up FFmpeg and loopback devices so that UVC Gadget can read the stream correctly ?

    &#xA;

    Any modern working example or tips would be very appreciated. Thanks in advance !

    &#xA;

  • What are the gotchas of using statically linked libraries in serverless platforms such as Google Cloud Functions ?

    5 septembre 2017, par Dzh

    Libraries such as ffmpeg-static upload statically linked binaries onto container.

    I wonder what are the drawbacks of using this approach ?

    Does the library size counts against your memory use (it’s billed by GCloud) ?

    Does it slow down the container ? Perhaps some future-proofing issues ?

    Edit : Found something of a related (I wanted to setup OpenCV) on AWS blog. It doesn’t explain drawbacks, just shows how to do it exactly.