
Recherche avancée
Autres articles (39)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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" (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (4989)
-
how to fix the delay when play a ts stream via udp
4 juin 2013, par user2223169I want to play udp ts stream on iPhone using ffmepg, but the video delayed almost 1s, so my question is how to fix the delay, currently I think I can specify the fifo_size, just like udp ://@:1234 ?fifo_size=1024, but the player can't play with this configuration, anybody knows how to reduce the buffer size to reduce the delay ?
Thanks :) -
ffmpeg ios, decoding rtsp stream causes memory leak
5 août 2013, par Simone Mi have an ios application that stream a rtsp video via network using ffmpeg library.
In random time i have a crash without error message, the only message in console is "Memory warning".
Using instrument i detect some memory leaks, this link a screenshot about error : http://vincentvega.it/iphone/video.png, i think the problem is in the point of code where i make uiimage to show on screen :- (void)convertFrameToRGB
{
sws_scale(img_convert_ctx,
pFrame->data,
pFrame->linesize,
0,
pCodecCtx->height,
picture.data,
picture.linesize);
}
- (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 alloc] initWithCGImage:cgImage];
return [image autorelease];
}how can i detect the function that causes memory problem ?
SOLVED ! I just neeed to add the following code in "imagefromavcapture" :
CGImageRelease(cgImage);
CGDataProviderRelease(provider);
CFRelease(data); -
how to add a text stream (subtitle) into a .mp4 or .m4v
12 janvier 2013, par jAckOdEI use ffmpeg to convert video using H264 for video encoding, and FAAC for audio encoding. The output should be .mp4 or m4v in order to play on both Android and iPhone. I want to add a subtitle STREAM to video file using ffmpeg, but the ffmpeg's documentation doesnt help much.
Can anyone help me with this ?