
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (104)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ) (...)
Sur d’autres sites (6937)
-
Convert a RTMP stream to RTSP
22 août 2016, par tankyxI am capturing a game using OBS-studio and streaming it in RTMP through my nginx server. My goal is to convert that RTMP flux to RTSP. How can I achieve that ? I have read about crtmpserver but It seems I can’t configure it.
-
Best way to go about video playback for WebAssembly, Linux, Windows, and Android
13 janvier 2021, par Michael MachaI'm currently working on a game as a passtime during quarantine. It currently builds, via a Makefile, for WASM, Linux, and Windows ; and is eventually planned to be ported to Android through NDK. The API used is (primarily) SDL, with SDL Image and SDL Mixer, and all graphics go through OpenGL.


As of the moment, all graphics, sound, and control is running perfectly ; but I would like to add video cut scenes and I'm uncertain of how to do this with WASM. I recognize that maybe half of the system resources are available in a browser, and am willing to drop fidelity in the web version to compensate. Currently, all code is in C and GLSL ; but if I need to I can add C++, or a little extra JavaScript.


My compilers, for each platform, are gcc, emcc, and mingw32. They're all called through Maketools. As of the moment, it looks like I can just use FFMPEG for gcc & mingw ; but what's best for emcc, which does not have an FFMPEG port available ? Will I need to call something else, or use some specific browser function ? What is the simplest way to go about this, and does anyone have a basic tutorial for in-browser video with WebAssembly ?


For a little further data, I'm debuting my project on Itch.io. For a launched-in-browser game, they require a zip file with an HTML file called index.html, and any support files, within it. (Total file size is effectively limited to 1 GB.) I'm expecting a minimum of 640x480 resolution, but would prefer higher. I'm currently digging through online examples but haven't yet found anything sufficiently basic. (This might change as I keep digging, and I'll update the question if I find anything.)


-
Writing linear float range to openEXR turns out non linear
3 avril 2022, par ChryfiI am writing the linearized depth buffer of a game to openEXR using FFmpeg. Unfortunately, FFmpeg does not adhere to the openEXR file specification fully (like allowing unsigned integer for one channel) so I am writing one float channel to openEXR, which is put into the green channel with this command
-f rawvideo -pix_fmt grayf32be -s %WIDTH%x%HEIGHT% -r %FPS% -i - -vf %DEFVF% -preset ultrafast -tune zerolatency -qp 6 -compression zip1 -pix_fmt gbrpf32le %NAME%_depth_%d.exr
.

The float range is from 0F to 1F and it is linear. I can confirm that the calculation and linearization is correct by testing 16 bit integer (per pixel component) PNG in Blender compositor. The 16 bit integer data is written like this
short s = (short) (linearzieDepth(depth) * (Math.pow(2,16) - 1))
whereas for float the linearized value is directly written to OpenEXR without multiplying with a value.

However, when viewing the openEXR file it doesn't have the same "gradient" as the 16 bit png... when viewing them side by side, it appears as if the values near 0 are not linear, and they are not as dark as they should be like in the 16 bit png.
(And yes, I set the image node to linear), and comparing it with 3d tracking data from the game I cant reproduce the depth and cant mask things using the depth buffer where as with the png I can.


How is it possible for a linear float range to turn out so different to a linear integer range in an image ?