
Recherche avancée
Autres articles (92)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (5880)
-
Process won't stop
14 mai 2018, par Srdjan M.The process goes in infinite loop or it’s waiting something and I don’t know what. It won’t pass
WaitForExit
methode.FFmpeg :
-ss 0 -i output.mp4 -t 10 -an -y test.mp4
C# Code :
using (Process process = new Process())
{
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.FileName = FileName; // ffmpeg.exe
process.StartInfo.Arguments = Arguments; //-ss 0 -i output.mp4 -t 10 -an -y test.mp4
process.Start();
process.WaitForExit(); // stops here and waits
return process.StandardOutput.ReadToEnd();
}Edit :
Adding
-loglevel quiet
to myffmpeg
query made my problem disappear. Why ? -
Stop/cancel execution of FFmpeg command
5 juin 2018, par user155There is FFmpeg Static (binary) available for Android and we can stop/cancel some FFmpeg execution (command) while it’s doing something https://github.com/WritingMinds/ffmpeg-android-java/issues/33
But I want to use FFmpeg shared libraries and JNI, I found next library https://github.com/IljaKosynkin/FFmpeg-Development-Kit (it works ok)
But there is no option to stop execution of FFmpeg command (or killing the process)
We use Java native
run
method there to start execute some command :and then in C we call FFmpeg’s
main
method :C :
https://github.com/IljaKosynkin/FFmpeg-Development-Kit/blob/master/JNI/app/jni/videokit.c#L41How can I stop/cancel some FFmpeg executing after I called Java run and C main methods ?
-
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.