Recherche avancée

Médias (91)

Autres articles (94)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • 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 (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (3849)

  • Send ffmpeg input from python variable

    27 septembre 2016, par Roney rogerio

    I need send continuouns date to ffmpeg from python, I have tried but really dont know the best solution to make this, i have tried :

    import subprocess as sp
    import time

    command = ["/usr/bin/ffmpeg",
              '-f', 'hls',
              '-c', 'copy',
              '-hls_time', '10',
              '-hls_flags', 'delete_segments',
              '-i', '-', # The imput comes from a pipe
              'index.m3u8' ]

    proc = sp.Popen(command, stdin=sp.PIPE)

    proc.stdin.write(open("video.ts", 'r').read())

    proc.stdin.close()
    proc.wait()

    I get the error :

    ffmpeg version N-80901-gfebc862 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 47.100 /  6. 47.100
     libavresample   3.  0.  0 /  3.  0.  0
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    pipe:: Invalid data found when processing input
    Traceback (most recent call last):
     File "teste.py", line 15, in <module>
       proc.stdin.write(open("video.ts", 'r').read())
    IOError: [Errno 32] Broken pipe
    </module>
  • FFMPEG Output to DeckLink Duo 2

    5 juin 2019, par Harry

    Im trying to use FFMPEG to stream out to my Decklink duo 2 but im unable to do so.

    Heres the command that im trying :

    ffmpeg -f decklink -i "DeckLink Duo (1)@5"
    -pix_fmt uyvy422 -r 25000/1000 "DeckLink Duo (3)"

    I tried just sending color bars as an output but it still doesnt work

    Command :

    ffmpeg -f lavfi -i color=color=red -t 10000 "DeckLink Duo (3)"

    Both Result :

    ffmpeg version N-82794-g3ab1311 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.4.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads
    --enable-dxva2 --enable-libmfx --enable-nvenc
    --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
    --enable-gnutls --enable-iconv --enable-libass
    --enable-libbluray --enable-libbs2b --enable-libcaca
    --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
    --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
    --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
    --enable-libopus --enable-librtmp --enable-libschroedinger
    --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
    --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
    --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
    --enable-lzma --enable-decklink --enable-zlib
     libavutil      55. 42.100 / 55. 42.100
     libavcodec     57. 67.100 / 57. 67.100
     libavformat    57. 58.102 / 57. 58.102
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 68.100 /  6. 68.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    Input #0, lavfi, from 'color=color=red':
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc

    [NULL @ 00000000025745a0] Unable to find a suitable output format for 'DeckLink Duo (3)'
    DeckLink Duo (3): Invalid argument

    Any Suggestions or help to solve this is much appreciated.

  • FFMPEG Output to DeckLink Duo 2

    28 mars 2017, par Harry

    Im trying to use FFMPEG to stream out to my Decklink duo 2 but im unable to do so.

    Heres the command that im trying :

    ffmpeg -f decklink -i "DeckLink Duo (1)@5"
    -pix_fmt uyvy422 -r 25000/1000 "DeckLink Duo (3)"

    I tried just sending color bars as an output but it still doesnt work

    Command :

    ffmpeg -f lavfi -i color=color=red -t 10000 "DeckLink Duo (3)"

    Both Result :

    ffmpeg version N-82794-g3ab1311 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.4.0 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads
    --enable-dxva2 --enable-libmfx --enable-nvenc
    --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
    --enable-gnutls --enable-iconv --enable-libass
    --enable-libbluray --enable-libbs2b --enable-libcaca
    --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc
    --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
    --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg
    --enable-libopus --enable-librtmp --enable-libschroedinger
    --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
    --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
    --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
    --enable-lzma --enable-decklink --enable-zlib
     libavutil      55. 42.100 / 55. 42.100
     libavcodec     57. 67.100 / 57. 67.100
     libavformat    57. 58.102 / 57. 58.102
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 68.100 /  6. 68.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100
    Input #0, lavfi, from 'color=color=red':
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc

    [NULL @ 00000000025745a0] Unable to find a suitable output format for 'DeckLink Duo (3)'
    DeckLink Duo (3): Invalid argument

    Any Suggestions or help to solve this is much appreciated.