
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (100)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (10848)
-
Download button fix
17 septembre 2012, par Scott Schillerm demo/index-rollup.css m demo/index.css Download button fix
-
download mp4 from video player [on hold]
16 mai 2014, par Mandeep SinghI have a link from where I am want to download mp4 video.
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.
-
Why i'm failing to download mp4 file using youtube-dl in python
9 décembre 2019, par JoaoPython 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 += iCan 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