Recherche avancée

Médias (1)

Mot : - Tags -/wave

Autres articles (97)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (10412)

  • opus_pvq : fix PVQ search for K 5 and low Ns

    19 février 2017, par Rostislav Pehlivanov
    opus_pvq : fix PVQ search for K < 5 and low Ns
    

    If the PVQ search picked a place to increment/decrement on the y[]
    vector which had no pulse then it would cause a desync since it would
    change the sum in the wrong direction. Fix this by not considering
    places without pulses as viable.

    This makes the PVQ search slightly worse at K < 5 which isn’t all that
    common. Still, this is a workaround to prevent making broken files until
    I can think of a better way of fixing it.

    Also add an assertion, which can be removed or moved to assert1/2 once
    the PVQ search is stable.

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/opus_pvq.c
  • How do I make audio work with pulseaudio in systemd ? [migrated]

    1er avril 2022, par user5827693

    I'm trying to live stream my website to the rtmp server via pulseaudio, ffmpeg and chromium in ubuntu 20.04. Everything works great if I execute the following commands in shell :

    &#xA;

    pulseaudio&amp;&#xA;ffmpeg -y -f x11grab -draw_mouse 0 -s 1280x720 -i :1.0&#x2B;0,0 -f pulse -ac 2 -i default -c:v libx264 -c:a aac -b:a 128k -f flv MY_SERVER &amp;> /dev/null &lt; /dev/null &amp;&#xA;DISPLAY=:1.0 chromium-browser --autoplay-policy=no-user-gesture-required --disable-gpu --user-data-dir=/tmp/test --window-position=0,0 --window-size=1280,720 --app=MY_URL &amp;&#xA;

    &#xA;

    However if I try to setup the same logic via systemd - everything works fine, except there is no audio. Below are my systemd files.

    &#xA;

    pulseaudio.service

    &#xA;

    [Unit]&#xA;Description=PulseAudio system server&#xA;&#xA;[Service]&#xA;User=ubuntu&#xA;Type=notify&#xA;ExecStart=/usr/bin/pulseaudio --daemonize=no&#xA;Restart=always&#xA;&#xA;[Install]&#xA;WantedBy=multi-user.target&#xA;

    &#xA;

    chromium.service

    &#xA;

    [Unit]&#xA;Description=start chromium browser&#xA;After=pulseaudio.service&#xA;&#xA;[Service]&#xA;User=ubuntu&#xA;Type=simple&#xA;Environment=DISPLAY=:1.0&#xA;ExecStart=/usr/bin/chromium-browser --autoplay-policy=no-user-gesture-required --disable-gpu --user-data-dir=/tmp/test --window-position=0,0 --window-size=1280,720 --app=MY_URL&#xA;Restart=always&#xA;&#xA;[Install]&#xA;WantedBy=multi-user.target&#xA;

    &#xA;

    ffmpeg.service

    &#xA;

    [Unit]&#xA;Description=start ffmpeg&#xA;Requires=display.service pulseaudio.service&#xA;After=pulseaudio.service&#xA;&#xA;[Service]&#xA;User=ubuntu&#xA;Type=simple&#xA;ExecStart=/usr/bin/ffmpeg -y -f x11grab -draw_mouse 0 -s 1280x720 -i :1.0&#x2B;0,0 -f pulse -ac 2 -i default -c:v libx264 -c:a aac -b:a 128k -f flv MY_SERVER&#xA;Restart=always&#xA;&#xA;[Install]&#xA;WantedBy=multi-user.target&#xA;

    &#xA;

    I do not see any errors in my syslog regarding the audio. I can't figure out why it would work from shell but not from systemd.

    &#xA;

    I tried the following :

    &#xA;

      &#xA;
    • Ran pulseaudio systemwide
    • &#xA;

    • Tried to setup systemd under root user
    • &#xA;

    • Tried to setup systemd under non root user
    • &#xA;

    • Tried all possible pulseaudio params
    • &#xA;

    &#xA;

  • opus_pvq : improve PVQ search for low Ks

    24 février 2017, par Rostislav Pehlivanov
    opus_pvq : improve PVQ search for low Ks
    

    Since the probelm mentioned only happened when the phase was negative
    (e.g. the sum had to be decreased), only discarding dimensions with a
    zero pulse in that case restored the search’s previously low distortion
    at low Ks when the phase is never negative.

    Signed-off-by : Rostislav Pehlivanov <atomnuker@gmail.com>

    • [DH] libavcodec/opus_pvq.c