
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (83)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 (...) -
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 (...)
Sur d’autres sites (7763)
-
jPlayer - notworking on IE
8 juillet 2014, par Deepak SuvarnaI’m developing an application of video playlist. I could make it run for Chrome, FireFox, Safari(Though starts late), Android and iOS, but could not make it work on IE. I have put my chunk of code on jsFiddle for you guys.
<code>http://jsfiddle.net/8g5F8/21/
One thing which make me worried is, if you click on another video in same playlist, they works on IE but not mine. I am clueless about it. Am I converting wrong way or something ? What is correct way of conversion etc
Using : PHP, FFMPEG, JPlayer
-
FFmpeg libraries : Exactly constant segment duration for HLS
25 août 2015, par user2677612We are using FFmpeg libraries git-ee94362 libavformat v55.2.100.
Our purpose is to mux two streams (video and audio) into M3U8 playlist using HLS.
In addition, we want the duration of every TS segment file be exactly 3.0 sec (frame rate is 25 fps).To reach it, we are trying to set several options and properties, namely :
segment_time
keyint_min
scenechange_threshold
gop_size
force_key_frames.
And our code looks as below :
AVCodecContext *codec_ctx = NULL;
AVFormatContext *ofmt_ctx = NULL;
int ret = 0, gopSize = (int)(3.0 * 25); // 3 sec * 25 fps
// ofmt_ctx and codec_ctx initialization and filling are OK, but:
codec_ctx->time_base.num = 1;
codec_ctx->time_base.den = 25 // fps
// It seems, that the following three lines have no effect without explisit setting of the "hls_time" property
codec_ctx->keyint_min = gopSize; // in FFMpeg application, the corresponding option is "-keyint_min 3"
codec_ctx->scenechange_threshold = 0; // in FFMpeg application, the corresponding option is "-sc_threshold 0"
codec_ctx->gop_size = gopSize; // in FFMpeg application, the corresponding option is "-g 3"
ret = av_opt_set_double(ofmt_ctx, "hls_time", 3.0, AV_OPT_SEARCH_CHILDREN);
// Any of the following lines causes "Option not found" error.
ret = av_opt_set(codec_ctx->priv_data, "profile", "main", AV_OPT_SEARCH_CHILDREN);
ret = av_opt_set(codec_ctx->priv_data, "preset", "ultrafast", AV_OPT_SEARCH_CHILDREN);
ret = av_opt_get(ofmt_ctx, "segment_time", AV_OPT_SEARCH_CHILDREN, &str);
ret = av_opt_set((ofmt_ctx, "segment_time", "3.0", AV_OPT_SEARCH_CHILDREN);Anyway, the TS files durations are different, ( 2-3 sec), and not EXACTLY 3.0 sec.
Our question : What is the best way to solve the problem ?Andrey Mochenov.
-
FFmpeg : HLS options cannot be set/get/find
4 septembre 2013, par user2677612We are using
FFmpeg
librariesgit-ee94362 libavformat v55.2.100
.
We are trying to write a simpleHLS
code example based onmuxing.c
standard one.
Let be two input streams, video and audio (they can be synthetic, doesn't matter).
Our purpose is tomux
them intoM3U8
playlist usingHLS
.
Suppose, duration of every TS segment file be 3 sec, and the desirable maximum number of entries inM3U8
output file be 100.From the
FFmpeg
application sources, one can see that the Apple HTTP Live Streaming segmenter implemented inhlsenc.c
file.
And the relevant options there are, as well :"hls_list_size"
,"hls_time"
, etc.
The problem is that we have not succeeded to set/get/find these options in a conventional way, as shown in the following code :// Here is a part of main() program
int64_t i1 = 0;
void *target_obj;
AVFormatContext *ofmt_ctx = NULL;
AVOutputFormat *ofmt = NULL;
avformat_alloc_output_context2(&ofmt_ctx, NULL, NULL, "Example_Out.m3u8");
ofmt = ofmt_ctx->oformat;
// The relevant options ("hls_list_size", "hls_time") are located under ofmt->priv_class->option.
// But AVClass *priv_class is not the first member of the AVOutputFormat.
// So, due to the documentation, av_opt_find...(), av_opt_get...() and av_opt_set...()
// cannot be used for options within AVOutputFormat.
// In practice, any of the following three lines causes exception.
const AVOption *o = av_opt_find2(ofmt, "hls_list_size", NULL, 0, AV_OPT_SEARCH_CHILDREN, &target_obj);
av_opt_get_int(ofmt, "hls_list_size", AV_OPT_SEARCH_CHILDREN, &i1);
av_opt_set_int(ofmt, "hls_list_size", 10, AV_OPT_SEARCH_CHILDREN);
Our question : If there is a way to overcome the problem, i.e. to set/get/find options for
AVOutputFormat
, like forAVCodecContext
(for example) ?Thank you,
Andrey Mochenov.