Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (111)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

  • doc/encoders : fix the misleading usage of profile

    20 juin 2020, par Limin Wang
    doc/encoders : fix the misleading usage of profile
    

    users are getting mislead by the integer, although profile
    can support both const string and integer.
    http://ffmpeg.org/pipermail/ffmpeg-user/2020-June/049025.html

    Also fix the order of high and main, it's not my intention.

    Signed-off-by : Limin Wang <lance.lmwang@gmail.com>

    • [DH] doc/encoders.texi
  • Why are there vaapi filters that exist in libavfilter but do not exist in my compiled version of ffmpeg ?

    13 juin 2020, par John Allard

    I've compiled the most recent snapshot of ffmpeg with vaapi enabled

    &#xA;&#xA;

    $ ffmpeg -hwaccesls&#xA;ffmpeg version N-98129-g0b182ff Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.12) 20160609&#xA;  configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libass --enable-fontconfig --enable-libfreetype --enable-libvidstab --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-postproc --enable-small --enable-version3 --enable-libzmq --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-libopenjpeg --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-libsrt --enable-vaapi --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib&#xA;  libavutil      56. 54.100 / 56. 54.100&#xA;  libavcodec     58. 92.100 / 58. 92.100&#xA;  libavformat    58. 46.101 / 58. 46.101&#xA;  libavdevice    58. 11.100 / 58. 11.100&#xA;  libavfilter     7. 86.100 /  7. 86.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;  libpostproc    55.  8.100 / 55.  8.100&#xA;Hardware acceleration methods:&#xA;vaapi&#xA;

    &#xA;&#xA;

    I know that vaapi is working because I can use it for hardware decoding and encoding of h264 videos. I can see some vaapi filters as well

    &#xA;&#xA;

    $ ffmpeg -filters | grep vaapi&#xA; ... deinterlace_vaapi V->V       (null)&#xA; ... denoise_vaapi     V->V       (null)&#xA; ... procamp_vaapi     V->V       (null)&#xA; ... scale_vaapi       V->V       (null)&#xA; ... sharpness_vaapi   V->V       (null)&#xA;

    &#xA;&#xA;

    However, I notice that this list is missing the filter that I'm specifically looking for, namely , transpose_vaapi. If you look in the libavfilter source code you'll see the following

    &#xA;&#xA;

    This shows the transpose_vaapi filter defined in the allfilters.c file&#xA;https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/allfilters.c#L414

    &#xA;&#xA;

    This shows the transpose_vaapi filter source code&#xA;https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_transpose_vaapi.c

    &#xA;&#xA;

    If the filter is defined in source code, it's defined in allfilters.c, and I've compiled ffmpeg from this source with vaapi enabled, why can I not use this filter with ffmpeg ?

    &#xA;&#xA;

    $ ffmpeg -y -hide_banner -nostats -loglevel error \&#xA;    -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi \&#xA;    -i ./test_video.mp4 \&#xA;    -vf &#x27;format=nv12,transpose_vaapi=2&#x27; \&#xA;    -c:v h264_vaapi \&#xA;    /tmp/rotated_video.mp4&#xA;[AVFilterGraph @ 0xf14000] No such filter: &#x27;transpose_vaapi&#x27;&#xA;Error reinitializing filters!&#xA;Failed to inject frame into filter network: Invalid argument&#xA;

    &#xA;&#xA;

    EDIT -

    &#xA;&#xA;

    Looking through the source code for vf_transpose_vaapi.c I see the following logic

    &#xA;&#xA;

        if (!pipeline_caps.rotation_flags) {&#xA;        av_log(avctx, AV_LOG_ERROR, "VAAPI driver doesn&#x27;t support transpose\n");&#xA;        return AVERROR(EINVAL);&#xA;    }&#xA;

    &#xA;&#xA;

    that's inside of the transpose_vaapi_build_filter_params function which is part of the filter initialization process. I guess it's possible that, if that call failed, the filter would fail to be built and it would not be registered as a valid filter ? This seems like something that would happen at runtime when I attempt to run the filter rather than something that would happen at compile time when setting which filters are defined.

    &#xA;

  • FFmpeg installation on Raspberry Pi Zero W : Undefined references to __atomic

    3 février 2021, par MisterGray

    I'm trying to install ffmpeg on my Raspberry Pi Zero W, but I get several error messages.

    &#xA;

    OS : Raspberry Pi OS (32-bit) Lite (May 2020)

    &#xA;

    I have executed the following commands :

    &#xA;

    sudo apt update&#xA;sudo apt full-upgrade&#xA;sudo apt install git&#xA;git clone https://github.com/FFmpeg/FFmpeg.git&#xA;cd FFmpeg&#xA;./configure --arch=armel --target-os=linux --enable-gpl --enable-omx --enable-omx-rpi --enable-nonfree&#xA;make -j2&#xA;sudo make install&#xA;

    &#xA;

    Output of last command :

    &#xA;

    ...&#xA;LD      ffmpeg_g&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_init&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:519: undefined reference to `__atomic_store_8&#x27;&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_trailer&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:624: undefined reference to `__atomic_fetch_add_8&#x27;&#xA;/usr/bin/ld: /home/pi/FFmpeg/libavformat/fifo.c:631: undefined reference to `__atomic_store_8&#x27;&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_thread_write_packet&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:188: undefined reference to `__atomic_fetch_sub_8&#x27;&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_consumer_thread&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:457: undefined reference to `__atomic_load_8&#x27;&#xA;/usr/bin/ld: libavformat/libavformat.a(fifo.o): in function `fifo_write_packet&#x27;:&#xA;/home/pi/FFmpeg/libavformat/fifo.c:597: undefined reference to `__atomic_fetch_add_8&#x27;&#xA;collect2: error: ld returned 1 exit status&#xA;make: *** [Makefile:114: ffmpeg_g] Error 1&#xA;

    &#xA;

    Maybe another package is missing ? Do I have to change anything in the config ?

    &#xA;