
Recherche avancée
Autres articles (53)
-
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 (...) -
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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (7948)
-
What is the correct way to pass cookies by ffmpeg ?
9 juin 2016, par Don DonlleiI’m trying to use ffmpeg to download a video from a list M3U8. But I’m having trouble passing cookie, I need to spend two cookie values which would be the right way to do this ? with -headers or -cookie
I tried this
ffmpeg -cookies "cookiesent1=value1; path=/4947858-manifest.ism/; domain=example.com;"'\r\n'
"cookiesent2=value2; path=/; domain=example.com;" -i "https://example.com/list.m3u8" -c copy -bsf:a aac_adtstoasc video.tsBut not properly work the only thing is that returns
Trailing options were found on the commandline.
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Use -h to get full help or, even better, run 'man ffmpeg' -
lavc : remove uneffective attribute_deprecated on enum
27 décembre 2017, par wm4 -
Java - handing file deletion
2 janvier 2016, par QQMusicSo I am using the
youtube-dl
command line program within Java with simple command line execute function and coupling it withffmpeg
to convert to mp3. Now the thing I am having trouble with it the fact that after I get the.mp4
file fromyoutube-dl
, when I convert it into a.mp3
, it will create a completely separate file.So the way it is now :
1. Get `.mp4`
2. Get `.mp3`
3. delete `.mp4'The issue I am facing now is that if the user was to stop the program while it was between
step 1
andstep 2
, then they would be left with the.mp4
file which is not wanted. So is there a way to delete certain files once the user exits the process, whether it being from safely ending the program (this one should be easy), ending the process, or closing the computer ?