
Advanced search
Medias (2)
-
GetID3 - Bloc informations de fichiers
9 April 2013, by
Updated: May 2013
Language: français
Type: Picture
-
GetID3 - Boutons supplémentaires
9 April 2013, by
Updated: April 2013
Language: français
Type: Picture
Other articles (38)
-
Ajouter notes et légendes aux images
7 February 2011, byPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Publier sur MédiaSpip
13 June 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 -
MediaSPIP v0.2
21 June 2013, byMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
On other websites (5014)
-
does ffmpeg allocate memory and will not release immediately when encoding and decoding?
24 June 2021, by Tangtooi want to transform videos to jpeg and wav as output. I wrote the programm by myself with FFmpeg-api. The video(.webm e.g.) is decoded and video and audio frames are encoded to jpeg and wav. With running of the program, more and more videos are converted but more and more rss are used(top cmd in linux).


I have also used valgrind to test if there is memory leak. And there is None.


The rss increases not linear and like follows(just example):


1 video: 30m
2 video: 150m
3 video: 200m
4 video: 220m
5 video: 220m
6 video: 230m


The programm run in docker container and k8s with memory limit(2G). After days(about 30000 videos are processed for example) the pod will be force restarted.


Is it real memory leak? Or these memory are keeped by ffmpeg lib as memory pool or something?
Thanks


-
Why does CreateDXGIFactory occupy GPU even if I call it's release interface
13 May 2022, by TONYFirst I run the following code:


IDXGIFactory* pFactory;
 HRESULT hr = CreateDXGIFactory(__uuidof(IDXGIFactory1), (void**)(&pFactory));
 if (FAILED(hr))
 {
 return -1;
 }



then I tried to use ffmpeg's nvenc_h264 function:


AVCodec* m_encoder = avcodec_find_encoder_by_name("h264_nvenc");
 if (!m_encoder) {
 m_encoder = avcodec_find_encoder_by_name("nvenc_h264");
 }

 if (!m_encoder) {
 err = -1;
 std::cout << "find 264 encoder failed" << std::endl;
 return 0;
 }

 AVCodecContext* m_encoder_ctx = avcodec_alloc_context3(m_encoder);
 if (!m_encoder_ctx) {

 err = -1;
 std::cout << "avcodec_alloc_context3 failed" << std::endl;
 return 0;
 }

 m_encoder_ctx->width = 1280;
 m_encoder_ctx->height = 720;
 m_encoder_ctx->time_base = { 1, (int)25 };

 m_encoder_ctx->codec_id = m_encoder->id;
 m_encoder_ctx->codec_type = AVMEDIA_TYPE_VIDEO;
 m_encoder_ctx->pix_fmt = AV_PIX_FMT_YUV420P;

 ret = avcodec_open2(m_encoder_ctx, m_encoder, nullptr);



it's failed. the avcode_open2 would fail, it shows that
"[h264_nvenc @ 0000016AE3F06F00] dl_fn->cuda_dl->cuInit(0) failed -> CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected"
but if I don't call the CreateDXGIFactory, then the avcodec_open2 would success.


-
Flutter app crashes in release mode when initializing FlutterFFmpegConfig();
18 February 2021, by Mahmoud EidarousThe app is working on Android on Debug mode(only) with no errors in the logcat/terminal.
But when I tested it on iOS (even in debug mode), it crashes on a specific page.
After long tests, I could know that this line was causing the app to crash.


FlutterFFmpegConfig _flutterFFmpegConfig = FlutterFFmpegConfig();



If I comment that line, the app won't crash, but I need that line to manipulate videos in the app.


I'm using
flutter_ffmpeg: ^0.3.0
inpubspec.yaml
, andfull-gpl
package is set inandroid\build.gradle


ext {
 flutterFFmpegPackage = "full-gpl"
}



Related package initializations code snippet:


final FlutterFFmpegConfig _flutterFFmpegConfig = new FlutterFFmpegConfig();
final FlutterFFmpeg _flutterFFmpeg = new FlutterFFmpeg();
final FlutterFFprobe _flutterFFprobe = new FlutterFFprobe();



I'm not sure, but it seems like the app can't handle creating all these objects at the same class!
Anyone familiar with this problem?