Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (50)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La 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 (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (9119)

  • Revision 7af58d4338 : Resolve declaration and implementation. Clean Windows build warnings : warning C

    23 avril 2013, par Johann

    Changed Paths :
     Modify /vp9/common/vp9_findnearmv.c


     Modify /vp9/common/vp9_rtcd_defs.sh



    Resolve declaration and implementation.

    Clean Windows build warnings :
    warning C4028 : formal parameter different from declaration

    This was fixed independently in master and experimental but the fixes
    were in opposite directions. One added const to the declaration and the
    other removed it from the implementation.

    Also update the variable names. This doesn't modify the data so call it
    ref, matching the functions in the vicinity, rather than dst.

    Change-Id : I2ffc6b4a874cb98c26487b909d20a5e099b5582c

  • Opencv VideoCapture always returns false on Heroku

    27 juin 2022, par Dacian Mujdar

    I'm using the following code to open a video stream :

    


    import cv2
video = cv2.VideoCapture()
video.open("some_m3u8_link")
success, image = video.read()


    


    However, even if the code works as intended locally, on Heroku success is always false.

    


    I'm using cedar-14 stack with the following buildpacks :

    


    


    heroku/python

    


    https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git

    


    


    (I tried several buildpack options for ffmpeg)

    


    Running ffmpeg --version on heroku instance will return ffmpeg version 4.0-static https://johnvansickle.com/ffmpeg/

    


    Is there any setting/configuration I missed in order to make it work on deployment ? Thank you !

    


    Later edit : I tried several links for "some_m3u8_link" including from twitch and other streaming services (including traffic streaming li
An example for reproducing :

    


    python -c "import cv2; video=cv2.VideoCapture(); video.open('https://hddn01.skylinewebcams.com/live.m3u8?a=5tm6kfqrhqbpblan9j5d4bmua4'); success, image = video.read(); print(success)"


    


    Returns True on local machine and False on Heroku.

    


    (the link is taken from here)

    


  • Building FFmpeg for use in Swift

    7 juillet 2021, par NCrusher

    With the new XCode/Swift release comes the ability to use binary dependencies. This seems to me to be an ideal time to create an SPM package for FFMpeg.

    


    However, while I've spent the last year learning to code i Swift, I'm actually not all that familiar with how to build libraries, especially those as complex as FFmpeg with all the configurable libraries and third-party dependencies.

    


    There's kewlbear's iOS build scripts, but these are for iOS/tvOS and ideally an FFMpeg SPM package would be usable for MacOS also. It's also not updated for the newest Xcode and Swift versions.

    


    My personal interest is simply in audio and I don't need a lot of bells and whistles, but I figure the ideal situation would be a full package with the entire source and whatever dependencies it needs, and then when it's used as a package dependency, the compiler will just use the parts it needs.

    


    I guess my question is...how would I ideally compile the ffmpeg code for this purpose. I'm trying to follow the directions for compiling yourself, but I'm stuck at the point of compiling gettext because I'm not sure if I should follow the directions (in the gettext source code) for compiling a fat binary for multiple architectures, and when I try to run :

    


          ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
                  CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
                  CPP="gcc -E" CXXCPP="g++ -E"



    


    I get the following error :

    


     checking whether the C compiler works... no configure: error: in
 `/Users/nolainecrusher/Downloads/FFMpeg-source/gettext-0.21/gettext-runtime':
 configure: error: C compiler cannot create executables See
 `config.log' for more details configure: error: ./configure failed for
 gettext-runtime


    


    and config.log doesn't really tell me anything useful :

    


    This is what I see at the end of the log :

    


     mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}'
 prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}'
 sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='
 gettext-runtime libtextstyle gettext-tools' sysconfdir='${prefix}/etc'
 target_alias=''


    


    I feel like maybe I'm going about this the wrong way, but I'm not sure what the right way is.