Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (111)

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

  • Les notifications de la ferme

    1er décembre 2010, par

    Afin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
    Les notifications de changement de statut
    Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
    À la demande d’un canal
    Passage au statut "publie"
    Passage au (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (7370)

  • ExecutionFailureException : ffmpeg failed to execute command

    31 janvier 2020, par ItsJasonn

    I am trying to concat multiple videos to eachother using PHP and the FFMpeg library. I am able to execute the binaries on my 32-bit Linux server flawless, but I am still getting this error saying...

    Fatal error : Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg failed to execute command ’/var/services/web/vendor/libraries/ffmpeg/ffmpeg’ ’-f’ ’concat’ ’-safe’ ’0’ ’-i’ ’/volume1/@tmp/ffmpeg-concatcg8R3L’ ’-c’ ’copy’ ’/volume1/web/vendor/php/out-1580427487.mp4’ : Error Output : ffmpeg version 4.2.1-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516 configuration : —enable-gpl —enable-version3 —enable-static —disable-debug —disable-ffplay —disable-indev=sndio —disable-outdev=sndio —cc=gcc-6 —enable-fontconfig —enable-frei0r —enable-gnutls —enable-gmp —enable-libgme —enable-gray —enable-libfribidi —enable-libass —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-librubberband —enable-libsoxr —enable-libspeex —enable-libsrt —enable-libvorbis —enable-libopus —enable-libtheora —enable-libvidstab —enable-libvo-amrwbenc —enable-libv in /volume1/web/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Media/Concat.php on line 149

    Does anyone know what the issue could be ? Thank you !

    EDIT 1 :
    It seems PHP does not let me create files (I think). PHP FFMPEG attempts to create a temporary file in my /volume1/@tmp/ folder, but no file is being created. I have checked everything on Google, but nothing works for me. I have also checked the permissions and I have 777 on all of my folders.

  • Visual Studio LNK2001 Error, despite using extern "C" for ffmpeg libraries in C++ [duplicate]

    1er février 2020, par Faizan Cassim

    This is what it looks like :

    ’’’

    extern "C"
    {
    #include "libavcodec/avcodec.h"
    #include "libavformat/avformat.h"
    #include "libavutil/avutil.h"
    };

    ’’’

    But I still get these errors when using the FFmpeg libraries in Visual Studio 2019

    1>AudioFile.obj : error LNK2001: unresolved external symbol avformat_open_input
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_read_frame
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_free
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_get_sample_fmt_name
    1>AudioFile.obj : error LNK2001: unresolved external symbol avformat_close_input
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_init_packet
    1>AudioFile.obj : error LNK2001: unresolved external symbol avcodec_receive_frame
    1>AudioFile.obj : error LNK2001: unresolved external symbol avcodec_open2
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_sample_fmt_is_planar
    1>AudioFile.obj : error LNK2001: unresolved external symbol avcodec_close
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_get_bytes_per_sample
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_packet_unref
    1>AudioFile.obj : error LNK2001: unresolved external symbol avformat_find_stream_info
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_find_best_stream
    1>AudioFile.obj : error LNK2001: unresolved external symbol av_frame_alloc

    I would be greatfull to anyone who could help me resolve this. I am using C++ for Windows.

  • FFMPEG video concatenation returning error : `Error reinitializing filters !`, `Invalid argument`, `Conversion failed !`

    2 février 2020, par PureStress

    I am attempting to concatenate .mp4 files. I am using fluent-ffmpeg and @ffmpeg-installer/ffmpeg Here is the pseudocode :

    let mergeClips = ffmpeg();
    for (let i = 0; i < 5; i++) {
       await downloadVideo(newUrl, './testVideos/0/' + i + '.mp4');
       mergeClips = mergeClips.mergeAdd('./testVideos/0/' + i + '.mp4');
    }
    mergeClips.mergeToFile('compilation.mp4', './temp');

    This results in errors. The following is the command sent by fluent-ffmpeg :

    ffmpeg -i ./testVideos/0/0.mp4 -i ./testVideos/0/6.mp4 -i ./testVideos/0/14.mp4 -i ./testVideos/0/15.mp4 -y -filter_complex concat=n=4:v=1:a=0 ./testVideos/0/compilation.mp4

    When I run the command manually, I receive the following :

    PS C:\path> ffmpeg -i ./testVideos/0/0.mp4 -i ./testVideos/0/6.mp4 -i ./testVideos/0/14.mp4 -i ./testVideos/0/15.mp4 -y -filter_complex concat=n=4:v=1:a=0 ./testVideos/0/compilation.mp4
    ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 9.1.1 (GCC) 20190807
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 31.100 / 56. 31.100
     libavcodec     58. 54.100 / 58. 54.100
     libavformat    58. 29.100 / 58. 29.100
     libavdevice    58.  8.100 / 58.  8.100
     libavfilter     7. 57.100 /  7. 57.100
     libswscale      5.  5.100 /  5.  5.100
     libswresample   3.  5.100 /  3.  5.100
     libpostproc    55.  5.100 / 55.  5.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './testVideos/0/0.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.12.100
     Duration: 00:00:04.49, start: 0.000000, bitrate: 257 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 460x460, 254 kb/s, 22.05 fps, 100 tbr, 12800 tbn, 200 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from './testVideos/0/6.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.12.100
     Duration: 00:00:05.04, start: 0.000000, bitrate: 1088 kb/s
       Stream #1:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x404, 1086 kb/s, 24.01 fps, 100 tbr, 12800 tbn, 200 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Input #2, mov,mp4,m4a,3gp,3g2,mj2, from './testVideos/0/14.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.12.100
     Duration: 00:00:26.99, start: 0.000000, bitrate: 52 kb/s
       Stream #2:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 250x444, 52 kb/s, 6 fps, 100 tbr, 12800 tbn, 200 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Input #3, mov,mp4,m4a,3gp,3g2,mj2, from './testVideos/0/15.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.12.100
     Duration: 00:00:00.19, start: 0.000000, bitrate: 17599 kb/s
       Stream #3:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080, 17564 kb/s, 36.84 fps, 33.33 tbr, 12800 tbn, 200 tbc (default)
       Metadata:
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 (h264) -> concat:in0:v0
     Stream #1:0 (h264) -> concat:in1:v0
     Stream #2:0 (h264) -> concat:in2:v0
     Stream #3:0 (h264) -> concat:in3:v0
     concat -> Stream #0:0 (libx264)
    Press [q] to stop, [?] for help
    [Parsed_concat_0 @ 000001768445cf40] Input link in1:v0 parameters (size 720x404, SAR 0:1) do not match the corresponding output link in0:v0 parameters (460x460, SAR 0:1)    
    [Parsed_concat_0 @ 000001768445cf40] Failed to configure output pad on Parsed_concat_0
    Error reinitializing filters!
    Failed to inject frame into filter network: Invalid argument
    Error while processing the decoded data for stream #3:0
    Conversion failed!

    The videos are downloading correctly.

    Does anybody know what’s going on here ?