
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (90)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
Publier sur MédiaSpip
13 juin 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
Sur d’autres sites (15334)
-
How the seek frame while playing video ?
16 mars 2012, par shermanI try do this :
void Java_ffvideo_company_com_NativeCalls_seekFrame(
JNIEnv *env, jobject this, jint time) {
if (avformat_seek_file(pFormatCtx, videoStream, 0,time,time, AVSEEK_FLAG_ANY) < 0)
__android_log_print(ANDROID_LOG_DEBUG, "ERROR SEEK->>>",
"av_seek_frame failed.");
avcodec_flush_buffers(pCodecCtx);
}But the application crashes. Without
avcodec_flush_buffers
video seeking not correctly. How I can resolve this isssue ? -
Need to get audio video structure for automation ffmpeg or ffprobe
10 mai 2012, par Sapan DoshiI need to get video audio stream information in separate form.
I have tried ffprobe and mediainfo, but they give full information which needs to be parsed.
I think there could be option like, where I do not need to parse the full information and get required data.
$ffprobe -XXX
audio channels 8$ffprobe -YYY
video_resolution 512x288Can anybody help with this.
-
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.