Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (107)

  • Organiser par catégorie

    17 mai 2013, par

    Dans 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, par

    Utilité
    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, par

    Formulaire 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 (10035)

  • How to prevent App sandoxing from blocking a plugin usage after codesigning ?

    27 mai 2020, par Cyhzault

    I'm struggling to codesign my Unity application in order to push it to the Mac App Store. I followed the unity recommended process but some issues appeared after the codesign command. I've been able to fix some of them by adding new keys in my entitlement file but i'm still stuck due to the App Sandboxing mecanism.

    



    In my application I use an external plugin named FFmpeg to manage video encoding. After codesigning with the mandatory app sandboxing entitlement set to true, the plugin stopped working and i have no log explaining why.

    



    I tried multiple solutions detailed in other posts like defining an AppSandbox inheritance or adding more keys to my entiltement file but none of them worked.

    



    I'm new to codesigning and here is my process and entitlements file :

    



      

    1. chmod -R a+xr ./MY_APP.app
    2. 


    3. codesign --force --sign '3rd Party Mac Developer Application: My Company (id)' --entitlements ./FFmpeg.entitlements ./MY_APP.app/Contents/Resources/Data/StreamingAssets/FFmpegOut/macOS/ffmpeg
    4. 


    5. codesign -f --deep -s '3rd Party Mac Developer Application: My Company (id)' --entitlements ./MY_APP.entitlements ./MY_APP.app
    6. 


    7. Verify codesign & Product build - both successful
    8. 


    



    The main entitlement file for the app (MY_APP.entitlements) :

    



    &lt;?xml version="1.0" encoding="UTF-8"?>&#xA;&#xA;<plist version="1.0">&#xA;    <dict>&#xA;            <key>com.apple.security.app-sandbox</key>&#xA;            <true></true>&#xA;            <key>com.apple.security.files.user-selected.read-write</key>&#xA;            <true></true>&#xA;            <key>com.apple.security.network.client</key>&#xA;            <true></true>&#xA;            <key>com.apple.security.files.user-selected.executable</key>&#xA;            <true></true>&#xA;            <key>com.apple.security.cs.allow-unsigned-executable-memory</key>&#xA;            <true></true>&#xA;            <key>com.apple.security.cs.disable-library-validation</key>&#xA;            <true></true>&#xA;            <key>com.apple.security.cs.allow-dyld-environment-variables</key>&#xA;            <true></true>&#xA;            <key>com.apple.security.get-task-allow</key>&#xA;            <true></true>&#xA;    </dict>&#xA;</plist>&#xA;

    &#xA;&#xA;

    Here is the second entitlement file (FFmpeg.entiltlement) for the plugin with inheritance :

    &#xA;&#xA;

    &lt;?xml version="1.0" encoding="UTF-8"?>&#xA;&#xA;<plist version="1.0">&#xA;    <dict>&#xA;            <key>com.apple.security.app-sandbox</key>&#xA;            <true></true>&#xA;            <key>com.apple.security.inherit</key>&#xA;            <true></true>&#xA;    </dict>&#xA;</plist>&#xA;

    &#xA;&#xA;

    The plugin i used can be found on github, i'll cross post my issue there as well.

    &#xA;&#xA;

    I will gladfully take any idea or solution, &#xA;Thanks for your help,

    &#xA;&#xA;

    Regards,&#xA;Alexis

    &#xA;

  • how to add text to the video in android ?

    4 octobre 2024, par Sajad Norouzi

    In my app I record a video and I wanna overlay the url of my company on the right bottom of that video. I record video with MediaRecorder and there is no problem with the recording, but for adding text to the video I haven't been successful. I searched and found some library like FFmpeg and JavaCV which let user overlay a text on the video but I don't know if there is any way for using them in Android. after that found OnPreviewFrame which returns each frame of the camerapreivew. I want to get all frames after user touch record button and draw text using canvas to each frame and then save all those frame together until recording video stops, and videos duration are fix and 15 seconds. Is it a good solution ? if it is, how should I implement OnPreviewFrame function ? I know how to draw canvas but I don't know how to convert data[] to the bitmap.

    &#xA;

  • how to add text to the video in android ?

    18 septembre 2015, par Sajad Norouzi

    In my app I record a video and I wanna overlay the url of my company on the right bottom of that video. I record video with MediaRecorder and there is no problem wiht this part but for adding text to the video, I wasn’t successful. I searched and found some library like ffmpeg and javaCV which let user overlay a text on the video but I found using them in the android hard. after that found OnPreviewFrame which returns each frame of the camerapreivew. I want to get all frames after user touch record button and draw text using canvas to each frame and then save all those frame together until recording video stops, and videos duration are fix and 15 seconds. Is it a good solution ? if it is, how should I implement OnPreviewFrame function ? I know how to draw canvas but I don’t know how to convert data[] to the bitmap.