Recherche avancée

Médias (91)

Autres articles (17)

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

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (5045)

  • Convert a Video that it can show with preview in telegram via bot api

    7 avril 2016, par siavashg

    I Have a video and i want to send it with telegram bot api by pytelegrambotapi library so i write this code for send video by bot :

    import telebot

    bot = telebot.TeleBot("TOKEN")

    @bot.message_handler(commands=['start'])
    def send_welcome(message):
       video = open('1.mp4', 'rb')
       bot.send_video(message.chat.id,video, duration=)

    bot.polling(none_stop=True)

    but I send a video and it has been sent successfully but telegram show black screen for my video like this picture
    Telegram With Black Scrreen preview of video.
    I think this is about the encoding . I found this site for encoding and it said the videos in telegram have specific format.

    Conditions to trim a video

    • Audio codec = mp4a
    • Video codec = supported by the device
    • Any side of the video more than 640px
    • Or if a side is less than 640px but video codec is h264

    Conditions to compress a video

    • Any side of the video over 640px
    • Audio codec = mp4a
    • A video encoder different than :
    • OMX.google.h264.encoder
    • OMX.ST.VFM.H264Enc
    • OMX.Exynos.avc.enc
    • OMX.MARVELL.VIDEO.HW.CODA7542ENCODER
    • OMX.MARVELL.VIDEO.H264ENCODER

    How can I send Video with blur image preview of that in telegram with telegram bot api ?

  • avformat/udp : redesign threaded udp tx code

    25 mai 2016, par Michael Niedermayer
    avformat/udp : redesign threaded udp tx code
    

    This fixes partially completed send()
    Avoids holding the mutex during send()
    fixes race conditions in error handling
    removes copied non thread specific blocking code
    Fixes deadlocks on closure
    Fixes data loss on closure

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/udp.c
  • configure : Drop check_lib()/require() in favor of check_lib2()/require2()

    5 septembre 2016, par Diego Biurrun
    configure : Drop check_lib()/require() in favor of check_lib2()/require2()
    

    The latter can do everything the former can do, but also handle conditions
    the former cannot like multiple header #includes and checking for headers
    and functions in a single test program, which is necessary for certain
    library tests.

    • [DBH] configure