Recherche avancée

Médias (91)

Autres articles (38)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

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

  • ffmpeg segmentation fails with floating point exception

    19 août 2020, par painfulenglish

    I'm trying to segment a video using the following command :

    


    ffmpeg -i /home/user/videos/0001.MP4 -codec copy -map 0 -f segment -segment_frames 66 /tmp/boos/0001/0001_%03d.MP4


    


    After working for a few seconds, the output being

    


    frame=  251 fps=0.0 q=-1.0 size=N/A time=00:00:10.02 bitrate=N/A speed=19.6x    


    


    the process fails with a floating point exception. The full output is given below. I have a suspicion that the problem may be specific to GoPro videos due to the following observations :

    


      

    1. The same video is segmented successfully if I first re-encode it using ffmpeg.
    2. 


    3. Other videos (non-GoPro) do not cause the problem.
    4. 


    


    I would appreciate any suggestions on how to track down or even solve the problem.

    


    Full output :

    


    ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)&#xA;  configuration: --prefix=/usr --extra-version=0ubuntu0.2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &amp;apos;/home/broadbelt/videos/0001.MP4&amp;apos;:&#xA;  Metadata:&#xA;    major_brand     : mp41&#xA;    minor_version   : 538120216&#xA;    compatible_brands: mp41&#xA;    creation_time   : 2019-11-18T13:55:42.000000Z&#xA;    firmware        : HD7.01.01.80.00&#xA;  Duration: 00:17:38.22, start: 0.000000, bitrate: 30245 kb/s&#xA;    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 30000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro AVC  &#xA;      encoder         : GoPro AVC encoder&#xA;      timecode        : 13:55:42:21&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro AAC  &#xA;      timecode        : 13:55:42:21&#xA;    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro TCD  &#xA;      timecode        : 13:55:42:21&#xA;    Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 37 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro MET  &#xA;    Stream #0:4(eng): Data: none (fdsc / 0x63736466), 9 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro SOS  &#xA;<span style="background-color:#2E3436"><font color="#FF87FF">[segment @ 0x562a95062f40] </font></span>Opening &amp;apos;/tmp/boost/0001/0001_000.MP4&amp;apos; for writing&#xA;<span style="background-color:#2E3436"><font color="#FF87FF">[mp4 @ 0x562a9506a600] </font></span><span style="background-color:#2E3436"><font color="#FF0000">Timecode frame rate must be specified</font></span>&#xA;Output #0, segment, to &amp;apos;/tmp/boost/0001/0001_%03d.MP4&amp;apos;:&#xA;  Metadata:&#xA;    major_brand     : mp41&#xA;    minor_version   : 538120216&#xA;    compatible_brands: mp41&#xA;    firmware        : HD7.01.01.80.00&#xA;    encoder         : Lavf57.83.100&#xA;    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 30000 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro AVC  &#xA;      encoder         : GoPro AVC encoder&#xA;      timecode        : 13:55:42:21&#xA;    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro AAC  &#xA;      timecode        : 13:55:42:21&#xA;    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro TCD  &#xA;      timecode        : 13:55:42:21&#xA;    Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 37 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro MET  &#xA;    Stream #0:4(eng): Data: none (fdsc / 0x63736466), 9 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2019-11-18T13:55:42.000000Z&#xA;      handler_name    : GoPro SOS  &#xA;Stream mapping:&#xA;  Stream #0:0 -&amp;gt; #0:0 (copy)&#xA;  Stream #0:1 -&amp;gt; #0:1 (copy)&#xA;  Stream #0:2 -&amp;gt; #0:2 (copy)&#xA;  Stream #0:3 -&amp;gt; #0:3 (copy)&#xA;  Stream #0:4 -&amp;gt; #0:4 (copy)&#xA;Press [q] to stop, [?] for help&#xA;**Floating point exception (core dumped)me=00:00:01.00 bitrate=N/A speed=0.143x**   &#xA;

    &#xA;

  • How to Install ffmpeg xampp php 7.1

    12 juin 2019, par codeman

    How i can install ffmpeg on xampp with php 7.1
    2019

    I read some posts and i saw some videos but i cant find the correct installation to make it work the ffmpeg on xampp with php 7.1

    Some one can help me ?

  • When converting video through ffmepg show error

    9 septembre 2019, par Krunal

    I am trying to convert video through ffmepg but its show this error
    "Error initializing output stream 1:0 — Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or height".
    Its working fine on my system but facing the issue on server.

    Metadata:
           major_brand     : qt
           minor_version   : 0
           compatible_brands: qt
           encoder         : Lavf58.20.100
           Stream #0:0(eng): Video: h264 (libx264), yuv420p, 426x240, q=-1--1, 400 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default)
           Metadata:
             creation_time   : 2019-07-15T08:22:53.000000Z
             handler_name    : Core Media Video
             encoder         : Lavc58.35.100 libx264
           Side data:
             cpb: bitrate max/min/avg: 428000/0/400000 buffer size: 600000 vbv_delay: -1
           Stream #0:1(und): Audio: aac (LC), 48000 Hz, stereo, fltp, 64 kb/s (default)
           Metadata:
             creation_time   : 2019-07-15T08:22:53.000000Z
             handler_name    : Core Media Audio
             encoder         : Lavc58.35.100 aac
       [libx264 @ 0x6501780] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
       Error initializing output stream 1:0 -- Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or heigh