
Recherche avancée
Médias (21)
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (55)
-
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 ; (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)
Sur d’autres sites (6176)
-
Android NDK - FFMpeg, correct video seeking
15 mars 2012, par shermanI want change the seek frame while playing video. I do :
void Java_ffvideolivewallpaper_frankandrobot_com_NativeCalls_seekFrame(
JNIEnv *env, jobject this, jint time)if (av_seek_frame(pFormatCtx, videoStream, time, AVSEEK_FLAG_ANY) < 0)
__android_log_print(ANDROID_LOG_DEBUG, "ERROR SEEK!!!->>>",
"av_seek_frame failed.");Video is displayed incorrectly. How do this correctly ?
-
ffmpeg : add hyperlink to video ?
15 mars 2012, par Simoni am experiment with ffmpeg, making videos from more images and adding watermark, some effect etc.
What I am interested : Is it possible to embed HYPERLINK into video using ffmpeg ?
For example, watermark or something else to be 'clickable' and to redirect to some www location ?
-
How to encode video using ffmpeg-java on Android from Bitmaps ?
15 décembre 2011, par gtcompscientistI am using
ffmpeg-java
compiled for Android to encode/decode video for my application.The problem that I've run into is that I am currently getting each frame as a
Bitmap
(just a plainandroid.graphics.Bitmap
) and I can't figure out how to stuff that into the encoder.Here is the code that I am using to instantiate all the ffmpeg libraries :
AVCodecLibrary cLibrary = AVCodecLibrary.INSTANCE;
cLibrary.avcodec_register_all();
cLibrary.avcodec_init();
AVFormatLibrary fLibrary = AVFormatLibrary.INSTANCE;
fLibrary.av_register_all();
//AVUtilLibrary uLibrary = AVUtilLibrary.INSTANCE;
//uLibrary.av_malloc();
AVCodec pCodec = cLibrary.avcodec_find_encoder(AVCodecLibrary.CODEC_ID_H263);
if (pCodec == null)
{
Logging.Log("Unable to find codec.");
return;
}
Logging.Log("Found codec.");
AVCodecContext codecCtx = cLibrary.avcodec_alloc_context();
codecCtx.bit_rate = 64000;
codecCtx.coded_width = VIDEO_WIDTH;
codecCtx.coded_height = VIDEO_HEIGHT;
codecCtx.time_base = new AVRational(1, VIDEO_FPS);
codecCtx.pix_fmt = AVCodecLibrary.PIX_FMT_YUV420P;
codecCtx.codec_id = AVCodecLibrary.CODEC_ID_H263;
//codecCtx.codec_type = AVMEDIA_TYPE_VIDEO;
if (cLibrary.avcodec_open(codecCtx, pCodec) < 0)
{
Logging.Log("Unable to open codec.");
return;
}
Logging.Log("Codec opened.");This is what I want to be able to execute next :
cLibrary.avcodec_encode_video(codecCtx, pPointer, pFrame.size(), pFrame);
But, as of now, I don't know how to put the Bitmap into the right piece or if I have that setup correctly.
A few notes about the code :
-VIDEO_WIDTH
= 352
-VIDEO_HEIGHT
= 288
-VIDEO_FPS
= 30 ;
- I'm unsure about howpPointer
andpFrame
are handled.