
Recherche avancée
Autres articles (28)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (4147)
-
ffmpeg change resolution by condition
22 décembre 2013, par Alexey LisikhinI want to change my video resolution with ffmpeg :
-s 852×480
How can I do it only when video width or height greater than 852×480 ?
I want something like this with ffmpeg, not with my programming language :
if video.width > 852:
resize width and proportionally resize height
if video.height > 480:
resize height and proportionally resize width
if video.width > 852 and video.height > 480:
resize height width -
doc/issue_tracker : update resolution names
25 octobre 2013, par Michael Niedermayer -
FFmpeg change resolution
15 mars 2012, par IvaI have changed resolution video using next code :
pFrameOut = avcodec_alloc_frame();
avpicture_fill((AVPicture *)pFrameOut, video_outbuf, PIX_FMT_YUV420P, video_width_out, video_height_out );
avcodec_decode_video2( pCodecCtx, pFrame, &frameFinished, &packet );
if(frameFinished) // Did we get a video frame?
{
static struct SwsContext *img_convert_ctx_in = NULL;
if (img_convert_ctx_in == NULL)
{
img_convert_ctx_in =sws_getContext( pCodecCtx->width, pCodecCtx->height, pCodecCtx->pix_fmt,video_width_out, video_height_out, PIX_FMT_YUV420P, SWS_BICUBIC,NULL, NULL, NULL );
if (img_convert_ctx_in == NULL)
{
LOGI(10,"naInitFile::Could no create Software Scale Context");
return ;
}
}
retval = sws_scale(img_convert_ctx_in, pFrame->data, pFrame->linesize, 0, pCodecCtx->height, pFrameOut->data, pFrameOut->linesize);
SaveVideoFrame();
}//end if(frameFinished)But after that time of play increased twofold. Why it could happen ?