Recherche avancée

Médias (91)

Autres articles (56)

  • Les statuts des instances de mutualisation

    13 mars 2010, par

    Pour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
    Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (7935)

  • Trimming audio using mp4Parser. Or is there any alternative ?

    26 novembre 2020, par user3892282

    I am trying to trim an audio using mp4Parser.
    
Is that possible ?

    



    I tried ffmpeg which is quite time consuming.
    
Our app does require both video and audio processing.

    



    Any suggestions on this ?

    


  • Android - FFmpeg Alternative to get video frames. (Due to licensing)

    3 juillet 2012, par Fresh_Meat

    Scenario :

    I am working on a Android project where in one particular openGL page, I display videos.

    FFmpeg is used to obtain frames from videos(as openGL does not support video as texture) and I am using the frames to obtain a video effect.

    I am using pre-compiled FFmpeg binaries in the project.


    I was not aware of the level of legal implications of using the FFmpeg library.
    My superior brought this to my notice FFmpeg legal reference

    Problem :

    I am no legal expert, so only thing that I understood is that using FFmpeg in a comercial free app (but service needs to be paid for) is going to get me and my company into trouble :(

    In no way the source or any part of the source of the project can be released.(The client is very strict about this.)


    Questions ?

    1) Is there any alternative to FFmpeg (which uses Apache or MIT license) that I can use to obtain video frames ?

    2) In openGL, getting the video frames and looping through - Is it the only way of playing a video ? Is there any alternate method to achieve this functionality ?

  • sandboxed electron app cant use ffmpeg (mac apple store)

    3 janvier 2021, par Martin

    I am trying to build an electron application for the mac apple store that uses ffmpeg.

    


    I can use fluent-ffmpeg locally fine and It continues to work when I build my app for windows/mac/linux, but when I build a sandoxed Mac Apple Store (MAS) .app file and sign the .app file, fluent-ffmpeg does not work anymore, and throws an ffmpeg was killed with signal SIGILL error in console :

    


    enter image description here

    


    Fluent-ffmpeg gets setup with this javscript code :

    


            //begin get ffmpeg info
        const ffmpeg = require('fluent-ffmpeg');
        //Get the paths to the packaged versions of the binaries we want to use
        var ffmpegPath = require('ffmpeg-static-electron').path;
        ffmpegPath = ffmpegPath.replace('app.asar', 'app.asar.unpacked')
        var ffprobePath = require('ffprobe-static-electron').path;
        ffprobePath = ffprobePath.replace('app.asar', 'app.asar.unpacked')
        //tell the ffmpeg package where it can find the needed binaries.
        
        ffmpeg.setFfmpegPath(ffmpegPath)//("./src/ffmpeg/ffmpeg");
        ffmpeg.setFfprobePath(ffprobePath)//("./src/ffmpeg/ffprobe");
        
        //end set ffmpeg info


    


    I have looked into this issue some and found similar questions, like this stackoverflow answer (link here) which says to compile a static ffmpeg executable and use that.

    


    So I learned how to compile ffmpeg from the command line using these commands on my mac terminal :

    


    git clone https://git.ffmpeg.org/ffmpeg.git 

./configure --pkg-config-flags="--static" --libdir=/usr/local/lib --extra-version=ntd_20150128 --disable-shared --enable-static --enable-gpl --enable-pthreads --enable-nonfree  --enable-libass --enable-libfdk-aac  --enable-libmp3lame  --enable-libx264 --enable-filters --enable-runtime-cpudetect

make



    


    After a while, I get an ffmpeg folder, which I move to my electron project's src folder /src/

    


    I place this ffmpeg folder inside my electron /src folder and change my ffmpeg setup code to use my statically built folder like so :

    


            //begin get ffmpeg info
        const ffmpeg = require('fluent-ffmpeg');
        //Get the paths to the packaged versions of the binaries we want to use
        var ffmpegPath = require('ffmpeg-static-electron').path;
        ffmpegPath = ffmpegPath.replace('app.asar', 'app.asar.unpacked')
        var ffprobePath = require('ffprobe-static-electron').path;
        ffprobePath = ffprobePath.replace('app.asar', 'app.asar.unpacked')
        //tell the ffmpeg package where it can find the needed binaries.
        
        ffmpeg.setFfmpegPath(ffmpegPath)//("./src/ffmpeg/ffmpeg");
        ffmpeg.setFfprobePath(ffprobePath)//("./src/ffmpeg/ffprobe");
        
        //end set ffmpeg info


    


    And then build / sign my app with these commands :

    


    $ electron-builder build --mac

$ sudo codesign --deep --force --verbose --sign '##(my dev id)####' dist/mas/Digify-mac.app


    


    But the final built .app file has the same error when trying to launch ffmpeg :

    


    ffmpeg was killed with signal SIGILL


    


    I've been trying to solve this issue myself but with no luck, there have been some recent posts about this on the apple developer forums :
https://developer.apple.com/forums/thread/87849

    


    but most of the other guides online are outdated.

    


    Can anyone please help me get ffmpeg working in an sandboxed electron app for the Mac Apple Store ? Any help would be much appreciated