Recherche avancée

Médias (91)

Autres articles (60)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (7402)

  • Streaming webm with ffmpeg/ffserver

    20 octobre 2014, par Mediocre Gopher

    I’m attempting to cast my desktop screen to an ffserver and stream it as a webm. I’m using the following ffserver configuration :

    <feed>               # This is the input feed where FFmpeg will send
      File ./feed1.ffm            # video stream.
      FileMaxSize 1G              # Maximum file size for buffering video
      ACL allow 127.0.0.1
      ACL allow localhost
    </feed>

    <stream>              # Output stream URL definition
      Feed feed1.ffm              # Feed from which to receive video
      Format webm

      # Audio settings
      AudioCodec vorbis
      AudioBitRate 64             # Audio bitrate

      # Video settings
      VideoCodec libvpx
      VideoSize 720x576           # Video resolution
      VideoFrameRate 25           # Video FPS

      AVOptionVideo cpu-used 10
      AVOptionVideo qmin 10
      AVOptionVideo qmax 42
      AVOptionVideo quality good
      AVOptionAudio flags +global_header
      PreRoll 15
      StartSendOnKey
      VideoBitRate 400            # Video bitrate
    </stream>

    And the following command on my desktop :

    ffmpeg -f x11grab -r 25 -s 1280x800 -i :0.0 -f alsa -i pulse http://127.0.0.1:8090/feed1.ffm

    With ffmpeg being version 2.4.2 and with libvpx enabled (latest on Arch). I get the error :

    [libvpx @ 0x20a21a0] CQ level 0 must be between minimum and maximum quantizer value (10-42)

    On the client side. As far as I can tell from calling ffmpeg -h full there’s no way of setting the cq-level, and setting qmin to 0 doesn’t work (it ends up as 3 for some reason, I guess ffmpeg enforces a minimum).

    This configuration seems to have worked for others on the internet, but I can’t see how if cq-level defaults 0. If anyone has any ideas I’d really appreciate it.

  • avfilter/blend_modes : Always preserve constness

    7 septembre 2023, par Andreas Rheinhardt
    avfilter/blend_modes : Always preserve constness
    

    These casts cast const away temporarily ; they are safe, because
    the pointers that are initialized point to const data. But this
    is nevertheless not nice and leads to warnings when using
    - Wcast-qual. blend_modes.c generates 546 (2*39*7) such warnings
    which is the majority of such warnings for FFmpeg as a whole.
    vf_blend.c and vf_blend_init.h also use this pattern ;
    they have also been changed.

    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavfilter/blend_modes.c
    • [DH] libavfilter/vf_blend.c
    • [DH] libavfilter/vf_blend_init.h
  • avcodec/dvdsub : Fix warning about incompatible pointer type

    14 février 2020, par Andreas Rheinhardt
    avcodec/dvdsub : Fix warning about incompatible pointer type
    

    Fixes "passing argument 2 of ‘strtoul’ from incompatible pointer
    type [-Wincompatible-pointer-types]" ("expected ‘char ** restrict’ but
    argument is of type ‘const char **’") for GCC and "passing 'const char
    **' to parameter of type 'char **' discards qualifiers in nested pointer
    types [-Wincompatible-pointer-types-discards-qualifiers]" for Clang.

    The cast itself is safe ; it is only needed because strtoul itself is not
    const-correct.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavcodec/dvdsub.c