
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 (95)
-
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. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (2693)
-
avutil : add thread executor
29 août 2023, par Nuo Miavutil : add thread executor
The executor design pattern was introduced by java
<https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Executor.html> ;
it also adapted by python
<https://docs.python.org/3/library/concurrent.futures.html> ;
Compared to handcrafted thread pool management, it greatly simplifies the thread code.Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>
-
Hardware Accelerated H264 Decode using DirectX11 in Unity Plugin for UWP
8 janvier 2019, par rohit nI’ve built an Unity plugin for my UWP app which converts raw h264 packets to RGB data and renders it to a texture. I’ve used FFMPEG to do this and it works fine.
int framefinished = avcodec_send_packet(m_pCodecCtx, &packet);
framefinished = avcodec_receive_frame(m_pCodecCtx, m_pFrame);
// YUV to RGB conversion and render to texture after thisNow, I’m trying to shift to hardware based decoding using DirectX11 DXVA2.0.
Using this : https://docs.microsoft.com/en-us/windows/desktop/medfound/supporting-direct3d-11-video-decoding-in-media-foundation
I was able to create a decoder(ID3D11VideoDecoder) but I don’t know how to supply it the raw H264 packets and get the YUV or NV12 data as output.
(Or if its possible to render the output directly to the texture since I can get the ID3D11Texture2D pointer)so my question is, How do you send the raw h264 packets to this decoder and get the output from it ?
Also, this is for real time operation so I’m trying to achieve minimal latency.
Thanks in advance !
-
Evolution #4548 : Améliorer _request et set_request pour prendre en compte les champs qui sont des...
9 septembre 2020Je ne suis pas favorable à prendre en compte
_request('tableau[index]')
; ce genre d’écriture n’a pas beaucoup de sens, et ça va être chiant ; à la rigueur _request(’tableau/index’) comme on fait à différents endroits. Dans un PHP récent (7+),_request('tableau')['index'] ?? ''
fait très bien la chose...Plus globalement _request est juste un mapping vers
$_REQUEST
et je ne suis pas sûr que le modifier soit une bonne chose.Par contre, intégrer un conteneur HTTP Requests me paraîttrait plus pertinent. Synfony HTTP Fondation ($request = Request::createFromGlobals()), mais il ne semble pas gérer les tableaux comme tu le souhaites. Mais par contre Laravel Request qui l’étend https://laravel.com/docs/7.x/requests a quelque chose de proche
$name = $request->input(’products.0.name’) ; $names = $request->input(’products.*.name’) ;