
Recherche avancée
Autres articles (81)
-
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 (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
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 (...)
Sur d’autres sites (5285)
-
When using youtube-dl with ffmpeg, what merge extension(mkv/mp4) can get best sound quality
16 mars 2021, par jokermeI use youtube-dl -F to display all video/audio list, and choose best video/audio source myself.


Then I use youtube-dl -f [video code]+[audio code] to download and automatically merge them.


As question title, when I use —merge-output-format, what output extension should be chosen then I can get a file with best sound quality. Is mkv ? Or is most suitable merge extension related to the extension of video/audio source ?


By the way, my using player is PotPlayer.


-
How do I make youtube-dl or streamlink stop after a certain period of time when downloading a live stream
13 janvier 2020, par Programmer4LifeI’m the unofficial historian for a popular 24/7 live feed. I wrote a script to use streamlink (fork of livestreamer) to download the stream constantly. Then i have a script to upload the captured video to YouTube as unlisted for the stream owner. I use a shell script and have the file names be dates and times.
I’ve also used youtube-dl. For both, The maximum captured time appears to be 6 hours because it’ll stop after that amount of time. To address this, I wrote a script to restart the capture when it stops after sleeping for 30 seconds (safety in case of runaway loop) so this isn’t an issue either.
What i am trying to do is to either set my stream capture (whether it’s youtube-dl or streamlink it doesn’t matter) to stop after a shorter interval, say 2 hours. I could also split up the file into 3 parts but i don’t know if that would require re-encoding. If it does, that’s not an option because all of this is done on a VPS with limited resources.
The reason I am trying to split up the files or capture in a shorter time period is because 6 hours is too dang long to easily navigate a YouTube video. On mobile, trying to seek to a specific time is near impossible. Desktop isn’t much easier because you need to be very precise.
-
ffmpeg fluent live streaming to youtube not working
18 octobre 2020, par RickyI am learning how to using ffmpeg fluent and I am having trouble getting it to stream live to Youtube



here is the command I have tried :



let streamYT = (YTrtmpKey) => {
 var proc3 = new ffmpeg({ source: inputURL, timeout: 0 })
 .addOption('-vcodec', 'libx264')
 .addOption('-acodec', 'aac')
 .addOption('-crf', 26)
 .addOption('-aspect', '640:360')
 .withSize('640x360')
 .on('start', function(commandLine) {
 console.log('Query : ' + commandLine);
 })
 .on('error', function(err) {
 console.log('Error: ' + err.message);
 })
 .output('rtmp://a.rtmp.youtube.com/live2/' + YTrtmpKey, function(stdout, stderr) {
 console.log('Convert complete' +stdout);
 });
 }




this doesn't throw any errors but also doesn't do anything