Recherche avancée

Médias (91)

Autres articles (64)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

  • No such filter : '"' Error initializing complex filters [duplicate]

    28 juin 2019, par sachin

    This question already has an answer here :

    I am trying add some text on video, but I am getting :

    No such filter:
     Error initializing complex filters.
     Invalid argument

    Below command using for adding text -

    In Java :

    String complexCommand = "ffmpeg -i "+ savedVideoFilePath +" -filter_complex \"[0:v][1:v]overlay=10:10,drawtext=text="+"'"+ timestamp +"'" + "\""+ " -c:a copy -movflags +faststart " +output_path;

    In string format :

    ffmpeg -i /data/user/0/com.rs.vir.debug/files/VIR_Customer/EVINV12207201906100303240000/Videos/sample.mp4 -filter_complex "[0:v][1:v]overlay=10:10,drawtext=text='12-08-2019_11:00pm'" -c:a copy -movflags +faststart /data/user/0/com.rs.vir.debug/files/VIR_Customer/EVINV12207201906100303240000/Videos/output_1052019163054.mp4
    ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
         built with gcc 4.8 (GCC)
         configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
         libavutil      55. 17.103 / 55. 17.103
         libavcodec     57. 24.102 / 57. 24.102
         libavformat    57. 25.100 / 57. 25.100
         libavdevice    57.  0.101 / 57.  0.101
         libavfilter     6. 31.100 /  6. 31.100
         libswscale      4.  0.100 /  4.  0.100
         libswresample   2.  0.101 /  2.  0.101
         libpostproc    54.  0.100 / 54.  0.100
       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/data/user/0/com.rs.vir.debug/files/appname/videos/sample.mp4':
         Metadata:
           major_brand     : mp42
           minor_version   : 0
           compatible_brands: isommp42
           creation_time   : 2019-06-10 10:18:21
           com.android.version: 8.1.0
         Duration: 00:00:12.18, start: 0.000000, bitrate: 2176 kb/s
           Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 720x480, 1920 kb/s, SAR 1:1 DAR 3:2, 16.66 fps, 16.67 tbr, 90k tbn, 180k tbc (default)
           Metadata:
             rotate          : 90
             creation_time   : 2019-06-10 10:18:21
             handler_name    : VideoHandle
           Side data:
             displaymatrix: rotation of -90.00 degrees
           Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 253 kb/s (default)
           Metadata:
             creation_time   : 2019-06-10 10:18:21
             handler_name    : SoundHandle
       [AVFilterGraph @ 0xe772d080] No such filter: '"'
       Error initializing complex filters.
       Invalid argument

    Anything I need to add or change command, give me any idea ?

  • av_format/hlsenc : fix %v handling by format_name function

    17 juin 2019, par Bodecs Bela
    av_format/hlsenc : fix %v handling by format_name function
    

    Hi All,

    When multiple variant streams are specified by var_stream_map option, %v
    placeholder in various names ensures that each variant has its unique
    names. Most of %v handlng is done in format_name function. Currently
    in this function the result buffer is the same as the
    input pattern buffer, so you must allocate it before calling format_name
    function. It also means, that it is silently assumed that the result
    string will NOT be
    longer that the pattern string. It is true most of the time, because %v
    may appear only once in the pattern string and number of variant streams
    is less than 100 in practical cases. But theoretically it will fail if
    specified number of variant streams is greater than 100 (i.e. longer
    than 2 digits).
    This patch fixes this behaviour by altering format_name function to
    allocate the
    result buffer and return it to the caller.

    Please, review this patch.

    best,

    Bela
    >From 6377ebee8a106a9684d41b270c7d6c8e57cd3e7b Mon Sep 17 00:00:00 2001
    From : Bela Bodecs <bodecsb@vivanet.hu>
    Date : Mon, 17 Jun 2019 14:31:36 +0200
    Subject : [PATCH] av_format/hlsenc : fix %v handling by format_name function

    When multiple variant streams are specified by var_stream_map option, %v
    placeholder in various names ensures that each variant has its unique
    names. Most of %v handlng is done in format_name function. Currently
    in this function the result buffer is the same as the input pattern
    buffer, so you must allocate it before calling format_name function. It
    also means, that it is silently assumed that the result string will NOT
    be longer that the pattern string. It is true most of the time, because
    %v may appear only once in the pattern string and number of variant
    streams is less than 100 in practical cases. But theoretically it will
    fail if specified number of variant streams is greater than 100. This
    patch fixes this behaviour by altering format_name function to allocate
    the result buffer and return it to the caller.

    Signed-off-by : Bela Bodecs <bodecsb@vivanet.hu>

    • [DH] libavformat/hlsenc.c
  • Using HW accelerate video encoding

    9 juin 2019, par RoboGil

    I am trying to get ffmpeg HW acceleration on an UpBoard .
    It uses an Atom x5 z8350 processor and Intel HD 400 GPU

    I have also followed this tutorial in order to compile ffmpeg with libmfx enabled.

    $ ffmpeg -encoders | grep qsv
    ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
     configuration: --enable-libmfx
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
    V..... h264_qsv             H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (Intel Quick Sync Video acceleration) (codec h264)
    V..... hevc_qsv             HEVC (Intel Quick Sync Video acceleration) (codec hevc)
    V..... mjpeg_qsv            MJPEG (Intel Quick Sync Video acceleration) (codec mjpeg)
    V..... mpeg2_qsv            MPEG-2 video (Intel Quick Sync Video acceleration) (codec mpeg2video)

    However, when trying to encode I video I am getting :

    $ ffmpeg -i in.mp4 -c:v h264_qsv -global_quality 10 -look_ahead 1 out.mp4


    ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
     configuration: --enable-libmfx
     libavutil      56. 22.100 / 56. 22.100
     libavcodec     58. 35.100 / 58. 35.100
     libavformat    58. 20.100 / 58. 20.100
     libavdevice    58.  5.100 / 58.  5.100
     libavfilter     7. 40.101 /  7. 40.101
     libswscale      5.  3.100 /  5.  3.100
     libswresample   3.  3.100 /  3.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2019-06-04T19:06:40.000000Z
     Duration: 00:04:03.07, start: 0.000000, bitrate: 408 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 640x360 [SAR 1:1 DAR 16:9], 310 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         creation_time   : 2019-06-04T19:06:40.000000Z
         handler_name    : ISO Media file produced by Google Inc. Created on: 06/04/2019.
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 95 kb/s (default)
       Metadata:
         creation_time   : 2019-06-04T19:06:40.000000Z
         handler_name    : ISO Media file produced by Google Inc. Created on: 06/04/2019.
    File 'out.mp4' already exists. Overwrite ? [y/N] y
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_qsv))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help


    [h264_qsv @ 0x3b30a00] Error initializing an internal MFX session: unsupported (-3)
    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!

    What am I missing ?

    Thank you very much !