Recherche avancée

Médias (91)

Autres articles (79)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

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

  • 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

Sur d’autres sites (11477)

  • How to limit youtube-dl on video length when downloading a youtube stream

    3 août 2016, par user3682869

    Im trying to write a small script that records a live stream from youtube.
    when using youtube-dl.download function it just keeps on downloading until the stream ends, but i want to stop downloading after 20min or so.
    the problem is when i try killing it after a while the output is corrupted (im using mp4 format), and i tried fixing it with ffmpeg but a "moov atom not found" error occurs.

    How can i make youtube-dl (or any other tool) record a fixed length of a live stream ?

    Here’s a portion of the code :

    class recordingThread (threading.Thread):
    def __init__(self, threadID, output_location, name, yt_stream, start_time):
       threading.Thread.__init__(self)

       self.threadID = threadID
       self.output = os.path.abspath(output_location)
       self.name = name
       self.start_time = start_time

       self.ydl_opts = {'quiet': True,
                        'format': 'mp4',
                        'outtmpl': name+ '%(ext)s',
                        'sleep_interval': 2
                        }
       self.yt_stream = yt_stream.strip('\'"')

    def run(self):
       print "Starting %s Thread Recorder - %s" % (self.name, self.start_time)

       with youtube_dl.YoutubeDL(self.ydl_opts) as ydl:
           self.download_prc = ydl.download([self.yt_stream])

    Thanks.

  • Anomalie #2054 : Sauvegarde de la base en sqlite au lieu de mysql

    10 mai 2011, par cedric -

    Il est théoriquement possible de réimporter un dump xml à l’aide du plugin http://zone.spip.org/trac/spip-zone/browser/_plugins_/dump_xml qui correspond à l’ancienne fonction. Néanmoins, il peut être plus sur de reimporter dans un SPIP 2.1 puis de procéder à un upgrade, ainsi qu’il a toujours été (...)

  • Révision 20081 : Report de r20023 : Avec mysql, les index de type unique sur une chaine portent u...

    11 janvier 2013, par cedric -

    Il faut supprimer cette info de longeur quand on créé l’index sous SQLite