Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (65)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (11575)

  • Stream rtsp to Html5 video tag

    19 mai 2021, par Jim Lin

    I have a camera with a RTSP stream
(Example : rtsp ://admin:password@ip:554/Streaming/Channels/101),
now I want to stream it using HTML5 without any plugin.

    


    I tried some solutions using http-flv protocol :

    


    1.Nginx-http-flv-module + FFmpeg + flv.js

    


    2.Nodejs + FFmpeg + flv.js

    


    ffmpeg command : rtsp ://admin:password@ip:554/Streaming/Channels/101-vcodec copy -an -f flv -s 800x600 rtmp ://localhost:1935/myapp/test

    


    ffmpeg log

    


    The problem is that latency is high bettween 5s-8s, if there is any solution to reduce latency between 1s-2s.

    


    PS:flv.js is an HTML5 Flash Video (FLV) Player written in pure JavaScript without Flash. flv.js

    


  • Pyinstaller does not include ffmpeg.exe and ffprobe.exe

    11 mars 2021, par lorenzotarquini

    I'm making a simple mp3 downloader using youtube-dl. During my tests with python, everything works, I only had a problem when I saw an error that said 'ffprobe/avprobe and ffmpeg/avconv not found, please install one', solved including ffmpeg.exe and ffprobe.exe in Scripts folder but then i wrote the exe file with pyinstaller, and i got the same error i found before, IDK how to solve it, can someone help me ?. this is the spec file generated :

    


    # -*- mode: python ; coding: utf-8 -*-

block_cipher = None


a = Analysis(['..\\..\\thedownloader_V1.py'],
             pathex=['D:\\Archivio\\Projects\\Python\\MP3_downloader\\venv\\Scripts'],
             binaries=[],
             datas=[],
             hiddenimports=[],
             hookspath=[],
             runtime_hooks=[],
             excludes=[],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher,
             noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
             cipher=block_cipher)
exe = EXE(pyz,
          a.scripts,
          a.binaries,
          a.zipfiles,
          a.datas,
          [],
          name='thedownloader_V1',
          debug=False,
          bootloader_ignore_signals=False,
          strip=False,
          upx=True,
          upx_exclude=[],
          runtime_tmpdir=None,
          console=True )


    


  • ffmpeg convert white color to alpha

    11 janvier 2021, par tony

    Hello i took a picture with my camera :a drawing of a square frame on a white paper ; i'm trying to convert the white to transparent and keep the black color frame.

    


    So i started making 1 palette with only 2 colors to make the colors uniform and 1 palette to add the transparency

    


    ffmpeg -f lavfi -i "color=color=white:100x100" -f lavfi -i "color=color=black:100x100" -filter_complex "[0][1]hstack" -frames:v 1 blackwhite.png`
ffmpeg -i blackwhite.png -filter_complex "[0]split[a][b];[a]palettegen[pal1];[b]palettegen=reserve_transparent=on:transparency_color=white[pal2]" -map [pal1] palette1.png -map [pal2] palette2.png


    


    then i mapped the image png of the frame to convert the white to transparent and overlayed the result to a red background

    


    ffmpeg -i image.png -i palette1.png -i palette2.png -i background.png -filter_complex "[0:v][1:v]paletteuse=dither=bayer[a],[a]split[a1][a2];[a1][2:v]paletteuse=alpha_threshold=128[c];[3:v][c]overlay[d]" -map [a2] -c:v png out.png -map [d] -c:v png out1.png


    


    the png mapped to the first palette (as a test) comes as it should be, pure black and white,the second comes with no transparency at all and covers the background
what am i doing wrong ?