
Recherche avancée
Autres articles (111)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...)
Sur d’autres sites (6891)
-
Concatenate a video and audio stream via urls and download them directly to user's computer
10 juillet 2019, par CeylonDomains SolutionsI’m looking for a solution for the following matter.
I need to concatenate a video and an audio stream via URL and then download them directly to user’s computer without creating a merged file on server. Is there any possible way to do this via ffmpeg or any other tool ?
Merging 2 files on server and then downloading this file to user’s computer is possible, but I’m expecting something more than that.
Please note my application is a PHP application.
Thanks in advance.
-
ffmpeg programatically set the export date to download date using python
16 janvier 2021, par Vladimir Tarasovi'm currently using the code below to export a youtube-dl converted video (with ffmpeg and youtube-dl for python)
how could i programatically set the good options for ffmpeg to add the download date (at least today's date) to the .mp3 file ?


ydl_opts = {
 'format': 'bestaudio/best',
 'outtmpl': path + urlToTitleYT(link) + '.mp3',
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '320',
 }],
}

with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 ydl.download([link])




-
Youtube-DL file download live progress
7 février 2015, par roshkattuI am using the YoutubeDL library in a project. My environment is based on WINDOWS with XAMPP as the webserver boundle (apache,php,mysql,etc). I am using the youtube-dl.exe file to download the video and then use ffmpeg.exe to convert the video to an MP3 audio file.
At the moment, I have an issue related to programming : I want to show live a progressbar while the video is downloaded with the youtube-dl.exe file. This exe creates a log file, that is updated while the video is downloaded. So my approach on this was to create a PHP file, that opens, parses the log file and get’s the progress percent, and sends it as a json encoded value to an AJAX function that is called every 100MS. Indeed, if the video is too large, there will be a very high ammount of data while polling the PHP file to get the progress state. And sometimes, the browser either crashes or freezes because of this ajax polling.
My question is : is there any better approach to do this with PHP/AJAX ? Rathar than poll the file every 100MS, or 50MS ?