
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (104)
-
Modifier la date de publication
21 juin 2013, parComment 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 2013Puis-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, parMediaSPIP 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 folibisI'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
extern "C" {
#endif
#include <libavcodec></libavcodec>avcodec.h>
#include <libavutil></libavutil>avutil.h>
#ifdef __cplusplus
}
#endif
int some_func()
{
 av_log_set_level(AV_LOG_QUIET); 
}



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

cmake_minimum_required (VERSION 3.23)

add_library(MyLib STATIC lib.cpp)
target_link_libraries(MyLib -lavformat -lavcodec -lswscale -lavutil)

add_executable(MyApp main.cpp)
target_link_libraries(MyApp MyLib -lavformat -lavcodec -lswscale -lavutil)



But nothing helps, I still get the same error.


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


nm .MyLib.a | grep av_log_set_level
U _Z16av_log_set_leveli



the same function in libavutil :


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



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 ofav_log_set_level
that causes for undefined reference error. What can I do, how can I fix that ?

The environment :


- 

- Ubuntu 22.04
- g++ 9.4.0
- libavutil-dev:amd64 7:4.2.7-0ubuntu0.1








-
src/test_streams/ : Pull out write_simple_wavex_header() for reuse.
19 décembre 2014, par Erik de Castro Lopo -
Internet explorer does not support HTML5 video with height greater than 1088px
25 novembre 2015, par evilgucThe 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.