Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • 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

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (14227)

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

    26 novembre 2018, par M B

    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.

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

  • unwanted bitrate reduction in MOD to mp4 conversion with ffmpeg

    18 juillet 2014, par Brian

    My Panasonic camcorder records video to a .MOD file.
    On Windows... (my linux box currently has network issues :)

    ffmpeg -i file.MOD

    yields

    bitrate: 9579 kb/s
    video: mpeg2video yuv 420p 704x480 [SAR 10:11 DAR 4:3]
    29:97 fps, 29.97 tbr, 90k tbn, 59.94 tbc

    I tried

    ffmpeg -loglevel verbose -i file.MOD file.mp4
    ffmpeg -loglevel verbose -i file.MOD -qscale 0 file.mp4
    ffmpeg -loglevel verbose -i file.MOD -qscale 1 file.mp4

    Each of these yields the same bitrate of 2604 and a video codec of h264 (High).
    My original file was 22,786 KB and the new files are each 6,217 KB.

    My goal/purpose is for lossless conversion of the .MOD files for video editing, probably using blender.

    So my big question is "How do I do lossless video conversion of .MOD files using ffmpeg to a format that blender and other common video editing tools can work with ?"

    But for educational purposes (and posterity) I am also curious why the bitrate is being reduced by the conversions above and why there is no difference when using the -qscale argument.