Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (78)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Ajout d’utilisateurs manuellement par un administrateur

    12 avril 2011, par

    L’administrateur d’un canal peut à tout moment ajouter un ou plusieurs autres utilisateurs depuis l’espace de configuration du site en choisissant le sous-menu "Gestion des utilisateurs".
    Sur cette page il est possible de :
    1. décider de l’inscription des utilisateurs via deux options : Accepter l’inscription de visiteurs du site public Refuser l’inscription des visiteurs
    2. d’ajouter ou modifier/supprimer un utilisateur
    Dans le second formulaire présent un administrateur peut ajouter, (...)

Sur d’autres sites (12483)

  • avutil/libm : correct isnan, isinf compat hacks

    15 novembre 2015, par Ganesh Ajjanagadde
    avutil/libm : correct isnan, isinf compat hacks
    

    isnan and isinf are actually macros as per the standard. In particular,
    the existing implementation has incorrect signature. Furthermore, this
    results in undefined behavior for e.g double values outside float range
    as per the standard.

    This patch corrects the undefined behavior for all usage within FFmpeg.

    Note that long double is not handled as it is not used in FFmpeg.
    Furthermore, even if at some point long double gets used, it is likely
    not needed to modify the macro in practice for usage in FFmpeg. See
    below for analysis.

    Getting long double to work strictly per the spec is significantly harder
    since a long double may be an IEEE 128 bit quad (very rare), 80 bit
    extended precision value (on GCC/Clang), or simply double (on recent Microsoft).
    On the other hand, any potential future usage of long double is likely
    for precision (when a platform offers extra precision) and not for range, since
    the range anyway varies and is not as portable as IEEE 754 single/double
    precision. In such cases, the implicit cast to a double is well defined
    and isinf and isnan should work as intended.

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Ganesh Ajjanagadde <gajjanagadde@gmail.com>

    • [DH] libavutil/libm.h
  • Working directory in Dockerfile is not what is expected to be

    31 mai 2022, par user1765862

    I have following Dockerfile

    &#xA;

    FROM public.ecr.aws/lambda/dotnet:6 AS base&#xA;&#xA;FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim as build&#xA;WORKDIR /src&#xA;COPY ["AWSServerless.csproj", "AWSServerless/"]&#xA;RUN dotnet restore "AWSServerless/AWSServerless.csproj"&#xA;&#xA;WORKDIR "/src/AWSServerless"&#xA;COPY . .&#xA;RUN dotnet build "AWSServerless.csproj" --configuration Release --output /app/build&#xA;&#xA;FROM build AS publish&#xA;&#xA;RUN apt-get update &amp;&amp; apt-get install -y apt-utils libgdiplus libc6-dev&#xA;&#xA;RUN apt-get install -y ffmpeg&#xA;&#xA;RUN dotnet publish "AWSServerless.csproj" \&#xA;            --configuration Release \ &#xA;            --runtime linux-x64 \&#xA;            --self-contained false \ &#xA;            --output /app/publish \&#xA;            -p:PublishReadyToRun=true  &#xA;&#xA;FROM base AS final&#xA;WORKDIR /var/task&#xA;&#xA;CMD ["AWSServerless::AWSServerless.LambdaEntryPoint::FunctionHandlerAsync"]&#xA;COPY --from=publish /app/publish .&#xA;

    &#xA;

    As per ffmpeg docs In order to use ffmpeg I need to set its binary folder&#xA;for example with

    &#xA;

    {&#xA;  "BinaryFolder": "/var/task",&#xA;  "TemporaryFilesFolder": "/tmp"&#xA;}&#xA;

    &#xA;

    Error

    &#xA;

    &#xA;

    An error occurred trying to start process './ffmpeg' with working&#xA;directory '/var/task'. No such file or directory

    &#xA;

    &#xA;

    What is the working directory here ?

    &#xA;

    Update :&#xA;Actual error is being thrown when I try to execute following command (FFMpegCore package) from my api controller

    &#xA;

    public class MyController : ControllerBase&#xA;{&#xA;    public async Task<string> Get()&#xA;    {    &#xA;         await FFMpegArguments&#xA;               .FromPipeInput(new StreamPipeSource(myfile))&#xA;               .OutputToPipe(new StreamPipeSink(outputStream), options => options&#xA;                  .WithVideoCodec("vp9")&#xA;                  .ForceFormat("webm"))&#xA;                  .ProcessAsynchronously();&#xA;         ...&#xA;    }    &#xA;}&#xA;</string>

    &#xA;

  • Support building C++ files with MSVC

    13 avril 2017, par Aaron Levinson
    Support building C++ files with MSVC
    

    Made appropriate changes to be able to successfully
    build C++ files using a Visual C++ build on Windows.

    Based on an earlier patch by Kyle Schwarz.

    Comments :

    — compat/w32pthreads.h : Made appropriate changes to w32pthreads.h to
    get it to build when it is being included in a C++ file and built
    with Visual C++. This is mostly a copy of Kyle Schwarz's patch as
    described above.

    — configure :
    a) Now calling set_ccvars CXX to cause the various CXX_ variables to
    be setup properly. For example, with MSVC (Microsoft Visual C++),
    this causes CXX_O to be set to -Fo$@ instead of using the default
    value. The default value does not work with Visual C++. This
    change will also have the impact of correcting CXX_O (and possibly
    CXX_C) for other compilers, although this is really only relevant
    for the Intel compiler, in addition to MSVC.
    b) Now using cl for the C++ compiler for the MSVC toolchain. This is
    currently only relevant for building the
    Blackmagic/Decklink-related files under avdevice.

    Signed-off-by : Hendrik Leppkes <h.leppkes@gmail.com>

    • [DH] compat/w32pthreads.h
    • [DH] configure