Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (86)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (7748)

  • swscale/graph : fix memleak of cascaded graphs

    2 décembre 2024, par Niklas Haas
    swscale/graph : fix memleak of cascaded graphs
    

    Just free them directly and discard the parent context.

    Fixes : bf738412e849bcb8c63a330dfb814281b3d97f6b
    Signed-off-by : Niklas Haas <git@haasn.dev>
    Sponsored-by : Sovereign Tech Fund

    • [DH] libswscale/graph.c
  • FFMpeg fails to compile

    28 juin 2024, par Nicolas Appriou

    I'm trying to compile a project that needs a specific version of ffmpeg to work.

    &#xA;

    I isolated ffmpeg build and tried to compile it on its own as done in the parent project.&#xA;It seems to be version 6.1.1, the build system downloads ffmpeg from this url https://github.com/FFmpeg/FFmpeg/archive/e38092ef9395d7049f871ef4d5411eb410e283e0.zip before building it.&#xA;I'm using an up-to-date debian testing distribution.

    &#xA;

    When trying to build it on my own, I got this error message :

    &#xA;

    $ ./configure --enable-shared --disable-static --disable-programs --disable-doc&#xA;$ make&#xA;CC  libavcodec/vulkan_av1.o&#xA;In file included from libavcodec/vulkan_av1.c:21:&#xA;libavcodec/vulkan_decode.h:31:5: error: unknown type name ‘VkVideoDecodeAV1ProfileInfoMESA’&#xA;   31 |     VkVideoDecodeAV1ProfileInfoMESA av1_profile;&#xA;      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:38:5: error: unknown type name ‘StdVideoAV1MESATile’&#xA;   38 |     StdVideoAV1MESATile            tiles[MAX_TILES];&#xA;      |     ^~~~~~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:39:5: error: unknown type name ‘StdVideoAV1MESATileList’&#xA;   39 |     StdVideoAV1MESATileList        tile_list;&#xA;      |     ^~~~~~~~~~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:43:5: error: unknown type name ‘VkVideoDecodeAV1DpbSlotInfoMESA’&#xA;   43 |     VkVideoDecodeAV1DpbSlotInfoMESA    vkav1_ref;&#xA;      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:44:5: error: unknown type name ‘StdVideoAV1MESAFrameHeader’&#xA;   44 |     StdVideoAV1MESAFrameHeader         av1_frame_header;&#xA;      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:45:5: error: unknown type name ‘VkVideoDecodeAV1PictureInfoMESA’&#xA;   45 |     VkVideoDecodeAV1PictureInfoMESA    av1_pic_info;&#xA;      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:49:5: error: unknown type name ‘VkVideoDecodeAV1DpbSlotInfoMESA’&#xA;   49 |     VkVideoDecodeAV1DpbSlotInfoMESA     vkav1_refs[AV1_NUM_REF_FRAMES];&#xA;      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:58:29: error: unknown type name ‘VkVideoDecodeAV1DpbSlotInfoMESA’; did you mean ‘VkVideoDecodeAV1DpbSlotInfoKHR’?&#xA;   58 |                             VkVideoDecodeAV1DpbSlotInfoMESA *vkav1_ref, /* Goes in ^ */&#xA;      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |                             VkVideoDecodeAV1DpbSlotInfoKHR&#xA;libavcodec/vulkan_av1.c: In function ‘vk_av1_create_params’:&#xA;libavcodec/vulkan_av1.c:113:5: error: unknown type name ‘StdVideoAV1MESASequenceHeader’; did you mean ‘StdVideoAV1SequenceHeader’?&#xA;  113 |     StdVideoAV1MESASequenceHeader av1_sequence_header;&#xA;      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |     StdVideoAV1SequenceHeader&#xA;libavcodec/vulkan_av1.c:114:5: error: unknown type name ‘VkVideoDecodeAV1SessionParametersAddInfoMESA’; did you mean ‘VkVideoDecodeH265SessionParametersAddInfoKHR’?&#xA;  114 |     VkVideoDecodeAV1SessionParametersAddInfoMESA av1_params_info;&#xA;      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |     VkVideoDecodeH265SessionParametersAddInfoKHR&#xA;libavcodec/vulkan_av1.c:115:5: error: unknown type name ‘VkVideoDecodeAV1SessionParametersCreateInfoMESA’; did you mean ‘VkVideoDecodeAV1SessionParametersCreateInfoKHR’?&#xA;  115 |     VkVideoDecodeAV1SessionParametersCreateInfoMESA av1_params;&#xA;      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |     VkVideoDecodeAV1SessionParametersCreateInfoKHR&#xA;libavcodec/vulkan_av1.c:120:28: error: ‘StdVideoAV1MESASequenceHeader’ undeclared (first use in this function); did you mean ‘StdVideoAV1SequenceHeader’?&#xA;  120 |     av1_sequence_header = (StdVideoAV1MESASequenceHeader) {&#xA;      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |                            StdVideoAV1SequenceHeader&#xA;libavcodec/vulkan_av1.c:120:28: note: each undeclared identifier is reported only once for each function it appears in&#xA;libavcodec/vulkan_av1.c:120:58: error: expected ‘;’ before ‘{’ token&#xA;  120 |     av1_sequence_header = (StdVideoAV1MESASequenceHeader) {&#xA;      |                                                          ^~&#xA;      |                                                          ;&#xA;libavcodec/vulkan_av1.c:171:24: error: ‘VkVideoDecodeAV1SessionParametersAddInfoMESA’ undeclared (first use in this function); did you mean ‘VkVideoDecodeH265SessionParametersAddInfoKHR’?&#xA;  171 |     av1_params_info = (VkVideoDecodeAV1SessionParametersAddInfoMESA) {&#xA;      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |                        VkVideoDecodeH265SessionParametersAddInfoKHR&#xA;libavcodec/vulkan_av1.c:171:69: error: expected ‘;’ before ‘{’ token&#xA;  171 |     av1_params_info = (VkVideoDecodeAV1SessionParametersAddInfoMESA) {&#xA;      |                                                                     ^~&#xA;      |                                                                     ;&#xA;libavcodec/vulkan_av1.c:175:19: error: ‘VkVideoDecodeAV1SessionParametersCreateInfoMESA’ undeclared (first use in this function); did you mean ‘VkVideoDecodeAV1SessionParametersCreateInfoKHR’?&#xA;  175 |     av1_params = (VkVideoDecodeAV1SessionParametersCreateInfoMESA) {&#xA;      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |                   VkVideoDecodeAV1SessionParametersCreateInfoKHR&#xA;libavcodec/vulkan_av1.c:175:67: error: expected ‘;’ before ‘{’ token&#xA;  175 |     av1_params = (VkVideoDecodeAV1SessionParametersCreateInfoMESA) {&#xA;      |                                                                   ^~&#xA;      |                                                                   ;&#xA;libavcodec/vulkan_av1.c:114:50: warning: variable ‘av1_params_info’ set but not used [-Wunused-but-set-variable]&#xA;  114 |     VkVideoDecodeAV1SessionParametersAddInfoMESA av1_params_info;&#xA;      |                                                  ^~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:113:35: warning: variable ‘av1_sequence_header’ set but not used [-Wunused-but-set-variable]&#xA;  113 |     StdVideoAV1MESASequenceHeader av1_sequence_header;&#xA;      |                                   ^~~~~~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:111:33: warning: unused variable ‘seq’ [-Wunused-variable]&#xA;  111 |     const AV1RawSequenceHeader *seq = s->raw_seq;&#xA;      |                                 ^~~&#xA;libavcodec/vulkan_av1.c: In function ‘vk_av1_start_frame’:&#xA;libavcodec/vulkan_av1.c:237:15: error: implicit declaration of function ‘vk_av1_fill_pict’ [-Werror=implicit-function-declaration]&#xA;  237 |         err = vk_av1_fill_pict(avctx, &amp;ap->ref_src[i], &amp;vp->ref_slots[i],&#xA;      |               ^~~~~~~~~~~~~~~~&#xA;libavcodec/vulkan_av1.c:252:18: error: request for member ‘nb_tiles’ in something not a structure or union&#xA;  252 |     ap->tile_list.nb_tiles = 0;&#xA;      |                  ^&#xA;libavcodec/vulkan_av1.c:253:18: error: request for member ‘tile_list’ in something not a structure or union&#xA;  253 |     ap->tile_list.tile_list = ap->tiles;&#xA;      |                  ^&#xA;libavcodec/vulkan_av1.c:255:25: error: ‘VkVideoDecodeAV1PictureInfoMESA’ undeclared (first use in this function); did you mean ‘VkVideoDecodeAV1PictureInfoKHR’?&#xA;  255 |     ap->av1_pic_info = (VkVideoDecodeAV1PictureInfoMESA) {&#xA;      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |                         VkVideoDecodeAV1PictureInfoKHR&#xA;libavcodec/vulkan_av1.c:255:57: error: expected ‘;’ before ‘{’ token&#xA;  255 |     ap->av1_pic_info = (VkVideoDecodeAV1PictureInfoMESA) {&#xA;      |                                                         ^~&#xA;      |                                                         ;&#xA;libavcodec/vulkan_av1.c:278:29: error: ‘StdVideoAV1MESAFrameHeader’ undeclared (first use in this function); did you mean ‘StdVideoAV1SequenceHeader’?&#xA;  278 |     ap->av1_frame_header = (StdVideoAV1MESAFrameHeader) {&#xA;      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |                             StdVideoAV1SequenceHeader&#xA;libavcodec/vulkan_av1.c:278:56: error: expected ‘;’ before ‘{’ token&#xA;  278 |     ap->av1_frame_header = (StdVideoAV1MESAFrameHeader) {&#xA;      |                                                        ^~&#xA;      |                                                        ;&#xA;libavcodec/vulkan_av1.c:402:29: error: request for member ‘tiling’ in something not a structure or union&#xA;  402 |         ap->av1_frame_header.tiling.width_in_sbs_minus_1[i] = frame_header->width_in_sbs_minus_1[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:403:29: error: request for member ‘tiling’ in something not a structure or union&#xA;  403 |         ap->av1_frame_header.tiling.height_in_sbs_minus_1[i] = frame_header->height_in_sbs_minus_1[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:404:29: error: request for member ‘tiling’ in something not a structure or union&#xA;  404 |         ap->av1_frame_header.tiling.tile_start_col_sb[i] = frame_header->tile_start_col_sb[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:405:29: error: request for member ‘tiling’ in something not a structure or union&#xA;  405 |         ap->av1_frame_header.tiling.tile_start_row_sb[i] = frame_header->tile_start_row_sb[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:409:29: error: request for member ‘segmentation’ in something not a structure or union&#xA;  409 |         ap->av1_frame_header.segmentation.feature_enabled_bits[i] = 0;&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:411:33: error: request for member ‘segmentation’ in something not a structure or union&#xA;  411 |             ap->av1_frame_header.segmentation.feature_enabled_bits[i] |= (frame_header->feature_enabled[i][j] &lt;&lt; j);&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:412:33: error: request for member ‘segmentation’ in something not a structure or union&#xA;  412 |             ap->av1_frame_header.segmentation.feature_data[i][j] = frame_header->feature_value[i][j];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:415:29: error: request for member ‘loop_filter’ in something not a structure or union&#xA;  415 |         ap->av1_frame_header.loop_filter.ref_deltas[i] = frame_header->loop_filter_ref_deltas[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:417:29: error: request for member ‘cdef’ in something not a structure or union&#xA;  417 |         ap->av1_frame_header.cdef.y_pri_strength[i] = frame_header->cdef_y_pri_strength[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:418:29: error: request for member ‘cdef’ in something not a structure or union&#xA;  418 |         ap->av1_frame_header.cdef.y_sec_strength[i] = frame_header->cdef_y_sec_strength[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:419:29: error: request for member ‘cdef’ in something not a structure or union&#xA;  419 |         ap->av1_frame_header.cdef.uv_pri_strength[i] = frame_header->cdef_uv_pri_strength[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:420:29: error: request for member ‘cdef’ in something not a structure or union&#xA;  420 |         ap->av1_frame_header.cdef.uv_sec_strength[i] = frame_header->cdef_uv_sec_strength[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:422:29: error: request for member ‘ref_order_hint’ in something not a structure or union&#xA;  422 |         ap->av1_frame_header.ref_order_hint[i] = frame_header->ref_order_hint[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:423:29: error: request for member ‘global_motion’ in something not a structure or union&#xA;  423 |         ap->av1_frame_header.global_motion[i] = (StdVideoAV1MESAGlobalMotion) {&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:423:50: error: ‘StdVideoAV1MESAGlobalMotion’ undeclared (first use in this function); did you mean ‘StdVideoAV1GlobalMotion’?&#xA;  423 |         ap->av1_frame_header.global_motion[i] = (StdVideoAV1MESAGlobalMotion) {&#xA;      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;      |                                                  StdVideoAV1GlobalMotion&#xA;libavcodec/vulkan_av1.c:423:78: error: expected ‘;’ before ‘{’ token&#xA;  423 |         ap->av1_frame_header.global_motion[i] = (StdVideoAV1MESAGlobalMotion) {&#xA;      |                                                                              ^~&#xA;      |                                                                              ;&#xA;libavcodec/vulkan_av1.c:437:29: error: request for member ‘ref_frame_idx’ in something not a structure or union&#xA;  437 |         ap->av1_frame_header.ref_frame_idx[i] = frame_header->ref_frame_idx[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:438:29: error: request for member ‘delta_frame_id_minus1’ in something not a structure or union&#xA;  438 |         ap->av1_frame_header.delta_frame_id_minus1[i] = frame_header->delta_frame_id_minus1[i];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:441:21: error: request for member ‘skip_mode_frame_idx’ in something not a structure or union&#xA;  441 |     ap->av1_pic_info.skip_mode_frame_idx[0] = s->cur_frame.skip_mode_frame_idx[0];&#xA;      |                     ^&#xA;libavcodec/vulkan_av1.c:442:21: error: request for member ‘skip_mode_frame_idx’ in something not a structure or union&#xA;  442 |     ap->av1_pic_info.skip_mode_frame_idx[1] = s->cur_frame.skip_mode_frame_idx[1];&#xA;      |                     ^&#xA;libavcodec/vulkan_av1.c:446:33: error: request for member ‘film_grain’ in something not a structure or union&#xA;  446 |             ap->av1_frame_header.film_grain.point_y_value[i] = film_grain->point_y_value[i];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:447:33: error: request for member ‘film_grain’ in something not a structure or union&#xA;  447 |             ap->av1_frame_header.film_grain.point_y_scaling[i] = film_grain->point_y_scaling[i];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:451:33: error: request for member ‘film_grain’ in something not a structure or union&#xA;  451 |             ap->av1_frame_header.film_grain.point_cb_value[i] = film_grain->point_cb_value[i];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:452:33: error: request for member ‘film_grain’ in something not a structure or union&#xA;  452 |             ap->av1_frame_header.film_grain.point_cb_scaling[i] = film_grain->point_cb_scaling[i];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:453:33: error: request for member ‘film_grain’ in something not a structure or union&#xA;  453 |             ap->av1_frame_header.film_grain.point_cr_value[i] = film_grain->point_cr_value[i];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:454:33: error: request for member ‘film_grain’ in something not a structure or union&#xA;  454 |             ap->av1_frame_header.film_grain.point_cr_scaling[i] = film_grain->point_cr_scaling[i];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:458:33: error: request for member ‘film_grain’ in something not a structure or union&#xA;  458 |             ap->av1_frame_header.film_grain.ar_coeffs_y_plus_128[i] = film_grain->ar_coeffs_y_plus_128[i];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:459:33: error: request for member ‘film_grain’ in something not a structure or union&#xA;  459 |             ap->av1_frame_header.film_grain.ar_coeffs_cb_plus_128[i] = film_grain->ar_coeffs_cb_plus_128[i];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:460:33: error: request for member ‘film_grain’ in something not a structure or union&#xA;  460 |             ap->av1_frame_header.film_grain.ar_coeffs_cr_plus_128[i] = film_grain->ar_coeffs_cr_plus_128[i];&#xA;      |                                 ^&#xA;libavcodec/vulkan_av1.c:463:29: error: request for member ‘film_grain’ in something not a structure or union&#xA;  463 |         ap->av1_frame_header.film_grain.ar_coeffs_cb_plus_128[24] = film_grain->ar_coeffs_cb_plus_128[24];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c:464:29: error: request for member ‘film_grain’ in something not a structure or union&#xA;  464 |         ap->av1_frame_header.film_grain.ar_coeffs_cr_plus_128[24] = film_grain->ar_coeffs_cr_plus_128[24];&#xA;      |                             ^&#xA;libavcodec/vulkan_av1.c: In function ‘vk_av1_decode_slice’:&#xA;libavcodec/vulkan_av1.c:483:32: error: request for member ‘nb_tiles’ in something not a structure or union&#xA;  483 |         ap->tiles[ap->tile_list.nb_tiles] = (StdVideoAV1MESATile) {&#xA;      |                                ^&#xA;libavcodec/vulkan_av1.c:483:46: error: ‘StdVideoAV1MESATile’ undeclared (first use in this function); did you mean ‘StdVideoAV1Profile’?&#xA;  483 |         ap->tiles[ap->tile_list.nb_tiles] = (StdVideoAV1MESATile) {&#xA;      |                                              ^~~~~~~~~~~~~~~~~~~&#xA;      |                                              StdVideoAV1Profile&#xA;libavcodec/vulkan_av1.c:483:66: error: expected ‘;’ before ‘{’ token&#xA;  483 |         ap->tiles[ap->tile_list.nb_tiles] = (StdVideoAV1MESATile) {&#xA;      |                                                                  ^~&#xA;      |                                                                  ;&#xA;libavcodec/vulkan_av1.c:495:52: error: request for member ‘nb_tiles’ in something not a structure or union&#xA;  495 |                                      &amp;ap->tile_list.nb_tiles,&#xA;      |                                                    ^&#xA;libavcodec/vulkan_av1.c:500:32: error: request for member ‘nb_tiles’ in something not a structure or union&#xA;  500 |         ap->tiles[ap->tile_list.nb_tiles - 1].offset = ap->tile_offsets[ap->tile_list.nb_tiles - 1];&#xA;      |                                ^&#xA;libavcodec/vulkan_av1.c:500:86: error: request for member ‘nb_tiles’ in something not a structure or union&#xA;  500 |         ap->tiles[ap->tile_list.nb_tiles - 1].offset = ap->tile_offsets[ap->tile_list.nb_tiles - 1];&#xA;      |                                                                                      ^&#xA;libavcodec/vulkan_av1.c: In function ‘vk_av1_end_frame’:&#xA;libavcodec/vulkan_av1.c:516:23: error: request for member ‘nb_tiles’ in something not a structure or union&#xA;  516 |     if (!ap->tile_list.nb_tiles)&#xA;      |                       ^&#xA;libavcodec/vulkan_av1.c:534:42: error: request for member ‘nb_tiles’ in something not a structure or union&#xA;  534 |            vp->slices_size, ap->tile_list.nb_tiles);&#xA;      |                                          ^&#xA;cc1: some warnings being treated as errors&#xA;make: *** [ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1&#xA;

    &#xA;

    The command launch above are the one taken from the parent app build system.&#xA;I'm not familiar with ffmpeg or graphics system in general.

    &#xA;

    I don't understand why the first message says that VkVideoDecodeAV1ProfileInfoMESA could not be found.&#xA;I thought I might be missing some package dependencies but it appears that a VkVideoDecodeAV1ProfileInfoMESA typedef can be found in ffmpeg sources (libavcodec/vulkan_video_codec_av1std.h:373 in this version).&#xA;So I assume something may be wrong with my compile configuration ?

    &#xA;

    I'm a little bit lost on this issue and don't know what to look for to solve it.

    &#xA;

  • ffmpeg compilation problem : avcodec_find_decoder always returns null

    15 mars 2016, par Adion

    I recently tried to upgrade the ffmpeg libraries I use in my Mac OS X application by downloading and compiling ffmpeg from source.

    My code works correctly with pre-compiled libraries of the same version on windows.
    On Mac OS X, the library appears to work (it can open the file and find the streams and codecs used), but when it gets to avcodec_find_decoder, this function always returns null.

    The code has worked with an older version of the library (compiled a year ago on Mac OS X 10.5)

    I configured fmpeg using

    ./configure --extra-cflags="-arch i386" --extra-ldflags='-arch i386' --arch=x86_32 --target-os=darwin --enable-cross-compile --disable-indev=jack --enable-shared --disable-static

    I checked config.mak, and it appears to have the decoders for the file types I tried enabled (ogg, vorbis, avi, mkv, ...)
    I also checked that the correct header files have been used and that the newly compiled library is used.

    I have found only some older posts relating to this issue, but without any solution :

    http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/021399.html

    http://libav-users.943685.n4.nabble.com/avcodec-find-decoder-problem-td944800.html

    Edit : checking further, it appears av_codec_next(NULL) returns null as well, which means there isn’t a single codec available, or that first_avcodec in utils.c is not set (I actually haven’t found at all where this variable is set, I would have assumed av_register_all, but I can’t find it there)