
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (97)
-
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 (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9778)
-
NodeJS fluent-ffmpeg + ytdl-core
22 décembre 2019, par hydr8I’m trying to write a very simple youtube converter/downloader in NodeJS.
So I wrote a srv.js File with Express to handle the whole Website stuff (Requests etc). In this file I also handle a post request on the url+’/download’ which receives the youtube url via a HTML form from the the main page. Within this POST handling I included a function from my api.js.
In the api.js in defined some functions I want to use during the whole process. One of them is responsible for converting a downloaded audio file from youtube. Almost everything is working fine except one thing.
As soon as the user submits the url and is directed to the mentioned ’/download’-site, he will see that the download is in progress and that he will be referred to the download asap. So far so good. The file will be downloaded and converted without any problems.
But as soon as the file is downloaded and converted the the user will not be redirected to a following site.
I tried already a lot of stuff with the ffmpeg events (end, saveToFile, save etc) but I can’t establish a working solution, that as soon as the file is completeley downloaded the user will be rteferred to the next website.
Maybe someone can give me a hint or some suggestion how to proceed.
srv.js :
........
// This is the Handler which calls the function from the api.js file
// After the execution of this process I need to load a new page
app.post('/download', function(req, res){
res.sendFile(path.join(__dirname + '/views/download.html'));
api.downloadConverter(req.body.url)
});
........api.js :
........
downloadConverter: function(url){
console.log("Downloading File from: " + url);
ffmpeg()
.input(ytdl(url), {
... options ....
})
.... some processing ....
.on('end', () => {
console.log("Download Done!");
})
.save('./files/file.mp4')
}
......I tried a lot with the events of the function in api.js. To return vaulues to the srv.js etc but nothings seems to work.
Edit
Of course I did already a lot of research on SO and other NodeJS related sites. But without any help. And I can’t provide tests of possible solutions of the last two days because I didn’t save them and I’m too lazy to retry every step I tried and provide codes with non-working solutions.
-
Get audio (M4A or MP3) file links directly from YouTube
10 mars 2018, par AlexI am developing a PHP script that obtains video download links from YouTube. The ones I am grabbing are MP4 (720p) and MP4 (360p) (no-DASH format).
My script is similar to this PHP class : https://github.com/Athlon1600/youtube-downloader
It allows me to download any YouTube video that I want, no matter if it has copyright or not. It handles everything with signature ciphering and deciphering included.
However, apart from videos, I would like to obtain audio download links from YouTube videos as well, either in MP3 or M4A.
(M4A files are provided by YouTube, but they are in DASH format, which means, it’s not a complete file, but a collection of files that need to be merged together)
Is there a way to obtain MP3 audio download links directly from YouTube ?
I would like to avoid using FFMPEG library as it requires a lot of resources.
In the case that using a library like that is the only option, what’s the most optimal way to convert MP4 files to MP3 files ?
Is there any more efficient alternative than FFMPEG ?
PLEASE avoid comments regarding YouTube TOS
-
Anomalie #4725 : SyntaxError : JSon.parse : unexpected character at line 1 column 1 of the JSON data
12 avril 2021, par Franck Dyop :)
J’ai réussi à reproduire et donc fait deux copie d’écran avec ce qui s’affiche dans "réseaux" de l’inspecteur :)
J’ai fait du montage, car c’était trop grandA savoir, si je clique sur le "En savoir plus", cela m’ouvre : https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Errors/Unexpected_type