
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (71)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 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 (4811)
-
How to create a youtube like preview of video ?
11 juin 2012, par UdhayHow to create a youtube like video preview ? That is in youtube, it is showing the preview of the video when we mouseover the progress bar ? How to do that kind of preview using ffmpeg or mencoder or is there any other way to do that ? Have a look at this image. Please go here for a live preview.
http://www.youtube.com/watch?v=yto4_QFoLdA&feature=watch-now-button&wide=1
-
Block YouTube from source page when trying to download a video with youtube-dl
18 mars 2018, par user3108268E.g. example.com/1 has a video hosted, you run
youtube-dl example.com/1
and it all works fine, the video gets downloaded.E.g. example.com/2 also has a video, but it also has a YouTube trailer. If you run
youtube-dl example.com/2
the hosted video gets completely ignored and only YouTube trailer gets downloaded.From what I see in the log is that the wanted local video playlist gets downloaded first and then ignored by getting overwritten by embedded YouTube playlist download.
You can’t even get the url with
--get-url
or get format with--list-formats
. It always prints the googlevideos URL for the YouTube trailer and lists only the YouTube trailer formats.I did manage to pull out the local video URL via
--dump-pages
and decoding the base64 encoded source. But the problem is that the URL contains a unique token each time the page example.com/2 is called, so passing the unique one-time video URL like e.g. example.com/2/video.php ?token=asdf to youtube-dl won’t download the video.So I figured somehow I need to bypass the YouTube trailer source and playlist when calling
youtube-dl example.com/2
and trying to download local video and not the YouTube trailer. -
I'm having an issue with my discord bot playing audio from a youtube url
19 avril 2022, par Alex Graecasync def hog():
channel = bot.get_channel(964971002289356893)
url = 'https://www.youtube.com/watch?v=GyRmkAfpCOM'
await asyncio.sleep(1)
voice_channel = bot.get_channel(int(964971002289356893))
vc = await voice_channel.connect()
#vc.play(discord.FFmpegPCMAudio('C:/Users/alexa/Downloads/hogrider.mp3'))
vc.play(discord.FFmpegPCMAudio(source='https://www.youtube.com/watch?v=GyRmkAfpCOM', executable='ffmpeg.exe'))
while vc.is_playing():
 await asyncio.sleep(5)
await vc.disconnect()



It works fine with the audio file from my laptop, but I want to play it from a youtube link.
It gives me an error :
https://www.youtube.com/watch?v=GyRmkAfpCOM : Invalid data found when processing input


Thank you in advance