Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (82)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (4612)

  • FFMPEG - live stream with dynamic content

    6 octobre 2019, par Arturek

    I’m trying to create a live stream with changing data in real-time on youtube.

    Let’s say I want to show the current Bitcoin price in real-time. For instance, using python and sending requests to some public APIs, I can very easily get current prices of Bitcoin. But I have no idea how to create such a live stream, which will be automatically updated with fresh data.

    I know that I can use ffmpeg to stream on youtube, but how would I change the content of my stream ? I know how to create an image every n seconds with the current price, but then I don’t know how to update my live stream with this image.

    # To make sure you know what I mean, I created a basic sample.

    import requests
    import json
    import time

    createYtLiveStream()

    while(True):
     response = requests.get('https://api.coindesk.com/v1/bpi/currentprice.json').json()
     price = response['bpi']['USD']['rate']

     # Create an image with Bitcoin price inside
     img = convertTextToPng(price)

     # Update my live stream with this new image (I don't know how to do it)
     updateYtLiveStream(img)

     time.sleep(20)

    I want to do it on Ubuntu. Can you tell me how can I do it, please ?
    Thanks.

  • avfilter/showcqt : remove yuv offset

    3 novembre 2015, par Muhammad Faiz
    avfilter/showcqt : remove yuv offset
    

    this makes draw_bar faster
    slightly different result with old version

    check result (with 3 minutes audio file) :
    old :
    real 0m49.611s
    user 0m49.260s
    sys 0m0.073s
    new :
    real 0m47.606s
    user 0m47.378s
    sys 0m0.068s
    PSNR between old and new :
    yuv444p PSNR
    y:109.519298 u:107.506485 v:104.746878
    average:106.816074 min:99.167305 max:inf
    yuv422p PSNR
    y:109.519298 u:108.025801 v:104.489734
    average:107.279817 min:98.007467 max:inf
    yuv420p PSNR
    y:109.519298 u:108.363875 v:105.290200
    average:108.261511 min:97.461812 max:inf

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavfilter/avf_showcqt.c
  • Burn picture in picture from two streams with ffmpeg

    9 juillet 2021, par Nagy Alfred

    I have a nice opportunity solving this with ffmpeg, but can not find solution :

    &#xA;

    I need to burn picture in picture (pip from Desktop capture) to the top right corner of a recorded rtsp stream.

    &#xA;

    I need to do it real time with the recording command (it can be really easy after the recording, but I do not have time to do it after the recording)

    &#xA;

    The recording is done with this command :

    &#xA;

    &#xD;&#xA;
    &#xD;&#xA;
    ffmpeg -i "rtsp://[username]:[pass]@xx.xx.xx.xx/cam/realmonitor?channel=1&amp;subtype=0&amp;unicast=true" -map 0:v -c:v copy -an -fflags flush_packets -max_delay 3 -flags -global_header -hls_time 20 -hls_list_size 1000 -vcodec copy -y "video.m3u8"

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    The picture in picture is a Desktop capture with ffmpeg (real time capturing, not an existing video).

    &#xA;

    Please help me solving this problem.

    &#xA;

    Thanks !

    &#xA;