
Recherche avancée
Autres articles (41)
-
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (4259)
-
How with ffmpeg one char with different color ?
1er juin 2017, par FatasHow to ffmpeg one char with different color ?
I have draw text with ffmpeg, but I can’t find how I can change only one character’s color. All text I can change, but I need one char with a different color.
I have this part of code :
ffmpeg -f lavfi \
-i color=c=white:s=1280x720 \
-vf "drawtext=text='aaaaaaaaBaaaaa':\
fontcolor=black:\
fontsize=24:\"
-pix_fmt yuv420p -t 30 -y out.mp4 ");But I can’t figure out how need change letter
B
to red -
mjpeg video from ip camera decoding use ffmpeg color display error
17 avril 2015, par EvanI use ffmpeg to decode camera mjpeg,and the picture color is missed
init
====
av_register_all();
//
MJPEG_Decoder_Handle *pHandle = (MJPEG_Decoder_Handle *)malloc(sizeof(MJPEG_Decoder_Handle));
// Init
pHandle->codec = avcodec_find_decoder(AV_CODEC_ID_MJPEG);
pHandle->codecContext = avcodec_alloc_context3(pHandle->codec);
pHandle->picture = av_frame_alloc();
pHandle->codecContext->width = 640;
pHandle->codecContext->height = 480;
pHandle->codecContext->codec_id = CODEC_ID_MJPEG;
pHandle->codecContext->pix_fmt = AV_PIX_FMT_YUV410P;
// open this context
if (avcodec_open2(pHandle->codecContext, pHandle->codec, NULL)) {
printf("Could not open codec\n");
return -1;
}
pHandle->frame_count = 0;
printf("VideoDecoder init Successful!\n");
decode
===
MJPEG_Decoder_Handle *pHandle = (MJPEG_Decoder_Handle *)dwHandle;
pHandle->avpkt.size = nInSize;
pHandle->avpkt.data = pDataIn;
pHandle->comsumedSize = avcodec_decode_video2(pHandle->codecContext, pHandle->picture, &pHandle->got_picture, &(pHandle->avpkt));
avpicture_layout((AVPicture *)pHandle->picture, pHandle->codecContext->pix_fmt, pHandle->codecContext->width, pHandle->codecContext->height, pDataOut, nOutSize);
conver and display
==
if (decode(handle, pFrameBuffer, nBufferLen, buffOut, outSize, &nWidth, &nHeight) == 0) {
ConvertYUV2RGB(buffOut, rgbBuffer, nWidth, nHeight);
flip(rgbBuffer, nWidth, nHeight);
[display decodeOneFrame:rgbBuffer];
}
struct
===
typedef struct
{
struct AVCodec *codec;
struct AVCodecContext *codecContext;
int frame_count;
struct AVFrame *picture;
AVPacket avpkt;
int iWidth;
int iHeight;
int inSize;
int comsumedSize;
int got_picture;
uint8_t inbuf[INBUF_SIZE + FF_INPUT_BUFFER_PADDING_SIZE];
uint8_t *inbuf_ptr;
char buf[1024];
} MJPEG_Decoder_Handle; -
ffmpeg color, size and amplitude
9 décembre 2017, par user266005Trying to get ffmpeg to create an audio waveform while being able to control the image size, color, and amplitude. I have tried this (and many variations) but it just returns unmatched " .
ffmpeg -i input -filter_complex "aformat=channel_layouts=mono,compand=gain=-3,showwavespic=s=1000x350,color=s=1000x350:color=A072FD” -frames:v 1 output.png
Thoughts ?