
Recherche avancée
Médias (3)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (113)
-
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 ;
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (32415)
-
wmavoice : convert DCT-I/DST-I to lavu/tx
4 août 2023, par Lynne -
FFmpegInteropX in Unity Hololens 2
25 juin 2024, par CocoaMilkaI'm building a UDP video stream decoder for the Hololens 2 in Unity 2021. I've compiled FFmpegInteropX for ARM64 UWP, however I'm having issues setting it up within Unity. With the binaries included in
/Plugins/WSA
I get the following error :

ArgumentException: The Assembly WinRT.Runtime is referenced by FFmpegInteropX.DotNet ('Assets/Plugins/WSA/FFmpegInteropX.DotNet/Release/FFmpegInteropX.DotNet.dll'). But the dll is not allowed to be included or could not be found.


I've wrapped all of my WinRT dependent code with the appropriate preprocessor directive as shown here, and I've also set all my plugins to target WSAPlayer and UWP.


#if ENABLE_WINMD_SUPPORT
using FFmpegInteropX;
using WinRT;
using Windows.Foundation;
using Windows.Media.Core;
using Windows.Media.Playback;
using System.Threading.Tasks;
#endif



If I include
WinRT.Runtime.dll
in the plugins folder, the issue spreads asking for more dependencies then the new dependencies (such asMicrosoft.Windows.SDK.NET.dll
) starts conflicting with the MRTK packages due to it also depending on WinRT.

How can I use this library within Unity without constantly running into dependency hell ?


-
Inaccurate sleep using C++11 on Windows
15 février 2017, par Ashe the humanI’ve been using C++11 sleep to give the interval between video frames. This method I’ve been using makes playback elongated on Windows.
#include <iostream>
#include <thread>
#include <sstream>
int main(const int argc, const char **args)
{
std::stringstream sb;
if(argc < 2)
return 1;
int fps = 0;
sb << args[1];
sb >> fps;
if(fps <= 0)
return 1;
int i;
while(true)
{
std::chrono::high_resolution_clock::time_point start, end;
start = std::chrono::high_resolution_clock::now();
for(i=0; i fps));
}
end = std::chrono::high_resolution_clock::now();
auto c = std::chrono::duration_cast(end - start).count();
std::cerr << c << std::endl;
}
return 0;
}
</sstream></thread></iostream>Running that program with 60 gives about 1004 1006 on Linux and 1065 1075 on Windows. So, I’m guessing, after playing a 2-hour long video, more than a minute is passed than just 2 hours.
timeBeginPeriod()
has no effect. Is using timer(like this one ?) is the only way to implement media players on Windows ? What about on Linux ? I think it’s the right way considering the fact that ffplay usesav_usleep()
.So sad that there’s no portable way.