Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (104)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (9350)

  • Linking my static C++ library with libavutil cause to undefined reference

    22 mai 2023, par folibis

    I'm facing some strange problem. I have a static library that uses the Ffmpeg libraries internally. For some reason I get the error :
undefined reference to `av_log_set_level(int)

    


    the code is as follows :

    


    #ifdef __cplusplus&#xA;extern "C" {&#xA;#endif&#xA;#include <libavcodec></libavcodec>avcodec.h>&#xA;#include <libavutil></libavutil>avutil.h>&#xA;#ifdef __cplusplus&#xA;}&#xA;#endif&#xA;int some_func()&#xA;{&#xA;    av_log_set_level(AV_LOG_QUIET);        &#xA;}&#xA;

    &#xA;

    As you can see the Ffmpeg libraries are enclosed into extern "C".&#xA;I use CMake file, that looks like follows :

    &#xA;

    cmake_minimum_required (VERSION 3.23)&#xA;&#xA;add_library(MyLib STATIC lib.cpp)&#xA;target_link_libraries(MyLib  -lavformat -lavcodec -lswscale -lavutil)&#xA;&#xA;add_executable(MyApp main.cpp)&#xA;target_link_libraries(MyApp  MyLib -lavformat -lavcodec -lswscale -lavutil)&#xA;

    &#xA;

    But nothing helps, I still get the same error.

    &#xA;

    I've tried to check the symbols of my library with nm :

    &#xA;

    nm .MyLib.a | grep av_log_set_level&#xA;U _Z16av_log_set_leveli&#xA;

    &#xA;

    the same function in libavutil :

    &#xA;

    nm /usr/lib/x86_64-linux-gnu/libavutil.a | grep av_log_set_level&#xA;0000000000000ff0 T av_log_set_level&#xA;

    &#xA;

    I guess that for some reason my static library uses c++ mangling and so it looks for the incorrect function, _Z16av_log_set_leveli instead of av_log_set_level that causes for undefined reference error. What can I do, how can I fix that ?

    &#xA;

    The environment :

    &#xA;

      &#xA;
    • Ubuntu 22.04
    • &#xA;

    • g++ 9.4.0
    • &#xA;

    • libavutil-dev:amd64 7:4.2.7-0ubuntu0.1
    • &#xA;

    &#xA;

  • src/test_streams/ : Pull out write_simple_wavex_header() for reuse.

    19 décembre 2014, par Erik de Castro Lopo
    src/test_streams/ : Pull out write_simple_wavex_header() for reuse.
    
    • [DH] src/test_streams/main.c
  • Internet explorer does not support HTML5 video with height greater than 1088px

    25 novembre 2015, par evilguc

    The company I’m working at writing a web app which allows users to work with media files uploaded from mobile devices.

    To unify HTML5 video sources I decided to convert all the videos using H.264 codec in mp4 container and setting width to 1280px.

    During the fixing one of the issues with an app I decided to use 4:3 video file with 256x240px resolution. Since I convert all the files to HD resulting file became 1280x1200px and for some reason it isn’t playable in IE10 and IE11 (in other browsers going well).

    So I spend a lot of time trying to figure out the reason.