
Advanced search
Medias (1)
-
The Great Big Beautiful Tomorrow
28 October 2011, by
Updated: October 2011
Language: English
Type: Text
Other articles (111)
-
Le profil des utilisateurs
12 April 2011, byChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 November 2010, byAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 May 2011, byDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
On other websites (14577)
-
Use 10 / 50 msec polling interval for high performance mode vs. regular mode.
4 September 2011, by Scott Schillerm script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Use 10 / 50 msec polling interval for high performance mode vs. regular mode.
-
How to use ffmpeg-python library to download a Twitch VOD with a link retrieved using the streamlink library
28 October 2020, by Daniel NorfolkThis is the whole code, for easy reference:


import urllib.request
import streamlink
import ffmpeg
stream_url = streamlink.streams("https://www.twitch.tv/videos/783301562")['best'].url
print(stream_url)

try:
 urllib.request.urlretrieve(stream_url, "vod.m3u8")
except Exception as e:
 print(e)

stream = (
 ffmpeg
 .input('vod.m3u8')
 .output('output.mp4')
 .run
)
print(stream)



I am looking at a way of downloading Twitch VODs. I started with the link to a VOD: https://www.twitch.tv/videos/783301562 . I then used the code:


stream_url = streamlink.streams("https://www.twitch.tv/videos/783301562")['best'].url
print(stream_url)



This gave me a new link which, when I go to this link it downloaded a file with a '.m3u8' extension. This link is: https://dqrpb9wgowsf5.cloudfront.net/ab3654a5992fbfa52ccb_briziana_40240109614_1603789265/chunked/index-dvr.m3u8


From here, I first tried to put the link directly into the following code:


stream = (
 ffmpeg
 .input(stream_url)
 .output('output.mp4')
 .run
)
print(stream)



This didn't output any mp4 file but did give the output:




> 



I then added the following code to download the file, I also change the ffmpeg code to use the downloaded file rather then the url:


try:
 urllib.request.urlretrieve(stream_url, "vod.m3u8")
except Exception as e:
 print(e)

stream = (
 ffmpeg
 .input('vod.m3u8')
 .output('output.mp4')
 .run
)
print(stream)



This gave the same result, no mp4 file with the same output as above. Any help would be greatly appreciated!


-
lavf/dump.c: Print mastering display metadata
1 March 2016, by Neil Birkbeck