
Recherche avancée
Médias (1)
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (111)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (13943)
-
Including objects to a shared library from a C++ archive (.a)
1er septembre 2021, par El SampsaI am trying to include some object files into a shared library I am building. Take the following command (things in [ETC] have been omitted for brevity) :





/usr/bin/c++ -fPIC -std=c++14 -pthread -Iinclude/ext/liveMedia -Iinclude/ext/groupsock [ETC] -g -shared -Wl,-soname,libValkka.so -o lib/libValkka.so CMakeFiles/Valkka.dir/src/avthread.cpp.o CMakeFiles/Valkka.dir/src/opengl.cpp.o [ETC] CMakeFiles/Valkka.dir/src/decoders.cpp.o -lX11 -lGLEW -lGLU -lGL -Wl,—whole-archive lib/libavcodec.a -Wl,—no-whole-archive





So basically I am just creating a shared library where most of the objects come from my own source code (i.e. CMakeFiles/Valkka.dir/src/*.o), but some of them come from an external static library, located at "lib/libavcodec.a". I get the following error :





/usr/bin/ld : lib/libavcodec.a(h264_cabac.o) : relocation R_X86_64_PC32 against symbol 'ff_h264_cabac_tables' can not be used when making a shared object ; recompile with -fPIC
 /usr/bin/ld : final link failed : Bad value
 collect2 : error : ld returned 1 exit status





But that is so untrue ! I can extract "libavcodec.a" with



ar x libavcodec.a




And after that check that



readelf --relocs h264_cabac.o | egrep '(GOT|PLT|JU?MP_SLOT)' 




does give some **it :





00000000175d 003100000004 R_X86_64_PLT32 0000000000000000 __stack_chk_fail - 4
 000000001926 003100000004 R_X86_64_PLT32 0000000000000000 __stack_chk_fail - 4

 

...





As does



objdump -r h264_cabac.o | grep -i "relocation"




So, indeed, the object files in "libavcodec.a" have been compiled to get PIC (position independent code).



Why does the linker believe otherwise !?



Related links :



How to include all objects of an archive in a shared object ?



Linking archives (.a) into shared object (.so)



Is there a way to determine that a .a or .so library has been compiled as position indepenent code ?



How can I tell, with something like objdump, if an object file has been built with -fPIC ?


-
Is it possible to change a google cloud function from Ubuntu 22 (default image) to Ubuntu 18 ?
19 octobre 2023, par Asher AI created a google cloud function via the Firebase CLI. I wasn't initially aware of which runtime environment the function (2nd generation) I created would be running on, however, I noticed that it didn't have
ffmpeg
installed so I tried looking for the actual runtime env. I then encountered this : https://cloud.google.com/functions/docs/reference/system-packages#requesting_a_package and through additional searches understood that the default base image is now ubuntu 22 which doesn't haveffmpeg
-> so I tried checking if I could switch back to Ubuntu 18 (I haven't figured out how, or if it's possible at all). Is it possible to switch images or at least installing ffmpeg in the runtime I'm using ?

-
How can i forcing current frame to be encoded as intra frame using libavcodec
14 avril 2021, par pensirI want to change gop dynamic to adapt to player. Smaller gop help for reduce first screen cost ; Big gop help to reduce bitrate to save bandwidth.


I found nvenc has a function which can solve the problem above.
https://docs.nvidia.com/video-technologies/video-codec-sdk/nvenc-video-encoder-api-prog-guide/#forcing-current-frame-to-be-encoded-as-intra-frame


But I'm using ffmpeg. Is there any similar function in ffmpeg ?