
Recherche avancée
Autres articles (81)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
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 (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (7475)
-
memory leak in ffmpeg
28 janvier 2016, par Jerry DubukeI have incorporated ffmpeg into an iPad app, and when I stream via rtsp, I see the app crash after a few hours of streaming.
When i debug the app via Instruments/leaks, i found the offending leak is inside an FFMPEG library, and the offending function is av_buffer_realloc.
Does anyone know how I can proceed with getting this leak addressed/fixed ? I do not have a lot of tools at my disposal, and I am not even sure where to post to get this problem addressed ?
Thank you for any help/suggestions.
as per a request, here is code. BUT, it has nothing to do with MY code, as the streaming is occurring, there is a leak in FFMPEG. Whether I set my timer to 1/30 sec, or 1/60 second, the leak is consistent, and as stated above is in a routine that is not mine - it is in the ffmpeg library.
video = [[RTSPPlayer alloc] initWithVideo:szURL usesTcp:NO];
lastFrameTime = -1;
// seek to 0.0 seconds
[video seekTime:0.0];
[_nextFrameTimer invalidate];
self.nextFrameTimer = [NSTimer scheduledTimerWithTimeInterval:1.0/30 target:self selector:@selector(displayNextFrame:) userInfo:nil repeats:YES];here is displayNextFrame. It calls into RSTPPlayer to get a snapshot video frame :
{
if (![video stepFrame]) {
[timer invalidate];
[video closeAudio];
return;
}
self.theImageView.image = video.currentImage;
}Here is the currentImage code from RTSPPlayer :
- (UIImage *)currentImage
{
if (!pFrame->data[0]) return nil;
[self convertFrameToRGB];
return [self imageFromAVPicture:picture width:outputWidth height:outputHeight];
}Here is imageFromAVPicture :
- (UIImage *)imageFromAVPicture:(AVPicture)pict width:(int)width height:(int)height
{
CGBitmapInfo bitmapInfo = kCGBitmapByteOrderDefault;
CFDataRef data = CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, pict.data[0], pict.linesize[0]*height,kCFAllocatorNull);
CGDataProviderRef provider = CGDataProviderCreateWithCFData(data);
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
CGImageRef cgImage = CGImageCreate(width,
height,
8,
24,
pict.linesize[0],
colorSpace,
bitmapInfo,
provider,
NULL,
NO,
kCGRenderingIntentDefault);
CGColorSpaceRelease(colorSpace);
UIImage *image = [UIImage imageWithCGImage:cgImage];
CGImageRelease(cgImage);
CGDataProviderRelease(provider);
CFRelease(data);
return image;}
Thank you for any assistance.
-
FFMpeg + iOS - Memory Leak
4 octobre 2019, par DaneoI’ve managed to set up RTSP streaming through the use of FFMpeg.
However, I’m plagued by some memory leaks, some of which I’ve managed to solve, but the profiler keeps reporting some other.I’ve posted the related class on Github, and would be very grateful if you could provide a hand in this because I don’t know where to look anymore.
The profile reports the leak when closing the screen, so this means it is leaking something during the deallocation phase.
-
qsvdec : Fix memory leak
5 décembre 2016, par Timothy Gu