Recherche avancée

Médias (91)

Autres articles (78)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (5731)

  • Download from sites that require a login using ffmpeg

    13 septembre 2021, par FastOFF

    I want to download HLS videos from a site that needs to be logged in using FFmpeg, meaning I have to enter my username and password to access the videos, and I do not know how to enter the login information through FFmpeg...
Can anyone help me ?

    


  • 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

  • download mp4 from video player [on hold]

    16 mai 2014, par Mandeep Singh

    I have a link from where I am want to download mp4 video.

    http://r17---sn-qxa7en7e.googlevideo.com/videoplayback?id=4cbeb85dfd0d0edc&itag=18&source=picasa&ip=124.253.70.56&ipbits=0&expire=1402217350&sparams=expire,id,ip,ipbits,itag,source&signature=662FE5F1F3EFBDCE5D0C07172B0CBC24B5049F30.3A8B1B46B8CCD9A5A80BDDCF3715772AB4B43893&key=cms1&ms=nxu&mt=1400174553&mv=m&mws=yes&ir=1&rr=12

    The IDM allow me to download mp4 from this link, but when I am trying from webbrowser it opening the video player.

    I want to download by using php, any suggestion, if anyone has working code for this I will pay the development fees.