Recherche avancée

Médias (1)

Mot : - Tags -/embed

Autres articles (45)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • 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

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (5815)

  • configure : Include quotes around pkg_version

    16 décembre 2024, par Joe Schiffler
    configure : Include quotes around pkg_version
    

    In some MSYS environments it can happen that the 3 argument syntax
    for pkg-config library specifications fails because somehow the
    expansion of pkg_version ends up with a redirection we guess.

    To avoid failures like in the referenced build[2], we quote it
    so the whole module including operators will be expanded into
    a single shell word and the single argument syntax for specifying
    the library for pkg-config will be used.

    The single argument syntax seems to be supported by the original
    pkg-config from the beginning more than 20 years[3].

    In the pkgconf implementation single argument syntax was supported
    pretty much from the beginning as well. The multiple argument syntax
    we used until this change, was not supported until a change[4] more
    than 10 years ago.

    References


    1. Build passing with quotes :
    https://github.com/JoeSchiff/pyav-ffmpeg/actions/runs/12358403929
    2. Build failing without quotes :
    https://github.com/JoeSchiff/pyav-ffmpeg/actions/runs/12360472377
    3. Earliest commit of the current pkg-config Git repo already mentions the single argument syntax :
    https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/2ac96cbcc708d8945329fd1b2001386e1c895c64#124c0becfe68b1ef671f49ed2b9d24779ace126f_0_162
    4. pkgconf gets support for 3 argument syntax (pkgconf —exists liba = 1.2.3) :
    https://github.com/pkgconf/pkgconf/commit/793de6a06ca52fbfe906a269b5f2b2ba41739517

    Commit-message-by : Alexander Strasser <eclipse7@gmx.net>
    Signed-off-by : Joe Schiffler <joeschiffler3@gmail.com>
    Signed-off-by : Alexander Strasser <eclipse7@gmx.net>

    • [DH] configure
  • Is Replacing Dynamic Resolution with scale_amf in FFmpeg Command a Good Direction ?

    21 novembre 2024, par fred

    I'm working on a Lua script for MPV that processes 360-degree videos using FFmpeg's v360 filter. The original command dynamically calculates the output resolution based on a res variable, like this :

    &#xA;

    mp.command_native_async({&#xA;    "no-osd", "vf", "add", &#xA;    string.format(&#xA;        "@vrrev:v360=%s:%s:reset_rot=1:in_stereo=%s:out_stereo=2d:&#xA;id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f:&#xA;w=%s*192.0:h=%.3f*108.0:h_flip=%s:interp=%s",&#xA;        in_flip, inputProjection, outputProjection, in_stereo, idfov, dfov, yaw, pitch, roll, res, res, h_flip, scaling&#xA;    )&#xA;}, updateComplete)&#xA;

    &#xA;

    Change Proposal :

    &#xA;

    I am considering replacing the dynamic width and height calculations with a scale_amf filter to handle scaling more efficiently and leverage GPU acceleration. The updated command would look like this :

    &#xA;

    mp.command_native_async({&#xA;    "no-osd", "vf", "add", &#xA;    string.format(&#xA;        "@vrrev:v360=%s:%s:reset_rot=1:in_stereo=%s:out_stereo=2d:&#xA;id_fov=%s:d_fov=%.3f:yaw=%.3f:pitch=%s:roll=%.3f,&#xA;%sscale_amf=w=%.0f:h=%.0f",&#xA;        inputProjection, outputProjection, in_stereo, idfov, dfov, yaw, pitch, roll, in_flip, res * 192.0, res * 108.0&#xA;    )&#xA;

    &#xA;

    Hardware Specifications :

    &#xA;

    I am using an AMD Ryzen 5 5600G, no display card, 16GB RAM, Windows 10.

    &#xA;

    Questions :

    &#xA;

    Is using scale_amf for scaling a good direction in terms of performance and efficiency ?&#xA;Are there any potential drawbacks to this approach that I should be aware of ?&#xA;How does using scale_amf compare to the original dynamic resolution method in terms of output quality and processing speed ?&#xA;}, updateComplete)

    &#xA;

    Any insights or experiences with this change would be greatly appreciated !

    &#xA;

  • How to decode frames from MDAT atom extracted from mp4 video [closed]

    24 septembre 2024, par Gurinderbeer Singh

    I am new to video codecs and learning video file format specifications. I have read about QUICKTIME file format specifications from here, and MP4 file format (which is almost similar) from here. There are atoms such FTYPE, MOOV, MDAT etc. The MDAT atom contains actual audio and video data. The MOOV atom contains information about how to extract data from MDAT, it gives references to chunks (samples).

    &#xA;&#xA;

    I want to extract the video samples in MDAT atom from video file without using any tool such ffmpeg, or juggler etc. I can write my own code for this. The problem is, even if I can locate the video data (samples) in MDAT by using information from MOOV, these samples are compressed. And we need to uncompress these to get frames.&#xA;My question is can we uncompress the samples extracted from MDAT and get the actual video frames ?

    &#xA;&#xA;

    Tools such as xuggler, ffmpeg etc are used to extract frames from video files. &#xA;But here I want to extract the samples(for video data) from MDAT by writing my own code, but then I want to uncompress those by using some tool. I don't want to write codecs.

    &#xA;&#xA;

    Can anyone please help me with this....!

    &#xA;&#xA;

    Thanks...

    &#xA;