Recherche avancée

Médias (91)

Autres articles (6)

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

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (3098)

  • Not able to generate mp4 using png and mp3 audio

    18 juin 2019, par Bhaskar Dabhi

    I am totally nob to FFMPEG.
    I am trying to generate mp4 video file by merging mp3 and png image.

    When i try converting png image into mp4 it works

    ffmpeg -r 1/5.544000 -i 1.png -qscale 2 1.mp4

    But when i add mp3 audio file then it fails

    ffmpeg -r 1/5.544000 -i 1.png -i 1.mp3 -qscale 2 1.mp4

    Following is the error that i get :

    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.

    [libx264 @ 0x1475be0] using SAR=1/1

    [libx264 @ 0x1475be0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2

    `[libx264 @ 0x1475be0] profile High 4:4:4 Predictive, level 3.1, 4:4:4 8-`bit

    [libx264 @ 0x1475be0] 264 - core 142 r2431 a5831aa - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

    [aac @ 0x1476660] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.

    I tried using -strict -2 but still it fails.

    What wrong in the command ? How to create mp4 using mp3 and png ?

  • FFmpeg TLS : Protocol not found

    30 août 2016, par bot3663369

    I am trying to stream a video securely, and this is what I have tried :

    Console 1

    $ ffmpeg -i out.webm -f format tls://127.0.0.1:8554?listen&cert=test.crt&key=test.key
    [1] 46061
    [2] 46062    
    $ ffmpeg version N-81392-ga453bbb Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
     configuration: --pkg-config-flags=--static --enable-shared --enable-pic --enable-libvpx --prefix=/home/ytan/Dev/build-x64
     libavutil      55. 29.100 / 55. 29.100
     libavcodec     57. 54.100 / 57. 54.100
     libavformat    57. 47.101 / 57. 47.101
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 52.100 /  6. 52.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100

    (...waiting indefinitely)

    Console 2

    $ ffplay tls://127.0.0.1:8554
    ffplay version N-81392-ga453bbb Copyright (c) 2003-2016 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
     configuration:
     libavutil      55. 29.100 / 55. 29.100
     libavcodec     57. 54.100 / 57. 54.100
     libavformat    57. 47.101 / 57. 47.101
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 52.100 /  6. 52.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
    tls://127.0.0.1:8554: Protocol not foundq=    0KB sq=    0B f=0/0  
    $

    I have generated my key and certificate using OpenSSL :

    $ openssl req -newkey rsa:2048 -nodes -keyout domain.key -x509 -days 365 -out domain.crt
    $ sudo cp test.crt /usr/local/share/ca-certificates/
    $ sudo update-ca-certificates

    Can someone drop me a hint or a pointer ?

  • Artifact while streaming multicast with ffmpeg

    17 août 2018, par Nicosmik

    Locally, from my windows machine with ffmpeg 3.3.2 from Zeranoe

    ffmpeg version 3.2.2 Copyright (c) 2003-2016 the FFmpeg developers
    built with gcc 5.4.0 (GCC)
    configuration : —enable-gpl
    —enable-version3 —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-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

    Server side

    Launch udp multicast streaming.

    ffmpeg -re -i video.ts -an -f mpegts -c copy udp://224.1.1.1:5000

    Client side

    Playing with ffplay is correct, no artifacts displayed

    ffplay udp://224.1.1.1:5000

    Playing after decoding cause artifacts

    ffmpeg -i udp://224.1.1.1:5000 -pix_fmt gray -f avi - | ffplay -

    or

    ffmpeg -f mpegts -i udp://224.1.1.1:5000 -pix_fmt gray -c:v rawvideo -f avi out.avi

    Does someone has an explanation ?