
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (96)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (10848)
-
fftools/ffmpeg_dec : restructure audio/video decoding loop
17 mai 2023, par Anton Khirnovfftools/ffmpeg_dec : restructure audio/video decoding loop
It currently emulates the long-removed
avcodec_decode_audio4/avcodec_decode_video2 APIs, which obfuscates the
actual decoding flow. Restructure the decoding calls so that they
naturally follow the new avcodec_send_packet()/avcodec_receive_frame()
design.This is not only significantly easier to read, but also shorter.
-
avformat/matroskaenc : Warn that WebM doesn't support Attachments
2 novembre 2019, par Andreas Rheinhardtavformat/matroskaenc : Warn that WebM doesn't support Attachments
As WebM doesn't support Attachments, the Matroska muxer drops them when
in WebM mode. This happened silently until this commit which adds a
warning for this.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
python opencv + ffmpeg makes cpu more busy
15 juillet 2022, par shao wenzhiI use cv2 to read frames of local video, then use ffmpeg to push the stream to remote rtmp server.


The command is :


command = ['ffmpeg',
 '-y', '-an',
 '-f', 'rawvideo',
 # '-vcodec', 'rawvideo',
 '-pix_fmt', 'bgr24',
 '-s', sizeStr,
 '-r', '25',
 '-i', '-',
 # '-c:v', 'libx264',
 # '-pix_fmt', 'yuv420p',
 '-preset', 'ultrafast',
 '-f', 'flv',
 rtmp]



I found that compared with pushing the video directly through ffmpeg, the CPU occupation of "cv2 + ffmpeg" is much more higher. which is : ffmpeg : 5% CPU, cv2 + ffmpeg : 18% CPU


One possible cause is that cv2 turns the frame into BGR, and the ffmpeg turns it into RBG back again, because I found when I removed the option '-pix_fmt', 'bgr24', the CPU occupation drops into 5%, but the video pulled from server turns out to be strange, like this :




Is there any method to reduce the cost of converting BGR into RGB ??