
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 (89)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (9840)
-
UWP C# and Windows Runtime Component C++ Permission Denied error when opening file
29 décembre 2020, par Surya SolankiI have developed a UWP app in C# which contains a Windows Runtime Component C++ project. the app allows the user to choose an mp4 file and passes this file to the c++ code, which then utilizes ffmpeg libraries to retrieve the presentation time stamps of a video file and output them to a file.


the issue i'm facing is that the c++ code is not able to open the mp4 file when using the
avformat_open_input
function :

int PTSExtraction::parse_file(Platform::String^ filename)
{
 int ret = 0;
 AVPacket pkt = { 0 };


 std::wstring fileNameW(filename->Begin());
 std::string fileNameA(fileNameW.begin(), fileNameW.end());
 const wchar_t* w_chars = fileNameW.c_str();
 src_filename = fileNameA.c_str(); 

 if (avformat_open_input(&fmt_ctx, src_filename, NULL, NULL) < 0) {
 fprintf(stderr, "Could not open source file %s\n", src_filename);
 return 1; 
 }
 // rest of code 
}



the error received by
avformat_open_input
isPermission Denied
. I cannot even open a random text file in this function by doing :

ofstream output; 
output.open("output.txt");



I realize there are file system permissions that are blocking the C++ component of my uwp app from opening files. here are the things i have tried so far :


- 

- i have enabled broadFileSystemAccess in the Package.appxmanifest (https://blogs.windows.com/windowsdeveloper/2018/05/18/console-uwp-applications-and-file-system-access/) - in the Capabilities section of the Package.appxmanifest file I've allowed access to Location, Pictures Library, and Videos Library.
- I've checked the File System Privacy Settings on my computer and enabled my app to access the File System.
- I've tried moving the mp4 file to various locations (Documents, Pictures Library, Videos Library) to see if the C++ component has access to these locations.
- I've tried the solution from this post : Qt WinRT App cannot access file permission denied.










None of these allow the C++ component to open any files. i would really appreciate if anyone has a solution for this problem.


-
How to use v4l2 scrcpy virtual webcam ?
2 mars 2024, par Emma bundyI created a virtual camera v4l2
/dev/video21
and linked it to my notebook's default webcam/dev/video1
and it started working so far ok, then I mirrored the webcam I created in OBS-studio.

and now I want to connect in scrcpy the virtual camera that I created that is active
/dev/video21
, but I don't know how to do that, what commands to give to use the v4l2/dev/video21
camera from the computer on my cell phone.

which is already mirrored on the computer screen via wireless


I need help, who can help me I thank you immensely ! This is for my college studies


I tried to do this several times but I couldn't, I use Fedora 37 gnome, I used ffmpeg to link the webcam
/dev/video1
+/dev/video21
, and I mirrored it in OBS-studio, but I don't know which command to give to send the/dev/video21
video stream to my cell phone, use the virtual camera created on the cell phone.

-
Anomalie #2056 (Fermé) : SPIP vierge et page d’accueil de l’espace privé
10 mai 2011, par cedric -doublonne #2050