
Recherche avancée
Autres articles (52)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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
Sur d’autres sites (6598)
-
multiple GPU encoding use FFMPEG under multiple threads environment
8 septembre 2022, par shenuoHere is the application situation.
I want use 4 NV GPUs to carry out some calculation work (CUDA based), and encoding work (FFMPEG &NVEC), it works fine when they are in serial. But when I want them to be parallel. like this


void encodingwork(){
 #pragma omp parallel for num_threads(4)
 for (int i = 0; i < 4; i++) {
 cudaSetDevice(i);
 encodingwork();
 }
 }

 int main(){
 thread thd;
 for (int k = 0; k < N; k++) {
#pragma omp parallel for num_threads(4)
 for (int i = 0; i < 4; i++) {
 cudaSetDevice(i);
 cudawork();
 }
 if (k != 0)
 thd.join();
 thd = thread(encodingwork);
 }
 thd.join();
 }



an error will be thrown out from ffmpeg. just like


[AVHWDeviceContext @ 000002334959ac80] cu->cuMemFree((CUdeviceptr)data) failed -> CUDA_ERROR_ILLEGAL_ADDRESS: an illegal memory access was encountered

[hevc_nvenc @ 00000230c956b200] EncodePicture failed!: generic error (20):
Error sending a frame for encoding: -1313558101 (Unknown error occurred)



can anybody tell me what's wrong with this ?


-
Révision 18539 : Ca devrait être plus sympa de se connecter à SPIP depuis un smartphone ;)
17 septembre 2011, par tetue -Habillage des popup restées nues ; et des fenêtres en petite largeur, dont navigateurs mobiles, à l’aide de règles CSS media query
Bouton pour fermer la fenêtre
Et finalement, suppression des popup du formulaire de forum sur abonnement et de la page de login. Ce qui résoud (...)
-
How to compile ffmpeg for Windows statically with MSYS2 environment ?
17 janvier 2024, par usernameI want to build myself standalone statically linked ffmpeg binaries for Windows from official git source code with MSYS2 environment tools. But every time I get .exe file dynamically linked to mingw libraries that crashes with "The application was unable to start correctly (0xc000007b)" error even if I put required libbz2-1.dll, libiconv-2.dll and libwinpthread-1.dll libraries in it's folder.



I'm running MSYS2 environment with



msys2_shell.cmd -mingw64




line, and use mingw64/mingw-w64-x86_64-gcc 8.2.1+20181214-1 compiler package. Then I run ./configure with



./configure --pkg-config-flags=--static --disable-shared --enable-static




line - the best options I have googled at all my efforts. Then proceed with general



make
make install




sequence.



As a result, I get binaries that run smoothly in MSYS2 environment itself, but when I run it from host Windows explorer or cmd, first of all it ask for libbz2-1.dll, libiconv-2.dll and libwinpthread-1.dll libraries and when I put them in binaries' folder, they crash with "The application was unable to start correctly (0xc000007b)" error.



I've asked about this case at official https://ffmpeg.zeranoe.com/forum/viewtopic.php?f=5&t=6439 forum but still have no response for already 5 days.



Regarding dynamic linking libraries somehow I got bandaid solution with removing *.dll.a files from mingw64\x86_64-w64-mingw32\lib folder. But it looks not very clean for me. I wish to know if it is possible to do static linkage with some compiler/make/linker parameters or with editing ./configure or Makefile files somehow ?



Also 0xc000007b error still remaining.



I've managed to have desired result with media-autobuild_suite based on the same MSYS2 environment, so I know it is possible to do this somehow. But I'm very new to all this *nix things so don't understand it's bash script at all, not to mention it is pretty sophisticated by itself. The only thing I see it's producing correct ffmpeg executables running under native Windows environment not requiring dlls listed above.



According to all guides in internet I found at the moment, I should get standalone Windows executables with this toolset, but it just don't work and I'm stuck. Please, help.