Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (36)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (4842)

  • Screen capture in CircleCI VMs in macOS [closed]

    16 août 2024, par Anton Shkurenko

    I'm trying to record test videos using either ffmpeg or appium mac2 driver (as far as I know, it uses ffmpeg behind the scenes anyway)

    


    deviceId == 0 is screen capture in CircleCI VM.

    


    In python code is simple :

    


    appium_driver.start_recording_screen(deviceId=0)

    


    Or using raw ffmpeg :

    


    ffmpeg -f avfoundation -i "0" -t 10 output.mp4

    


    But I can't give permissions somehow. Once I start video recording, there is a popup :

    


    permissions popup

    


    And an error :

    


    [ffmpeg] objc[23088]: class 'NSKVONotifying_AVCaptureScreenInput' not linked into application

    


    What I've tried :

    


    basically main are ffmpeg and .machine-agent, others are just out of desperation 🙂

    


          - macos/add-permission:
         bundle-id: /Applications/Utilities/Terminal.app
         permission-type: kTCCServiceScreenCapture
     - macos/add-permission:
         bundle-id: /private/tmp/.machine-agent
         permission-type: kTCCServiceScreenCapture
     - macos/add-permission:
         bundle-id: /usr/local/bin/ffmpeg
         permission-type: kTCCServiceScreenCapture
     - macos/add-permission:
         bundle-id: /opt/homebrew/bin/appium
         permission-type: kTCCServiceScreenCapture


    


    P.S.
Screen capturing via applescript and quicktime doesn't work for me (I can't click "Record" button). What I've also tried : wrap ffmpeg into apple Automator or Apple Script to make a fake app and give permissions to it, but it didn't work neither.

    


  • Anomalie #2135 (Fermé) : Sauvegarde sqlite

    19 juin 2011, par Johan Pustoch

    Site sur ma machine (serveur local PHP Version 5.3.3-7+squeeze1), SPIP 3.0.0-dev [18096] Au lancement d’une sauvegarde : « Impossible de faire une sauvegarde SQLite sur votre hébergement » En ajoutant le paquet php5-sqlite, ça fonctionne. Ce n’est pas un serveur de prod il est vrai... Sur nos 2 (...)

  • find the timestamp of a sound sample of an mp3 with linux or python

    23 juin 2020, par cardamom

    I am slowly working on a project which where it would be very useful if the computer could find where in an mp3 file a certain sample occurs. I would restrict this problem to meaning a fairly exact snippet of the audio, not just for example the chorus in a song on a different recording by the same band where it would become more some kind of machine learning problem. Am thinking if it has no noise added and comes from the same file, it should somehow be possible to locate the time at which it occurs without machine learning, just like grep can find the lines in a textfile where a word occurs.

    


    In case you don't have an mp3 lying around, can set up the problem with some music available on the net which is in the public domain, so nobody complains :

    


    curl https://web.archive.org/web/20041019004300/http://www.navyband.navy.mil/anthems/ANTHEMS/United%20Kingdom.mp3 --output godsavethequeen.mp3


    


    It's a minute long :

    


    exiftool godsavethequeen.mp3 | grep Duration
Duration                        : 0:01:03 (approx)


    


    Now cut out a bit between 30 and 33 seconds (the bit which goes la la la la..) :

    


    ffmpeg -ss 30 -to 33 -i godsavethequeen.mp3 gstq_sample.mp3


    


    both files in the folder :

    


    $ ls -la
-rw-r--r-- 1 cardamom cardamom   48736 Jun 23 00:08 gstq_sample.mp3
-rw-r--r-- 1 cardamom cardamom 1007055 Jun 22 23:57 godsavethequeen.mp3


    


    This is what am after :

    


    $ findsoundsample gstq_sample.mp3 godsavethequeen.mp3
start 30 end 33


    


    Am happy if it is a bash script or a python solution, even using some kind of python library. Sometimes if you use the wrong tool, the solution might work but look horrible, so whichever tool is more suitable. This is a one minute mp3, have not thought yet about performance just about getting it done at all, but would like some scalability, eg find ten seconds somewhere in half an hour.