Recherche avancée

Médias (91)

Autres articles (105)

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

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (11656)

  • Revert "avcodec : add FF_CODEC_CAP_INIT_CLEANUP for all codecs which use ff_mpv_common...

    24 décembre 2020, par Andreas Rheinhardt
    Revert "avcodec : add FF_CODEC_CAP_INIT_CLEANUP for all codecs which use ff_mpv_common_init()"
    

    This mostly reverts commit 4b2863ff01b1fe93d9a518523c9098d17a9d8c6f.
    Said commit removed the freeing code from ff_mpv_common_init(),
    ff_mpv_common_frame_size_change() and ff_mpeg_framesize_alloc() and
    instead added the FF_CODEC_CAP_INIT_CLEANUP to several codecs that use
    ff_mpv_common_init(). This introduced several bugs :

    a) Several decoders using ff_mpv_common_init() in their init function were
    forgotten : This affected FLV, Intel H.263, RealVideo 3.0 and V4.0 as well as
    VC-1/WMV3.
    b) ff_mpv_common_init() is not only called from the init function of
    codecs, it is also called from AVCodec.decode functions. If an error
    happens after an allocation has succeeded, it can lead to memleaks ;
    furthermore, it is now possible for the MpegEncContext to be marked as
    initialized even when ff_mpv_common_init() returns an error and this can
    lead to segfaults because decoders that call ff_mpv_common_init() when
    decoding a frame can mistakenly think that the MpegEncContext has been
    properly initialized. This can e.g. happen with H.261 or MPEG-4.
    c) Removing code for freeing from ff_mpeg_framesize_alloc() (which can't
    be called from any init function) can lead to segfaults because the
    check for whether it needs to allocate consists of checking whether the
    first of the buffers allocated there has been allocated. This part has
    already been fixed in 76cea1d2ce3f23e8131c8664086a1daf873ed694.
    d) ff_mpv_common_frame_size_change() can also not be reached from any
    AVCodec.init function ; yet the changes can e.g. lead to segfaults with
    decoders using ff_h263_decode_frame() upon allocation failure, because
    the MpegEncContext will upon return be flagged as both initialized and
    not in need of reinitialization (granted, the fact that
    ff_h263_decode_frame() clears context_reinit before the context has been
    reinited is a bug in itself). With the earlier version, the context
    would be cleaned upon failure and it would be attempted to initialize
    the context again in the next call to ff_h263_decode_frame().

    While a) could be fixed by adding the missing FF_CODEC_CAP_INIT_CLEANUP,
    keeping the current approach would entail adding cleanup code to several
    other places because of b). Therefore ff_mpv_common_init() is again made
    to clean up after itself ; the changes to the wmv2 decoder and the SVQ1
    encoder have not been reverted : The former fixed a memleak, the latter
    allowed to remove cleanup code.

    Fixes : double free
    Fixes : ff_free_picture_tables.mp4
    Fixes : ff_mpeg_update_thread_context.mp4
    Fixes : decode_colskip.mp4
    Fixes : memset.mp4

    Reviewed-by : Michael Niedermayer <michael@niedermayer.cc>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavcodec/h261dec.c
    • [DH] libavcodec/h263dec.c
    • [DH] libavcodec/mpeg12dec.c
    • [DH] libavcodec/mpeg4videodec.c
    • [DH] libavcodec/mpegvideo.c
    • [DH] libavcodec/msmpeg4dec.c
    • [DH] libavcodec/rv10.c
  • Video won't play on iphone

    18 octobre 2016, par Merc

    I have an app that places videos online, and cannot find a way to get iPhones to actually play them.

    ffprobe says :

     merc@mercs-thinkpad:/disk/home/merc/Downloads$ ffprobe 5801005ff1861ba1729757fbffprobe version 2.8.8-0ubuntu0.16.04.1 Copyright (c) 2007-2016 the FFmpeg developers
       built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609
       configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --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-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --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-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
       WARNING: library configuration mismatch
       avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --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-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --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-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv --enable-version3 --disable-doc --disable-programs --disable-avdevice --disable-avfilter --disable-avformat --disable-avresample --disable-postproc --disable-swscale --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libvo_aacenc --enable-libvo_amrwbenc
       libavutil      54. 31.100 / 54. 31.100
       libavcodec     56. 60.100 / 56. 60.100
       libavformat    56. 40.101 / 56. 40.101
       libavdevice    56.  4.100 / 56.  4.100
       libavfilter     5. 40.101 /  5. 40.101
       libavresample   2.  1.  0 /  2.  1.  0
       libswscale      3.  1.101 /  3.  1.101
       libswresample   1.  2.101 /  1.  2.101
       libpostproc    53.  3.100 / 53.  3.100
     Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '5801005ff1861ba1729757fb':
       Metadata:
         major_brand     : isom
         minor_version   : 512
         compatible_brands: isomiso2avc1mp41
         encoder         : Lavf57.50.100
       Duration: 00:00:12.37, start: 0.021333, bitrate: 993 kb/s
         Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 928 kb/s, 29.83 fps, 29.83 tbr, 11456 tbn, 59.67 tbc (default)
         Metadata:
           handler_name    : VideoHandler
         Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 70 kb/s (default)
         Metadata:
           handler_name    : SoundHandler

    The video is here

    The file was created using ffmpeg from within the app.

    Is this a codec problem ? What shall I do to make sure iPhones can actually play them ?

  • Where are there working exdamples for QSV enabled ffmpeg filters ?

    2 août 2021, par Bart Lederman

    I'm re-posting this question in a modified form because I'm told that stack overflow doesn't allow anyone to ask for the location of documentation. So now I'm not asking for documentation, I just want working examples of how the QSV enabled filters are used, with a specific question on why async doesn't work with vpp_qsv .

    &#xA;

    I have a PC running Windows which is QSV capable. I've found the codec and at least one QSV filter which really speed up decoding and encoding AVC (x264) videos.

    &#xA;

    But the experience is extremely aggravating, as I cannot find a list anywhere that I can find on what the filters and arguments actually are.

    &#xA;

    The closest I've come for vpp_qsv is this :

    &#xA;

    https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_vpp_qsv.c

    &#xA;

    It's a good start, but it has no examples of what the arguments actually are.&#xA;Source code doesn't explain how the filters actually work. However, this source code does say that async_depth is a valid qualifier.

    &#xA;

    The few examples I've been able to find in various places (including stackoverflow) do not work.

    &#xA;

    By experimentation, I've found that this works :

    &#xA;

    ffmpeg -hide_banner -init_hw_device qsv=qsv -hwaccel qsv -i "input.mts" -c:a aac -c:v h264_qsv -preset veryslow -vf "vpp_qsv=cw=628:cx=0:w=640:h=480" -q:v 30 "output.mp4"

    &#xA;

    I can add other things to the filter. For example :

    &#xA;

    "vpp_qsv=deinterlace=2:cw=628:cx=0:w=640:h=480"

    &#xA;

    will work. However, this will NOT work :

    &#xA;

    "vpp_qsv=cw=628:cx=0:w=640:h=480:async_depth=4"

    &#xA;

    even though there are examples posted that say it will.

    &#xA;

    [Parsed_vpp_qsv_0 @ 0000000005bff8c0] Option 'async_depth' not found [AVFilterGraph @ 0000000007327dc0] Error initializing filter 'vpp_qsv' with args 'cw=628:cx=0:w=640:h=480:async_depth=4' Error reinitializing filters ! Failed to inject frame into filter network : Option not found Error while processing the decoded data for stream #0:0

    &#xA;

    I also have been unable to find good examples of using more than one QSV enabled filter at the same time.

    &#xA;

    I'm using the newest version of ffmpeg I can find :

    &#xA;

    I :\ffmpeg -version ffmpeg version 4.4-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers built with gcc 10.2.0 (Rev6, Built by MSYS2 project) configuration : —enable-gpl —enable-version3 —enable-static —disable-w32threads —disable-autodetect —enable-fontconfig —enable-iconv —enable-gnutls —enable-libxml 2 —enable-gmp —enable-lzma —enable-libsnappy —enable-zlib —enable-librist —enable-libsrt —enable-libssh —enable-libzmq —enable-avisynth —enable-libbluray —enab le-libcaca —enable-sdl2 —enable-libdav1d —enable-libzvbi —enable-librav1e —enable-libsvtav1 —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxvid —ena ble-libaom —enable-libopenjpeg —enable-libvpx —enable-libass —enable-frei0r —enable-libfreetype —enable-libfribidi —enable-libvidstab —enable-libvmaf —enable-lib zimg —enable-amf —enable-cuda-llvm —enable-cuvid —enable-ffnvcodec —enable-nvdec —enable-nvenc —enable-d3d11va —enable-dxva2 —enable-libmfx —enable-libglslang - -enable-vulkan —enable-opencl —enable-libcdio —enable-libgme —enable-libmodplug —enable-libopenmpt —enable-libopencore-amrwb —enable-libmp3lame —enable-libshine - -enable-libtheora —enable-libtwolame —enable-libvo-amrwbenc —enable-libilbc —enable-libgsm —enable-libopencore-amrnb —enable-libopus —enable-libspeex —enable-libv orbis —enable-ladspa —enable-libbs2b —enable-libflite —enable-libmysofa —enable-librubberband —enable-libsoxr —enable-chromaprint libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100

    &#xA;

    and the output of "ffmpeg -filters" says I have the various QSV enabled filters on my system.

    &#xA;

    I have searched dozens and dozens of sites including Intel and ffmpeg.org and I cannot find a clear explanation of how the various QSV enabled filters work, with examples that will actually execute on my system. Could someone please point me to where this filter is explained ? (This is NOT, I repeat, NOT a banned request for documentation. I'm asking how to use a specific qualifier in a specific filter.)

    &#xA;