
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (79)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (9837)
-
ffmpeg : memory not freed on multi-threaded decoding
31 mai 2020, par toby_eI am developing a video player based on the ffmpeg libraries and have run into a rather strange memory increase or failure to decrease memory when unloading a video file. My code is based on various examples of demuxing, decoding and scaling video and audio frames - but with the excecption that i have put each of these steps into seperate threads to avoid waiting for time-consuming calls. Everything works perfectly, but Visual Studio shows that Process Memory does not decrease when i call the various avclose and avfree calls. My Windows task manager confirms these memory increases that continue into the gigabyes !



My player is roughly made up by two clases with the following calls to the ffmpeg libraries :



—



READER :



Open (on main thread) :
avformat_open_input(), avformat_find_stream_info()



Read (on seperate thread) :
av_read_frame()



Close (on main thrad) :
avformat_close_input()



DECODER :



Open (on main thread) :
avcodec_find_decoder(), avcodec_alloc_context3(), avcodec_parameters_to_context(), avcodec_open2()



Decode (on seperate thread) :
avcodec_send_packet(), avcodec_receive_frame()



Close (on main thread) :
avcodec_free_context()



—



Is threre any issues with opening/closing on the main thread and reading/deconding on other threads ?


-
how to split video to multi scenes with ffmpeg
30 mai 2020, par Abdelmeleki need to make for loop to extract scenes from imported video each scene i will give it a name like vid1.mp4 vid2.mp4 ...



# Resort the scenes according to the time they occurred
 self.sorted_scenes = sorted(self.sorted_scenes, key=lambda scene_key: scene_key.frame_number)
 strt = datetime.time(0,0,0,0)
 sname = "vid"
 ff = "C:/Users/user/Desktop/segmentation/1.mp4"
 print(f"These are the top {n} scene timestamps:")
 for scene in self.sorted_scenes:
 i = 0
 print(f"- {scene.time_stamp}")
 endt = scene.time_stamp
 command = f"ffmpeg -i ff --ss strt -to endt -copy snamei.mp4"
 subprocess.run(command)
 i = i+1
 stime = {scene.time_stamp}




so i get this error == 
Unrecognized option '-ss'.
Error splitting the argument list : Option not found


-
libavformat/hlsenc : Allow usage of 'periodic-rekey' with multi-variant streams
30 avril 2020, par Yaroslav Pogrebnyaklibavformat/hlsenc : Allow usage of 'periodic-rekey' with multi-variant streams
This patch adds possibility to use 'periodic-rekey' option with
multi-variant streams to hlsenc muxer. All streams variants
use parameters from the same key_info_file.There are 2 sets of encryption options that kind of overlaps and add
complexity, so I tried to do the thing without changing too much code.There is a little duplication of the key_file, key_uri, iv_string, etc
in the VariantStream since we copy it from hls to each variant stream,
but generally all the code remains the same to minimise appearing
of unexpected bugs. Refactoring could be done as a separate patch then as needed.Signed-off-by : Yaroslav Pogrebnyak <yyyaroslav@gmail.com>