Recherche avancée

Médias (91)

Autres articles (66)

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

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (6935)

  • How to get a online video's duration without downloading the full video ?

    8 février 2017, par David Zhuang

    To get a video’s duration and resolution, I’ve got this function :

    def getvideosize(url, verbose=False):
    try:
       if url.startswith('http:') or url.startswith('https:'):
           ffprobe_command = ['ffprobe', '-icy', '0', '-loglevel', 'repeat+warning' if verbose else 'repeat+error', '-print_format', 'json', '-select_streams', 'v', '-show_streams', '-timeout', '60000000', '-user-agent', BILIGRAB_UA, url]
       else:
           ffprobe_command = ['ffprobe', '-loglevel', 'repeat+warning' if verbose else 'repeat+error', '-print_format', 'json', '-select_streams', 'v', '-show_streams', url]
       logcommand(ffprobe_command)
       ffprobe_process = subprocess.Popen(ffprobe_command, stdout=subprocess.PIPE)
       try:
           ffprobe_output = json.loads(ffprobe_process.communicate()[0].decode('utf-8', 'replace'))
       except KeyboardInterrupt:
           logging.warning('Cancelling getting video size, press Ctrl-C again to terminate.')
           ffprobe_process.terminate()
           return 0, 0
       width, height, widthxheight, duration = 0, 0, 0, 0
       for stream in dict.get(ffprobe_output, 'streams') or []:
           if dict.get(stream, 'duration') > duration:
               duration = dict.get(stream, 'duration')
           if dict.get(stream, 'width')*dict.get(stream, 'height') > widthxheight:
               width, height = dict.get(stream, 'width'), dict.get(stream, 'height')
       if duration == 0:
           duration = 1800
       return [[int(width), int(height)], int(float(duration))+1]
    except Exception as e:
       logorraise(e)
       return [[0, 0], 0]

    But some online videos comes without duration tag. Can we do something to get its duration ?

  • What is download speed i need to watch a video of bitrate 6130 kbps ???Also does my upload speed has anything to do with it ?

    1er juillet 2017, par Tsurgi Blade

    I want to download a HLS using ffmpeg it has many program ID in playlist but i want to download this specific stream with program id 0.

    I am using -map 0:p:0 to download it but im getting bitrate of around 3000 kbps no where near to the in info...ffmpeg snapshot

    how do i get the bitrate mentioned i.e 6130 kbps....
    My download speed is around 32 Mbps= 4 MBps....
    Does it have anything to do with my upload speed ???
    Also after sometime ffmpeg says "not recieving playlist 1" and bitrate drops ???how to avoid it ??

    Thks

  • Revision 75038 : Ajout de deux paramètres au modèle doc_img : -* download ou ...

    28 août 2013, par kent1@… — Log

    Ajout de deux paramètres au modèle doc_img :

    • download ou telecharger string : si == oui affiche un lien de téléchargement du document sous la prévisualisation
    • class_btn_download string : class à ajouter au bouton download
      On évite également l’Ancre de pagination par défaut en mettant son id sur la div parente
      div class="pagination" pour être compatible avec SPIP Bootstrap
      On inclue inc/securiser_action dans mes_fonctions pour avoir la fonction calculer_cle_action disponible