
Recherche avancée
Autres articles (78)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
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 (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (12748)
-
Download HLS ( HTTP ) Stream video using python
19 mai 2016, par LeDerpI need to download a streaming video(from a URL) using python the command line argument would be :
ffmpeg -i URL stream.mp4
I know I can use the subprocess command
subprocess.call('ffmpeg -i '+ URL +' stream.mp4', shell=True)
Is there any alternative like a API that I can use instead of using subprocess command
-
ffmpeg hangs during download on network lags
30 juin 2016, par VladimirLeninffmpeg hangs infinitely when cutting off wifi while downloading m3u8 (which goes through http actually). Same happens occasionaly when trying to download multiple files from script probably due to network lags. Tried
-tiemout
option but with no avail.ffmpeg -y -i 'http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=5005890079001&videoId=5005830251001' -c copy -f mp4 -bsf:a aac_adtstoasc 'file:/home/serj/.mirror0/OUT_DATA2/www.watoday.com.au/title-page/Sydney v Western Bulldogs: Scoring woes could cost Swans, Dogs a flag/00001-FootyFix - Can the Doggies upset the Swans again.mp4' -timeout 1000000
-
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 ?