Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (79)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

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

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (8433)

  • 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 ?

  • Revision 37670 : Juste un lien vers la doc

    25 avril 2010, par kent1@… — Log

    Juste un lien vers la doc

  • Revision 32595 : avec le numero de version des plugins

    1er novembre 2009, par fil@… — Log

    avec le numero de version des plugins