Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (85)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (6896)

  • 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;