Recherche avancée

Médias (91)

Autres articles (84)

  • 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

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (7973)

  • How to download m3u8 playlist with URL redirection ? (blob URL,HydraX, JW Player version 8.4.2)

    17 novembre 2019, par wltprgm

    The video in https://hydrax.net/ is using HLS, .m3u8 file, direct link is https://hydrax.net/demo/hydrax.html (from the iframe src).

    However, youtube-dl couldn’t read from the .m3u8 file I downloaded from blob in chrome.

    And using ffmpeg method (which usually works) to download from the .m3u8 file failed because the first segment of the file is a URL redirect

    Error when loading first segment 'https://i.donald-gaines.xyz/redirect/7qC173pnWiDwe2TumUTYnzX4WdbPn8XJDzhqDzXPo39PWtX4EaAxLq7FLUW17aI/WhsiWh1RO6oSXzr6QqkTOgljgRrXBgpJtQf6gMBAC5Jq95JkuQlWKpfpgPoo/BSGGloj6MOe7cO4K9HoDj76PRzjSVoiwcJ1Xl34kc3Z5/Bl2WS3KO8WsicRVG8l1EBoi3RN2DnqZx6o13U56YnDBv'
    2b0bdf87-656f-4880-8357-f7fd6329b2f8.m3u8: Invalid data found when processing input

    Somebody asked the same question in reddit some days ago : link

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