
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 (63)
-
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 ;
-
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 -
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 (...)
Sur d’autres sites (8303)
-
when I filter a frame with "fps=fps=30" my code starts consuming a lot of ram until it crashes, but if I use "scale=250:250" it works fine
23 août 2021, par Gabriel AyalaWhen I apply the filter "scale=250:250" my code works, it outputs a rescalated video
but when I apply the filter "fps=fps=30000/1000", the code asks for ram until it crashes, I think the problem is in the applyFilter function
PasteBin of complete code https://pastebin.com/tcgwFmTz this part starts at line 257


int applyFilter(filterCtx* filter, AVFrame* inFrame, AVFrame* outFrame)
{
 int ret;
 /* push the decoded frame into the filtergraph */
 if (av_buffersrc_add_frame_flags(filter->buffersrc_ctx, inFrame, AV_BUFFERSRC_FLAG_KEEP_REF) < 0)
 {
 return 0;
 }

 /* pull filtered frames from the filtergraph */
 for (EVER)
 {
 ret = av_buffersink_get_frame(filter->buffersink_ctx, outFrame);
 if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
 {
 return 3;
 }
 if (ret < 0)
 {
 return -1;
 }
 return 0;
 }
 return 0;
}



char filterDesc = "fps=fps=30000/1000"; // THIS DOESN'T WORK
 //char filterDesc = "scale=1200:1200"; THIS WORKS
 filter = initFilter(filterDesc, params);
 
 for (EVER)
 {
 getFrame(decoder, frame, packet);
 if(decoder->container->streams[packet->stream_index]->codecpar->codec_type == AVMEDIA_TYPE_VIDEO)
 {
 if (filter != NULL)
 {
 response = applyFilter(filter, frame, filterFrame);
 if (response < 0)
 {
 printf("Error while applying a filter");
 return -1;
 }
 tmp = frame;
 av_frame_unref(frame);
 frame = filterFrame;
 filterFrame = tmp;
 if(response == 3)
 {
 continue;
 }
 }
 
 }
 encode(decoder, encoder, frame, packet->stream_index);

 }



-
Fix a typo : "the the" -> "the" (#2226)
16 octobre 2018, par zhiliangxuFix a typo : "the the" -> "the" (#2226)
-
Replace incorrect use of "multiply" with "multiple"
27 août 2014, par James Darnley