Recherche avancée

Médias (91)

Autres articles (95)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (4701)

  • Why i'm failing to download mp4 file using youtube-dl in python

    9 décembre 2019, par Joao

    Python noob :(

    I created a script that downloads any youtube video.

    Then the script inserts a subtitle into the video and that works fine.

    However, I have a problem, I can’t make the script always download the video in mp4. Most of the time it is downloaded in mkv and i can’t understand why that happens and how can I change the code in order to always download the video in the format I prefer.

    The function in charge to download the video is this one :

    def video_download():
       #global resolution
       try:
           print(linkvideo)
           ydl_opts = {
               'format': 'bestvideo[ext=mp4]+bestaudio/best',
               'outtmpl': video_id+"."+'%(ext)s'
               #'bestvideo': 'mp4',
               #'bestaudio': 'm4a',
               #'ext': 'mp4'
           }
           with youtube_dl.YoutubeDL(ydl_opts) as ydl:
               ydl.download([linkvideo])
               result = ydl.extract_info("{}".format(linkvideo))
               title = result.get("id", None)
               videoext = result.get("ext", None)
               resolution = result.get("resolution", None)
       except:
           print("falhou")
           pass
       global ficheiro
       ficheiro2 = str(title)+"."+"mkv"
       ficheiro =""
       for i in ficheiro2:
           if (i == '"' or i =="'" or i =="/"):
               pass
           else:
               ficheiro += i

    Can any one help me ? Thanks in advance.

    I got it, thanks to everyone who tried to help me.

    The problem is this : when we try to download any video with the opts i’ve selected, youtube-dl will download the best video/audio combination in the same file, so I’ve added the following in my code :

    ytdl = YoutubeDL()
       result = ytdl.extract_info(linkvideo, download=False)
       formats = result['formats']
       formato = ""
       formatoaudio =  ""
       extaudio = ""
       for format in formats:
           if format['format_note'] == "1080p" and format['ext'] == "mp4":
               print(format)
               formato = (format['format_id'])
               break
           else:
               print("no 1080p mp4?!")

       if formato == "":
           for format in formats:
               if format['format_note'] == "720p" and format['ext'] == "mp4":
                   print(format)
                   formato = (format['format_id'])
                   break
               else:
                   print("no 720p mp4")

    Then I did the same to the sound file, checking if there is any m4a or webm sound file. To finish I’m joining both files using FFmpeg.

    Maybe this is not the best solution, but I’m still learning. :)

    Thank you all

  • How can I batch/sequentially download m3u8 files using ffmpeg ?

    20 février 2020, par Yesterdec

    I’m currently downloading m38u playlists individually using the following on Mac :

    ffmpeg -i <"URL with m3u8"> -codec copy output.ts

    If I want to do multiple files, I currently do it from separate Terminal windows.

    What I would like to do is, in a single instance, tell ffmpeg to e.g. take URLs from a .txt file and download them in sequence, with a sequential output name for each (fine for them to all go in same output folder).

    Sample code from m3u8 file :

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-ALLOW-CACHE:YES
    #EXT-X-TARGETDURATION:9
    #EXTINF:8.333333,
    segment00000.ts
    #EXTINF:8.333333,
    segment00001.ts
    #EXTINF:8.333333,
    segment00002.ts
    #EXTINF:5.000000,
    segment00003.ts
    #EXTINF:8.333333,
    segment00004.ts
    #EXTINF:8.333333,
    segment00005.ts

    I certainly have homebrew installed - I’m a novice, so unsure whether that means I’m actively ’using’ it to manage packages

    The file with the list of of m3u8 addresses is currently located at /Users/username/Downloads/m38u hold list.txt and looks like this :

    https://streaming.imvbox.com/media/2825/1280x800/1280x800.m3u8
    https://streaming.imvbox.com/media/2298/1280x800/1280x800.m3u8
    https://streaming.imvbox.com/media/2822/1280x800/1280x800.m3u8
    https://streaming.imvbox.com/media/2821/1280x800/1280x800.m3u8
    https://streaming.imvbox.com/media/2820/1280x800/1280x800.m3u8
    https://streaming.imvbox.com/media/2088/1280x800/1280x800.m3u8

    But so far this file is simply a place to store the links - I haven’t used it anything other than to copy the links from.

  • Youtube-Dl Download M3u8 Full Video Hotmovies.com [closed]

    18 avril 2020, par Camy

    i have a problem downloading this video and i can't get over it.
Youtube-dl manages to download only part of the video and then stops.
Could you tell me how to download everything pleaseeeeee !

    



    Thanks a lot :)

    



    https://ss-free.hotmovies.com/streams3/072/72605/72605.ism/72605.m3u8?ssauth=1054224 !1-72605-20200417093351-cf24dbbeede2e57805c981515aa703ea

    



    enter image description here
enter image description here