
Recherche avancée
Autres articles (19)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP Init et Diogène : types de publications de MediaSPIP
11 novembre 2010, parÀ l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)
Sur d’autres sites (6046)
-
How does FFMPEG copy work ?
24 novembre 2017, par Tyler BrooksHow can I implement the equivalent of this command :
ffmpeg -i test.h264 -vcodec copy -hls_time 5 -hls_list_size 0 foo.m3u8
My understanding is that you do something like this (pseudo code for clarity) :
avformat_open_input(&ctx_in, "test.h264", NULL, NULL);
avformat_find_stream_info(ctx_in, NULL);
avformat_alloc_output_context2(&ctx_out, NULL, "hls", "foo.m3u8");
strm_out = avformat_new_stream(ctx_out, NULL);
strm_out->time_base = (AVRational){1000000, FRAMERATE};
strm_out->codecpar->codec_id = AV_CODEC_ID_H264;
strm_out->codecpar->codec_type = AVMEDIA_TYPE_VIDEO;
strm_out->codecpar->width = width;
strm_out->codecpar->height = height;
strm_out->codecpar->bit_rate = bitrate;
strm_out->codecpar->codec_tag = 0;
avcodec_parameters_copy(ctx_out->streams[0]->codecpar,
ctx_in->streams[0]->codecpar);
avformat_write_header(ctx_out, NULL);
while(1) {
AVPacket pkt;
ret = av_read_frame(ctx_in, &pkt);
if (ret < 0)
break;
pkt.pos = -1;
pkt.stream_index = 0;
pkt.dts = AV_NOPTS_VALUE;
pkt.pts = AV_NOPTS_VALUE;
pkt.pts = SOME_DURATION;
av_write_frame(ctx_out, &pkt);
av_packet_unref(&pkt);
}
avformat_close_input(&ctx_in);
av_write_trailer(ctx_out);
avformat_free_context(ctx_out);I crash on the
avformat_find_stream_info()
call. I think this is the case because an H264 elemental stream is not really a container (which avformat wants).What is the proper way to implement the FFMPEG ’copy’ command of an elemental stream ?
-
Convert video to OGV, on fedora platform
20 novembre 2016, par Hammad HaleemI need to develop a rest API for publishing and converting videos.
A major hurdle that I am facing, I need a free converter to convert video in any format to
OGV. Even though ffmpeg is the best candidate, but I cannot use it because it is not
in official Fedora repository, but in rpmfusion. I am developing a product that would be deployed on Fedora infra, they only deploy applications via packages into epel6.Can you guys suggest something from the official fedora repository ?
-
Anomalie #4457 (Fermé) : Affichage incorrect des notes (dans un cas un peu alambiqué !)
16 mars 2020, par YannX SpipBonsoir,
Me rédigeant un article d’analyse des tables WordPress pour conversion en SPIP, je constate un affichage incorrect des bulles résumées de notes ; testez le #TEXTE suivant
Les catégories [1] (avec hiérarchie =>rubriques)ou étiquettes [2] (sans hiérarchie=>mots-clés) :
affiche au survol des renvois de note :
un lié à = ’category’.....
alors que la note est bien affichée :[1] un term lié à taxonomy=’category’ est une catégorie.
SPIP génère incorrectement un
<span class="CodeRay"><span class="tag">span> <span class="attribute-name">class</span>=<span class="string"><span class="delimiter">"</span><span class="content">spip_note_ref</span><span class="delimiter">"</span></span><span class="tag">></span><span class="entity">&nbsp;</span>[<span class="tag">span> <span class="attribute-name">href</span>=<span class="string"><span class="delimiter">'</span><span class="content">#nb1</span><span class="delimiter">'</span></span> <span class="attribute-name">class</span>=<span class="string"><span class="delimiter">'</span><span class="content">spip_note</span><span class="delimiter">'</span></span> <span class="attribute-name">rel</span>=<span class="string"><span class="delimiter">'</span><span class="content">appendix</span><span class="delimiter">'</span></span> <span class="attribute-name">title</span>=<span class="string"><span class="delimiter">'</span><span class="content">un lié à =’category’ est une catégorie.</span><span class="delimiter">'</span></span> <span class="attribute-name">id</span>=<span class="string"><span class="delimiter">'</span><span class="content">nh1</span><span class="delimiter">'</span></span><span class="tag">></span>1<span class="tag"></span>]<span class="tag"></span></span></span></span>
, ce qui m’a permis de remonter jusqu’à plugins-dist/textwheel ...... (et je m’arrête ;-)
Un filtre de texte qui manque ?PS j’’avais déjà constaté des pedzouilles du même genre dans SPN depuis longtemps...