
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (79)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (7675)
-
FFMpeg reading frames from avi files
6 août 2014, par konstiI’m trying to read frames of movies and it is working for all formats except avi.
When opening avi files I always get the message :
[mpeg4 @ 0x1030e4e00] Video uses a non-standard and wasteful way to store B-frames (’packed B-frames’). Consider using a tool like VirtualDub or avidemux to fix it.
[mpeg4 @ 0x1030e4e00] warning : first frame is no keyframeWhat do I have to do to get frames from avi files ?
Here is my code :
-(id)initWithVideo:(NSString *)moviePath {
if (!(self=[super init])) return nil;
AVCodec *pCodec;
// Register all formats and codecs
avcodec_register_all();
av_register_all();
// Open video file
pFormatCtx = avformat_alloc_context();
if(avformat_open_input(&pFormatCtx, [moviePath UTF8String], NULL, NULL)!=0)
goto initError; // Couldn't open file
// Retrieve stream information
if(avformat_find_stream_info(pFormatCtx, NULL)<0)
goto initError; // Couldn't find stream information
// Find the first video stream
videoStream=-1;
for(int i=0; inb_streams; i++)
if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO)
{
videoStream=i;
break;
}
if(videoStream==-1)
goto initError; // Didn't find a video stream
// Get a pointer to the codec context for the video stream
pCodecCtx=pFormatCtx->streams[videoStream]->codec;
// Find the decoder for the video stream
pCodec=avcodec_find_decoder(pCodecCtx->codec_id);
if(pCodec==NULL)
goto initError; // Codec not found
AVDictionary *optionsDict = NULL;
// Open codec
if(avcodec_open2(pCodecCtx, pCodec, &optionsDict)<0)
goto initError; // Could not open codec
// Allocate video frame
pFrame=av_frame_alloc();
outputWidth = pCodecCtx->width;
self.outputHeight = pCodecCtx->height;
return self;initError :
NSLog(@"an error occurred") ;
return nil ;
} -
Anomalie #3205 : [Plugin-dist Mots] Incompatibilité avec l’API d’édition d’objet ?
18 juillet 2014, par marcimat ☺☮☯♫Hum, en SPIP 3.1-dev, tout comme en 3.0, j’optiens une erreur SQL :
ERREUR : table spip_groupes_mots has no column named date - INSERT INTO spip_groupes_mots (maj,date,titre,tables_liees) VALUES (datetime(’now’),’2014-07-18 14:58:21’,’Mon super titre’,’articles’)Effectivement, les fonctions sont nommées groupemots_xxx(), ce qui ne me semble pas correct, car le texte d’objet déclaré pour la table groupes_mots est bien ’groupe_mots’, avec un espace.
Je suppose qu’il y a eu ici confusion avec les fonctions d’autorisations, qui elles « mangent » les soulignés, par exemple autoriser_groupemots_supprimer_dist()… Ici l’absence du souligné est du au fonctionnement des autorisations.
-
Ndk : Button event error Fatal 11 SIGSEGV when video streaming
24 avril 2015, par user3773632I’m using ffmpeg in ndk, make video streaming service.
my problem is that Video streaming when the button is pressed, an fatal 11 SIGSEGV error occurs.
this my source
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.fragment_main);
Log.v("LOG", "CREATE");
mUHSurfaceView = (UHSurfaceView) findViewById(R.id.uhsurfaceview);
bCamera = (Button)findViewById(R.id.camera);
bCamera.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
Log.v("CameraButton", "CameraButton");
}
});In ndk using ffmpeg h264 decoding and rgb24 through opengl(GLSurfaceView) screen output.
I don’t know why occur this error i can’t solve error
please help me !my device : Samsung galaxy s4 mini
android : 4.2.2Thanks.