Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (101)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

  • Emballe Médias : Mettre en ligne simplement des documents

    29 octobre 2010, par

    Le plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
    Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
    D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)

Sur d’autres sites (12883)

  • ffmpeg udp live stream publish to rtmp

    2 juin 2016, par Pilskalns

    I need to make this chain :
    JVC HM650—UDP—>localhost—>ffmpeg(copy stream)—>nginx-rtmp

    On input I have UDP stream from camera (udp ://@:35501) and I need it to publish to rtmp server (nginx with rtmp module). Apart everything works - I can play input on VLC, I can stream from FMLE to nginx etc. Except, this is my first time with ffmpeg and I can’t get it work. So :

    This is best i have got :

    C:\ffmpeg\bin>ffmpeg -re -i udp://@:35501 -f flv "rtmp://192.168.1.17/live/live" -loglevel debug
    ffmpeg version N-69972-g6c91afe Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnu
    tls --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-libopenjpeg --enable-libopus --enable-l
    ibrtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --
    enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --ena
    ble-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 19.100 / 54. 19.100
     libavcodec     56. 25.100 / 56. 25.100
     libavformat    56. 23.100 / 56. 23.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.100 /  5. 11.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Splitting the commandline.
    Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
    Reading option '-i' ... matched as input file with argument 'udp://@:35501'.
    Reading option '-f' ... matched as option 'f' (force format) with argument 'flv'.
    Reading option 'rtmp://192.168.1.17/live/live' ... matched as output file.
    Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
    Finished splitting the commandline.
    Parsing a group of options: global .
    Applying option loglevel (set logging level) with argument debug.
    Successfully parsed a group of options.
    Parsing a group of options: input file udp://@:35501.
    Applying option re (read input at native frame rate) with argument 1.
    Successfully parsed a group of options.
    Opening an input file: udp://@:35501.
    [udp @ 0000000002c30760] end receive buffer size reported is 65536
    [AVIOContext @ 0000000002c513c0] Statistics: 0 bytes read, 0 seeks
    udp://@:35501: Immediate exit requested
    Received signal 2: terminating.

    C:\ffmpeg\bin>

    What is wrong with ffmpeg configuration ?

    SOLUTION :

    The ffmpeg was listening on wrong version of UDP protocol :

    Even IPv6 is disabled on network cards, internally in system, using @ allowed ffmpeg listen at UDPv6.

    By using 127.0.0.1 tells ffmpeg to use clean UDP.

    Thanks, @thomas to make me think differently !

  • Ffmpeg Command to capture video from Decklink 4k Extreme in Ubuntu Linux

    24 septembre 2016, par George.Ef

    I am trying to capture a video using ffmpeg, from the HDMI input port of the Blackmagic DeckLink 4K Extreme capture card in Ubuntu Linux.

    As per the ffmpeg Documentation I have tried the following :

    ffmpeg -f decklink -video_input 'hdmi' -i 'DeckLink 4K Extreme (1)@14' -acodec copy -vcodec copy ~/testCapture/card1_f14_hdmi.avi

    but no matter what I do I always get this picture as a video
    Video unavailable

    My ffmpeg version is :

    ffmpeg version git-2016-08-15-4899953 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
    configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static
    --extra-cflags=-I/root/ffmpeg_build/include
    --extra-ldflags=-L/root/ffmpeg_build/lib
    --bindir=/root/bin --enable-gpl --enable-libass --enable-libfdk-aac
    --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora
    --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265
    --enable-decklink
    --extra-cflags=-I/root/decklinkSDK/Blackmagic_DeckLink_SDK/Linux/include
    --extra-ldflags=-L/root/decklinkSDK/Blackmagic_DeckLink_SDK/Linux/include
    --enable-nonfree
    libavutil      55. 28.100 / 55. 28.100
    libavcodec     57. 51.102 / 57. 51.102
    libavformat    57. 46.101 / 57. 46.101
    libavdevice    57.  0.102 / 57.  0.102
    libavfilter     6. 51.100 /  6. 51.100
    libswscale      4.  1.100 /  4.  1.100
    libswresample   2.  1.100 /  2.  1.100
    libpostproc    54.  0.100 / 54.  0.100

    I have two of these cards as per the following :

    ffmpeg -f decklink -list_devices 1 -i dummy
    .....
    [decklink @ 0x2e9e440] Blackmagic DeckLink devices:
    [decklink @ 0x2e9e440]    'DeckLink 4K Extreme (1)'
    [decklink @ 0x2e9e440]    'DeckLink 4K Extreme (2)'

    I am able to get a list of the supported formats with the following :

    ffmpeg -f decklink -list_formats 1 -i 'DeckLink 4K Extreme (1)'
    ...
    [decklink @ 0x36e2440] Supported formats for 'DeckLink 4K Extreme (1)':
    [decklink @ 0x36e2440]    1   720x486 at 30000/1001 fps (interlaced, lower field first)
    [decklink @ 0x36e2440]    2   720x576 at 25000/1000 fps (interlaced, upper field first)
    [decklink @ 0x36e2440]    3   1920x1080 at 24000/1001 fps
    [decklink @ 0x36e2440]    4   1920x1080 at 24000/1000 fps
    [decklink @ 0x36e2440]    5   1920x1080 at 25000/1000 fps
    [decklink @ 0x36e2440]    6   1920x1080 at 30000/1001 fps
    [decklink @ 0x36e2440]    7   1920x1080 at 30000/1000 fps
    [decklink @ 0x36e2440]    8   1920x1080 at 25000/1000 fps (interlaced, upper field first)
    [decklink @ 0x36e2440]    9   1920x1080 at 30000/1001 fps (interlaced, upper field first)
    [decklink @ 0x36e2440]    10  1920x1080 at 30000/1000 fps (interlaced, upper field first)
    [decklink @ 0x36e2440]    11  1920x1080 at 50000/1000 fps
    [decklink @ 0x36e2440]    12  1920x1080 at 60000/1001 fps
    [decklink @ 0x36e2440]    13  1920x1080 at 60000/1000 fps
    [decklink @ 0x36e2440]    14  1280x720 at 50000/1000 fps
    [decklink @ 0x36e2440]    15  1280x720 at 60000/1001 fps
    [decklink @ 0x36e2440]    16  1280x720 at 60000/1000 fps
    ...
    DeckLink 4K Extreme (1): Immediate exit requested

    What should I use with ffmpeg in order to capture an HD video with sound from the HDMI port ?

  • FFMPEG hevc_nvenc "No NVENC capable devices found" with NVidia GTX950M

    5 juillet 2018, par NaturalBornCamper

    I get the error "No NVENC capable devices found" when trying a simple encoding like this, even skipping audio to make sure it’s not an audio problem :

    ffmpeg.exe -i input.mp4 -c:v hevc_nvenc -an out.mp4

    I also tried with more details, like setting the pixel format, the preset, the rate-control, the format.

    On the documentation page there :
    https://trac.ffmpeg.org/wiki/HWAccelIntro
    it says that if we get this error we should check for the pixel format. The video has yuv420p here and even specifying the format results in the same error.

    i also checked the NVidia supported cards and it says GeForce, but no details about the models :
    https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder

    I tried h264_nvenc and it works perfectly however, the problem is only with hevc_nvenc
    Has anyone encountered this problem ?

    Complete console output :

    [h264 @ 0000000002534560] Reinit context to 1280x544, pix_fmt: yuv420p
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 1
       compatible_brands: isom
       creation_time   : 2014-05-23T13:04:15.000000Z
     Duration: 01:54:03.95, start: 0.000000, bitrate: 3193 kb/s
       Stream #0:0(und): Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1280x544 [SAR 1:1 DAR 40:17], 2750 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         creation_time   : 2014-05-23T11:25:27.000000Z
       Stream #0:1(spa): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 439 kb/s (default)
       Metadata:
         creation_time   : 2014-05-23T12:56:43.000000Z
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> hevc (hevc_nvenc))
    Press [q] to stop, [?] for help
    [h264 @ 000000000260ea40] Reinit context to 1280x544, pix_fmt: yuv420p
    [graph 0 input from stream 0:0 @ 0000000003857ec0] w:1280 h:544 pixfmt:yuv420p tb:1/24000 fr:24000/1001 sar:1/1 sws_param:flags=2
    [hevc_nvenc @ 00000000038574e0] Loaded Nvenc version 8.0
    [hevc_nvenc @ 00000000038574e0] Nvenc initialized successfully
    [hevc_nvenc @ 00000000038574e0] 1 CUDA capable devices found
    [hevc_nvenc @ 00000000038574e0] [ GPU #0 - < GeForce GTX 950M > has Compute SM 5.0 ]
    [hevc_nvenc @ 00000000038574e0] Codec not supported
    [hevc_nvenc @ 00000000038574e0] No NVENC capable devices found
    [hevc_nvenc @ 00000000038574e0] Nvenc unloaded
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Conversion failed!