Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (62)

  • Changer le statut par défaut des nouveaux inscrits

    26 décembre 2015, par

    Par défaut, lors de leur inscription, les nouveaux utilisateurs ont le statut de visiteur. Ils disposent de certains droits mais ne peuvent pas forcément publier leurs contenus eux-même etc...
    Il est possible de changer ce statut par défaut. en "rédacteur".
    Pour ce faire, un administrateur webmestre du site doit aller dans l’espace privé de SPIP en ajoutant ecrire/ à l’url de son site.
    Une fois dans l’espace privé, il lui faut suivre les menus configuration > Interactivité et activer (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (7576)

  • Revert "Disable warnings for casting pointers to integers, there is nothing wrong...

    20 novembre 2021, par Andreas Rheinhardt
    Revert "Disable warnings for casting pointers to integers, there is nothing wrong with that."
    

    This reverts commit 5258f64a14713499cf84840b3ab3a1ee7cdcaeb8.
    The premise of said commit (that conversions from pointer to int
    are ok) is wrong : C99/C11 6.3.2.3 5 : "Any pointer type may be converted
    to an integer type. [...] If the result cannot be represented in the
    integer type, the behavior is undefined." (C90 6.3.4 contains a similar
    restriction.) So don't disable -Wpointer-to-int-cast.

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

    • [DH] configure
  • Add, remove and tune filters on running ffmpeg

    28 mai 2023, par Turmund

    Preface

    &#xA;

    I have been fiddling around with ffmpeg and ffplay using command line adding and tuning filters and effects.

    &#xA;

    It quickly becomes rather tiresome to

    &#xA;

      &#xA;
    1. start playback with some audio file
    2. &#xA;

    3. stop
    4. &#xA;

    5. modify command
    6. &#xA;

    7. back to 1.
    8. &#xA;

    &#xA;

    When for example fine-tuning noise reduction or adding effects and equalizer.

    &#xA;

    I have played around with using zmq to tune filters by executing commands in a different terminal, but this also becomes somewhat cumbersome.

    &#xA;

    I want some interface where I can add, remove and tune filters during runtime / while listening to the changes taking effect.

    &#xA;

    FFMPEG

    &#xA;

    I use filter to mean effect / filter from here on out. For example afftdn, rubberband, ...

    &#xA;

    ffmpeg is somewhat intimidating. It's powerful but also complex, at least when starting to dig into it. :0

    &#xA;

    Looking at the library and examples I am looking at API example for audio decoding and filtering, - which at least at first looks promising as a starting platter.

    &#xA;

    Output

    &#xA;

    I imagine it would be best to have multiple sinks or some container with multiple audio tracks :

    &#xA;

      &#xA;
    1. Raw audio
    2. &#xA;

    3. Audio with effects applied
    4. &#xA;

    &#xA;

    Optionally :

    &#xA;

      &#xA;
    1. Raw audio
    2. &#xA;

    3. Audio with all filters
    4. &#xA;

    5. Audio with filter group 1
    6. &#xA;

    7. Audio with filter group 2
    8. &#xA;

    9. ... etc.
    10. &#xA;

    &#xA;


    &#xA;

    Processing

    &#xA;

    I imagine the routine would have to be something like :

    &#xA;

      &#xA;
    1. Read packet from stream/file/url
    2. &#xA;

    3. Unpack the sample
    4. &#xA;

    5. Copy / duplicate sample for each filter group / or one for filters
    6. &#xA;

    7. Apply filter(s) to these “effect sample” (s)
    8. &#xA;

    9. Write raw audio, filtered audio 1, filtered audio 2, filtered audio N, ... to out
    10. &#xA;

    &#xA;

    Or for step 3 - 5 (as one would only be listening to one track at a time (But this is perhaps not the best if one decide to jump back / forth in the audio stream) :

    &#xA;

      &#xA;
    1. Apply currently active filter(s)
    2. &#xA;

    3. Write raw audio, filtered audio to out
    4. &#xA;

    &#xA;

    Simultaneously one would read and check changes to filters by some interface. I.e. input :

    &#xA;

    afftdn=rf=-20:nr=20&#xA;

    &#xA;

    then, if afftdn is not present in filters add it, else set new values.

    &#xA;

    Idea is to output "raw-audio". I.e. used in a sampling and tuning phase - then produce a line with filter-options one can use with the ffmpeg-tool to process the audio files once satisfied.

    &#xA;

    Questions section

    &#xA;

      &#xA;
    • Does something similar exist ?
    • &#xA;

    &#xA;

    General :

    &#xA;

      &#xA;
    • Does this seem like a way to do it and use the ffmpeg library ?&#xA;
        &#xA;
      • Can one add, remove and change filter values during runtime or do one have to re-initialize the entire stream for each added / removed filter etc ?
      • &#xA;

      • Is the “Processing” part sound ?
      • &#xA;

      &#xA;

    • &#xA;

    • Would using a container that supports multiple audio tracks be the likely best solution ? E.g. mp4.&#xA;
        &#xA;
      • Any container preferred over others ?
      • &#xA;

      • Any drawbacks (i.e. jumping back / forth in the stream)
      • &#xA;

      &#xA;

    • &#xA;

    &#xA;


    &#xA;

    Sub-note

    &#xA;

    Dream is to have a Arduino interfacing with this program where I use physical rotary switches, incremental rotary encoders, buttons and whistles. Tuning the various options for the filters using physical knobs. But at first I need some working sample where I use FIFO or what ever to test ffmpeg itself.

    &#xA;

  • Anomalie #3100 (Nouveau) : Bug - Base PostgreSQL

    20 novembre 2013, par _ CasP

    Bonjour,
    Je viens de créer un site mutualisé sur mon site. Mon ancien site à une base MYSQL et n’a pas de souci.
    En revanche le nouveau site à lui une base PostgreSQL.

    L’hébergement est chez OVH.

    je constate 2 chose étrange la première : lors de l’instalation du site après avoir renseigné le serveur et l’utilisateur, je me retrouve à avoir le choix parmi une multitude de base de donnée. Là ou habituellement je n’ai que le nom de celle que j’ai crée.
    Mais peux être ceci est un souci lié à OVH, je leur ai écrit pour demander.

    Le deuxième Bug a lieu lors de la création de RUBRIQUES dans l’espace privée.
    Cela fonctionne, cependant après la création je me retrouve avec une

    3 Erreur(s) dans le squeletteNuméro Message squelette boucle Ligne
    1 Array / /
    2 Array / /
    3 Array / /

    Warning : pg_query() [function.pg-query] : Query failed : ERREUR : la référence à la colonne « id_rubrique » est ambigu LINE 4 : GROUP BY id_rubrique,lang ^ in /homez.64/casp/www/ecrire/req/pg.php on line 168

    Warning : pg_query() [function.pg-query] : Query failed : ERREUR : la référence à la colonne « lang » est ambigu LINE 4 : GROUP BY id_article,lang ^ in /homez.64/casp/www/ecrire/req/pg.php on line 168

    Warning : pg_query() [function.pg-query] : Query failed : ERREUR : la référence à la colonne « lang » est ambigu LINE 4 : GROUP BY id_breve,lang ^ in /homez.64/casp/www/ecrire/req/pg.php on line 168

    Et je reste sur la page de crétion sans être redirigé. J’ai alors l’option :
    Votre modification a été enregistrée
    Si votre navigateur n’est pas redirigé, cliquez ici pour continuer.
    Tout fonctionne ce n’est donc pas dramatique. Mais c’est un peu gènant.