Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (101)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (12040)

  • Merge commit '2a2889e130fee6d3c11e506328388afb317626ed'

    5 mai 2017, par Clément Bœsch
    Merge commit '2a2889e130fee6d3c11e506328388afb317626ed'
    

    * commit '2a2889e130fee6d3c11e506328388afb317626ed' :
    build : Remove stray duplicate conditional variable declaration

    This commit is a noop, there is no duplicate in FFmpeg. we have the
    tools rules kept in the root Makefile though (see
    802d94c36edcd05b53a56ee359d9559cc4e11597)

    Merged-by : Clément Bœsch <cboesch@gopro.com>

  • avcodec/rv34 : Don't needlessly copy VLC length and symbol arrays

    22 octobre 2020, par Andreas Rheinhardt
    avcodec/rv34 : Don't needlessly copy VLC length and symbol arrays
    

    Most of the VLCs used by RealVideo 3 and 4 obey three simple rules :
    Shorter codes are on the left of the tree, for each length, the symbols
    are ascending from left to right and the symbols either form a
    permutation of 1..size or 0..(size - 1). For the latter case, one just
    needs to store the length of each symbol and create the codes according
    to the other rules ; no explicit code or symbol array must be stored.
    The former case is also treated in much the same way by artificially
    assigning a length of zero to the symbol 0 ; when a length of zero was
    encountered, the element was ignored except that the symbol counter was
    still incremented. If the length was nonzero, the symbol would be
    assigned via the symbol counter and the length copied over into a new
    array.

    Yet this is unnecessary, as ff_init_vlc_sparse() follows exactly the
    same pattern : If a length of zero is encountered, the element is ignored
    and only the symbol counter incremented. So one can directly forward the
    length array and also need not create a symbol table oneself, because
    ff_init_vlc_sparse() will infer the same symbol table in this case.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/rv34.c
  • how can I assign unique AVFoundation camera device names ?

    28 avril 2023, par mcgregor94086

    Short summary :&#xA;I have a USB multi-camera array device. According to system_profiler, each of these webcams share the same name : "USB Camera". I have no unique name I can use with FFMPEG AVFoundation and get images from that specific camera. How can I tell FFMPEG the specific camera that I want (each has a unique USB path that I normally use to identify a specific camera.

    &#xA;

    I can solve this problem on Linux, but I can't figure out how to do it on macOS.

    &#xA;

    How I might do this on Linux&#xA;I know the unique USB Path to each camera, and I would like to use this to assign a unique Name that I can address using FFMPEG when taking images. On Linux I can use the udev system to make those assignments,

    &#xA;

    In Linux, I can reassign a new unique camera name using /etc/udev/rules.d/60-v4l.rules. with something like this :

    &#xA;

    SUBSYSTEMS=="usb", ENVID_VENDOR_ID=="0bda", ENVID_MODEL_ID=="5829", ENVID_PATH_TAG==platform-fd500000_pcie-0000_01_00_0-usb_1_4_5_1_3_1_1, ENVID_V4L_PRODUCT="Cam_00"&#xA;SUBSYSTEMS=="usb", ENVID_VENDOR_ID=="0bda", ENVID_MODEL_ID=="5829", ENVID_PATH_TAG==platform-fd500000_pcie-0000_01_00_0-usb_1_4_5_1_3_1_3, ENVID_V4L_PRODUCT="Cam_01"&#xA;...

    &#xA;

    More details :&#xA;Of course macOS doesn't work this way, as it uses AVFoundation to address video devices.

    &#xA;

    When I attach the device I see that 16 new cameras now appear when I type query system_profiler SPCameraDataType, it prints the output shown further below

    &#xA;

    You may notice that there are 16 cameras all named "USB Camera :" but system_profiler is reporting that each has a "Unique ID :" that is different for each camera. This Unique ID is composed of a unique USB Path (e.g. '0x1441311') concatenated with the "Vendor ID" ('00bda') and product ID ('5829') all expressed in hexadecimal.

    &#xA;

    Unfortunately, this means every camera has the same generic name in iPhoto, and when specifying the input camera in FFMPEG with AVFoundation syntax, I can't seem to indicate which specific camera I want.

    &#xA;

    I want to take 1 photo from each camera in a specific order. I have a table that maps each camera's USB Path to a desired name that would make it easy for me to trigger the camera captures in the sequence I desire.

    &#xA;

    In Linux, I can reassign a new unique camera name using /etc/udev/rules.d/60-v4l.rules.

    &#xA;

    SUBSYSTEMS=="usb", ENVID_VENDOR_ID=="0bda", ENVID_MODEL_ID=="5829", ENVID_PATH_TAG==platform-fd500000_pcie-0000_01_00_0-usb_1_4_5_1_3_1_1, ENVID_V4L_PRODUCT="Cam_00"&#xA;SUBSYSTEMS=="usb", ENVID_VENDOR_ID=="0bda", ENVID_MODEL_ID=="5829", ENVID_PATH_TAG==platform-fd500000_pcie-0000_01_00_0-usb_1_4_5_1_3_1_3, ENVID_V4L_PRODUCT="Cam_01"&#xA;...

    &#xA;

    % system_profiler SPCameraDataType

    &#xA;

    Camera :

    &#xA;

    USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144131100bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144200000bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144141400bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144131300bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144141300bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144121200bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144121400bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144133000bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144131200bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144141100bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144143000bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144121300bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144110000bda5829&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144141200bda5829&#xA;&#xA;FaceTime HD Camera (Built-in):&#xA;&#xA;  Model ID: UVC Camera VendorID_1452 ProductID_34068&#xA;  Unique ID: 0x8020000005ac8514&#xA;&#xA;USB Camera:&#xA;&#xA;  Model ID: UVC Camera VendorID_3034 ProductID_22569&#xA;  Unique ID: 0x144300000bda5829&#xA;

    &#xA;

    MacBook Pro, OS X 10.11&#xA;Posted on Apr 27, 2023 10:49 PM&#xA;Reply

    &#xA;

    Page content loaded&#xA;There are no replies.&#xA;how can I assign unique AVFoundation camera device names ?&#xA;Reply

    &#xA;